Add iscanonical.
[glibc.git] / ChangeLog
blob44e8876bcb73065fbac1951a3823b0c47170d5d0
1 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
3         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
4         <bits/iscanonical.h>.
5         * bits/iscanonical.h: New file.
6         * math/s_iscanonicall.c: Likewise.
7         * math/Versions (__iscanonicall): New libm symbol at version
8         GLIBC_2.25.
9         * math/libm-test.inc (iscanonical_test_data): New array.
10         (iscanonical_test): New function.
11         (main): Call iscanonical_test.
12         * math/Makefile (headers): Add bits/iscanonical.h.
13         (type-ldouble-routines): Add s_iscanonicall.
14         * manual/arith.texi (Floating Point Classes): Document
15         iscanonical.
16         * manual/libm-err-tab.pl: Update comment on interfaces without
17         ulps tabulated.
18         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
19         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
20         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
21         Likewise.
22         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
23         test-iscanonical-ldbl-128ibm.
24         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
25         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
26         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
27         * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
28         * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
29         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
30         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
31         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
32         Likewise.
33         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
34         Likewise.
35         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
36         Likewise.
37         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
38         Likewise.
39         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
40         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
42 2016-09-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
44         * string/bits/string3.h: Remove C++ style comments.
46 2016-09-29  Siddhesh Poyarekar  <siddhesh@sourceware.org>
48         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
49         instead of ternary condition.
50         (do_sincos_2): Likewise.
51         (__sin): Likewise.
52         (__cos): Likewise.
53         (slow): Likewise.
54         (sloww): Likewise.
55         (sloww1): Likewise.
56         (bsloww): Likewise.
57         (bsloww1): Likewise.
59         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
60         instead of ternary condition.
61         (do_sin_slow): Likewise.
62         (do_sincos_1): Likewise.
63         (do_sincos_2): Likewise.
64         (__cos): Likewise.
65         (sloww): Likewise.
66         (sloww1): Likewise.
67         (sloww2): Likewise.
68         (bsloww): Likewise.
69         (bsloww1): Likewise.
70         (bsloww2): Likewise.
72         * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
73         check from here...
74         (slow2): ... and here...
75         (__sin): ... to here.
77 2016-09-28  Joseph Myers  <joseph@codesourcery.com>
79         * math/math.h
80         [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
81         Cast argument to its own type.
82         * math/test-iszero-excess-precision.c: New file.
83         * math/Makefile (tests): Add test-iszero-excess-precision.
84         (CFLAGS-test-iszero-excess-precision.c): New variable.
86 2016-09-28  Rasmus Villemoes <rv@rasmusvillemoes.dk>
88         * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
89         field, add err field.
90         (__spawni_child): Report error through err member instead of pipe.
91         (__spawnix): Likewise.
93 2016-09-28  Zack Weinberg  <zackw@panix.com>
95         * scripts/check-installed-headers.sh: Generalize treatment of
96         sys/elf.h to all target architectures.
98         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
99         deleted typedef ucontext_t.
101 2016-09-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
103         * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
104         (__INTERNAL_SYSCALL1): Likewise.
105         (__INTERNAL_SYSCALL2): Likewise.
106         (__INTERNAL_SYSCALL3): Likewise.
107         (__INTERNAL_SYSCALL4): Likewise.
108         (__INTERNAL_SYSCALL5): Likewise.
109         (__INTERNAL_SYSCALL6): Likewise.
110         (__INTERNAL_SYSCALL7): Likewise.
111         (__INTERNAL_SYSCALL_NARGS_X): Likewise.
112         (__INTERNAL_SYSCALL_NARGS): Likewise.
113         (__INTERNAL_SYSCALL_DISP): Likewise.
114         (INTERNAL_SYSCALL_CALL): Likewise.
115         (__SYSCALL0): Rename to __INLINE_SYSCALL0.
116         (__SYSCALL1): Rename to __INLINE_SYSCALL1.
117         (__SYSCALL2): Rename to __INLINE_SYSCALL2.
118         (__SYSCALL3): Rename to __INLINE_SYSCALL3.
119         (__SYSCALL4): Rename to __INLINE_SYSCALL4.
120         (__SYSCALL5): Rename to __INLINE_SYSCALL5.
121         (__SYSCALL6): Rename to __INLINE_SYSCALL6.
122         (__SYSCALL7): Rename to __INLINE_SYSCALL7.
123         (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
124         (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
125         (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
126         (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
127         (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
129 2016-09-23  Joseph Myers  <joseph@codesourcery.com>
131         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
132         macro.
133         * math/libm-test.inc (iszero_test_data): New array.
134         (iszero_test): New function.
135         (main): Call iszero_test.
136         * manual/arith.texi (Floating Point Classes): Document iszero.
137         * manual/libm-err-tab.pl: Update comment on interfaces without
138         ulps tabulated.
140 2016-09-23  Zack Weinberg  <zackw@panix.com>
142         * scripts/check-installed-headers.sh: New script.
143         * Rules: In each directory that defines header files to be installed,
144         run check-installed-headers.sh on them as a special test.
145         * Makefile: Likewise for the headers installed at top level.
147         * include/aliases.h, include/alloca.h, include/argz.h
148         * include/arpa/nameser.h, include/arpa/nameser_compat.h
149         * include/elf.h, include/envz.h, include/err.h
150         * include/execinfo.h, include/fpu_control.h, include/getopt.h
151         * include/gshadow.h, include/ifaddrs.h, include/libintl.h
152         * include/link.h, include/malloc.h, include/mcheck.h
153         * include/mntent.h, include/netinet/ether.h
154         * include/nss.h, include/obstack.h, include/printf.h
155         * include/pty.h, include/resolv.h, include/rpc/auth.h
156         * include/rpc/auth_des.h, include/rpc/auth_unix.h
157         * include/rpc/clnt.h, include/rpc/des_crypt.h
158         * include/rpc/key_prot.h, include/rpc/netdb.h
159         * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
160         * include/rpc/pmap_rmt.h, include/rpc/rpc.h
161         * include/rpc/rpc_msg.h, include/rpc/svc.h
162         * include/rpc/svc_auth.h, include/rpc/xdr.h
163         * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
164         * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
165         * include/rpcsvc/ypupd.h, include/shadow.h
166         * include/stdio_ext.h, include/sys/epoll.h
167         * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
168         * include/sys/prctl.h, include/sys/profil.h
169         * include/sys/statfs.h, include/sys/sysctl.h
170         * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
171         * sysdeps/arm/nacl/include/bits/setjmp.h
172         * sysdeps/mips/include/sys/asm.h
173         * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
174         * sysdeps/unix/sysv/linux/include/sys/timex.h
175         * sysdeps/x86/fpu/include/bits/fenv.h:
176         Add #ifndef _ISOMAC guard around internal declarations.
177         Add multiple-inclusion guard if not already present.
179 2016-09-23  Zack Weinberg  <zackw@panix.com>
181         * sysdeps/generic/sys/ucontext.h
182         * sysdeps/arm/sys/ucontext.h
183         * sysdeps/i386/sys/ucontext.h
184         * sysdeps/m68k/sys/ucontext.h
185         * sysdeps/mips/sys/ucontext.h
186         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
187         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
188         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
189         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
190         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
191         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
192         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
193         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
194         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
195         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
196         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
197         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
198         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
199         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
200         Include both bits/sigcontext.h and bits/sigstack.h.
201         Fix grammar error in comment, if present.
203         * bits/sigstack.h
204         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
205         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
206         * sysdeps/unix/sysv/linux/bits/sigstack.h
207         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
208         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
209         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
210         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
211         * bits/sigcontext.h
212         * sysdeps/mach/hurd/i386/bits/sigcontext.h
213         * sysdeps/unix/sysv/linux/bits/sigcontext.h
214         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
215         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
216         Add multiple inclusion guard.  Permit inclusion by sys/ucontext.h
217         as well as signal.h, if this was not already allowed.  Request
218         definition of size_t if necessary.  Minimize semantically-null
219         differences across files.
221 2016-09-23  Zack Weinberg  <zackw@panix.com>
223         * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
224         Remove all logic conditional on __need macros.  Move all the
225         conditionally defined types to their own headers...
226         * time/bits/types/clock_t.h: Define clock_t here.
227         * time/bits/types/clockid_t.h: Define clockid_t here.
228         * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
229         * time/bits/types/struct_timespec.h: Define struct timespec here.
230         * time/bits/types/struct_timeval.h: Define struct timeval here.
231         * time/bits/types/struct_tm.h: Define struct tm here.
232         * time/bits/types/time_t.h: Define time_t here.
233         * time/bits/types/timer_t.h: Define timer_t here.
234         * time/Makefile: Install the new headers.
236         * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
237         * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
238         * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
239         * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
240         * sysdeps/unix/sysv/linux/alpha/bits/resource.h
241         * sysdeps/unix/sysv/linux/alpha/sys/acct.h
242         * sysdeps/unix/sysv/linux/bits/resource.h
243         * sysdeps/unix/sysv/linux/bits/timex.h
244         * sysdeps/unix/sysv/linux/mips/bits/resource.h
245         * sysdeps/unix/sysv/linux/net/ppp_defs.h
246         * sysdeps/unix/sysv/linux/sparc/bits/resource.h
247         * sysdeps/unix/sysv/linux/sys/acct.h
248         * sysdeps/unix/sysv/linux/sys/timerfd.h
249         * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
250         * time/sys/time.h, time/sys/timeb.h
251         Use the new bits/types headers.
253         * include/time.h: Remove __need logic.
254         * include/bits/time.h
255         * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
256         * include/bits/types/time_t.h, include/bits/types/timer_t.h
257         * include/bits/types/struct_itimerspec.h
258         * include/bits/types/struct_timespec.h
259         * include/bits/types/struct_timeval.h
260         * include/bits/types/struct_tm.h:
261         New wrapper headers.
263 2016-09-23  Zack Weinberg  <zackw@panix.com>
265         * sysdeps/mach/hurd/net/if_ppp.h
266         * sysdeps/unix/sysv/linux/net/if_ppp.h:
267         Only define struct ifpppstatsreq and struct ifpppcstatsreq
268         if __USE_MISC is defined, to ensure struct ifreq is declared.
270         * inet/netinet/ether.h: Condition all function prototypes
271         on __USE_MISC, to ensure struct ether_addr is declared.
273         * socket/bits/types/struct_osockaddr.h: New header.
274         * include/bits/types/struct_osockaddr.h: New wrapper.
275         * socket/Makefile: Install the new header.
276         * socket/sys/socket.h, inet/protocols/talkd.h:
277         Refer to bits/types/struct_osockaddr.h for the definition of
278         struct osockaddr.
280 2016-09-23  Zack Weinberg  <zackw@panix.com>
282         * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
283         * inet/protocols/routed.h, inet/protocols/talkd.h
284         * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
285         * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
286         * sysdeps/generic/netinet/if_ether.h
287         * sysdeps/generic/netinet/in_systm.h
288         * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
289         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
290         * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
291         * sysdeps/mach/hurd/net/if_arp.h
292         * sysdeps/mach/hurd/net/if_ppp.h
293         * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
294         * sysdeps/unix/sysv/linux/bits/in.h
295         * sysdeps/unix/sysv/linux/net/ethernet.h
296         * sysdeps/unix/sysv/linux/net/if_arp.h
297         * sysdeps/unix/sysv/linux/net/if_ppp.h
298         * sysdeps/unix/sysv/linux/net/if_shaper.h
299         * sysdeps/unix/sysv/linux/net/route.h
300         * sysdeps/unix/sysv/linux/netinet/if_ether.h
301         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
302         * sysdeps/unix/sysv/linux/netinet/if_tr.h
303         * sysdeps/unix/sysv/linux/netipx/ipx.h
304         * sysdeps/unix/sysv/linux/sys/acct.h
305         * include/arpa/nameser.h, include/resolv.h:
306         Change all uses of u_char to unsigned char,
307         u_short and ushort to unsigned short, u_int and uint to unsigned int,
308         u_long and ulong to unsigned long, u_int8_t to uint8_t,
309         u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
310         and u_int64_t and u_quad_t to uint64_t.
312         * mach/sys/reboot.h: Remove two casts of integer literals
313         to the types they already have.
315         * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
316         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
317         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
318         from referring to 'unsigned char' to 'uint8_t' for consistency with
319         the macro definition below.
321         * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
322         * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
323         * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
324         * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
325         * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
326         * sysdeps/unix/sysv/linux/sys/acct.h
327         * include/arpa/nameser.h, include/resolv.h:
328         Fix indentation disrupted by mechanical edits.
330         * inet/protocols/talkd.h, resolv/arpa/nameser.h
331         * sysdeps/generic/netinet/in_systm.h
332         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
333         * sysdeps/gnu/netinet/udp.h
334         * sysdeps/unix/sysv/linux/net/ethernet.h
335         * sysdeps/unix/sysv/linux/net/if_arp.h
336         * sysdeps/unix/sysv/linux/net/if_ppp.h
337         * sysdeps/unix/sysv/linux/net/if_shaper.h
338         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
339         * sysdeps/unix/sysv/linux/netinet/if_tr.h
340         * sysdeps/unix/sysv/linux/netipx/ipx.h
341         * sysdeps/unix/sysv/linux/sys/acct.h
342         Include stdint.h for uintNN_t definitions.
343         Don't include sys/cdefs.h, features.h, or asm/types.h directly.
345 2016-09-23  Zack Weinberg  <zackw@panix.com>
347         * rpcsvc/nislib.h: Include rpcsvc/nis.h.
348         * sysdeps/unix/sysv/linux/netrose/rose.h:
349         Include sys/socket.h and netax25/ax25.h.
351         * inet/netinet/icmp6.h, inet/netinet/ip6.h
352         * resolv/arpa/nameser_compat.h:
353         Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
355         * sysdeps/unix/sysv/linux/sys/quota.h:
356         Use __caddr_t instead of caddr_t.
357         * sysdeps/unix/sysv/linux/sys/timerfd.h:
358         Use __clockid_t instead of clockid_t.
360         * sysvipc/sys/ipc.h: Remove unnecessary #warning.
362         * argp/argp.h: Check whether _LIBC is defined before expanding it.
363         * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
364         expanding it.
366         * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
367         Define __glibc_c99_flexarr_available to 1 when the compiler
368         supports C99-compatible flexible array members, 0 otherwise.
369         * sysdeps/unix/sysv/linux/bits/socket.h
370         * sysdeps/mach/hurd/bits/socket.h
371         * bits/socket.h: Use __glibc_c99_flexarr_available in
372         definitions of struct cmsghdr and CMSG_DATA.
374 2016-09-23  Florian Weimer  <fweimer@redhat.com>
376         * manual/nss.texi (NSS Modules Interface): Adjust function return
377         type to enum nss_status.  Document errnop argument.  Clarify
378         h_errnop semantics.  Fix cross-reference formatting.
379         (NSS Module Function Internals): Mention that *errnop needs to be
380         set on failure, but not to zero.
382 2016-09-23  Florian Weimer  <fweimer@redhat.com>
384         * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
385         (get_random_name): New functions.
386         (check_wrapper_flags_mode): Use linkat to give the new file a name
387         determined by get_random_name.
388         (do_test): Add calls to test open64 and openat64.
390 2016-09-23  Florian Weimer  <fweimer@redhat.com>
392         * test-skeleton.c: Remove #include <stdarg.h>.
394 2016-09-21  Alexandre Oliva <aoliva@redhat.com>
396         [BZ #19826]
397         * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
398         initialization of static TLS entries.
399         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
400         * nptl/allocatestack.c (init_one_static_tls): Likewise.
402 2016-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
404         * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
405         _hurd_malloc_fork_prepare.
406         (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
407         (malloc_fork_child): Rename to _hurd_malloc_fork_child.
408         (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
409         (_hurd_fork_parent_hook): Drop malloc_fork_parent.
410         (_hurd_fork_child_hook): Drop malloc_fork_child.
411         * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
412         _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
413         * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
414         after locking locks (notably hurd_dtable_lock). Call
415         _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
416         before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
417         __malloc_fork_unlock_child.
418         * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
420 2016-09-21  James Greenhalgh  <james.greenhalgh@arm.com>
422         * soft-fp/extendhftf2.c: New.
423         * soft-fp/fixhfti.c: Likewise.
424         * soft-fp/fixunshfti.c: Likewise.
425         * soft-fp/floattihf.c: Likewise.
426         * soft-fp/floatuntihf.c: Likewise.
427         * soft-fp/half.h: Likewise.
428         * soft-fp/trunctfhf2.c: Likewise.
430 2016-09-21  Joseph Myers  <joseph@codesourcery.com>
432         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
433         macro.
434         * math/libm-test.inc (issubnormal_test_data): New array.
435         (issubnormal_test): New function.
436         * manual/arith.texi (Floating Point Classes): Document
437         issubnormal.
438         * manual/libm-err-tab.pl: Update comment on interfaces without
439         ulps tabulated.
441         * sysdeps/generic/stdint.h: Define
442         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
443         <bits/libc-header-start.h> instead of including <features.h>.
444         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
445         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
446         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
447         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
448         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
449         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
450         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
451         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
452         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
453         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
454         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
455         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
456         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
457         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
458         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
459         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
460         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
461         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
462         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
463         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
464         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
465         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
466         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
467         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
468         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
469         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
470         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
471         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
472         [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
473         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
474         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
475         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
476         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
477         * manual/arith.texi (Integers): Document these macros for types
478         specified by width properties.
479         * manual/lang.texi (Width of Type): Document these macros for
480         other standard typedefs.
481         * stdlib/tst-width-stdint.c: New file.
482         * stdlib/Makefile (tests): Add tst-width-stdint.
484 2016-09-21  Florian Weimer  <fweimer@redhat.com>
486         [BZ #20016]
487         * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
488         * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
489         Move ...
490         * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
491         ... here, as compatibility symbols in a new file.
492         * resolv/Makefile (libresolv-routines): Add compat-hooks.
493         * resolv/res_init.c (__res_vinit): Adjust member names.
494         * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
495         * resolv/resolv.h (res_sendhookact, res_send_qhook)
496         (res_send_rhook): Remove.
497         (struct __res_state): Rename qhook, rhook members.
499 2016-09-21  Florian Weimer  <fweimer@redhat.com>
501         malloc: Use __libc_lock wrappers.
502         * malloc/arena.c (list_lock, free_list_lock): Define using
503         __libc_lock_define_initialized.
504         (arena_lock): Adjust formatting.
505         * malloc/malloc.c (struct malloc_state): Define mutex using
506         __libc_lock_define.
507         * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
508         (mutex_lock, mutex_trylock, mutex_unlock): Remove.
509         * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
510         (mutex_unlock, mutex_trylock): Remove.
511         (__pthread_initialize): Remove unused macro.
512         * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
513         (mutex_unlock, mutex_trylock): Remove.
515 2016-09-21  Florian Weimer  <fweimer@redhat.com>
517         [BZ #20592]
518         Remove RR type classification macros.
519         * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
520         (ns_t_udp_p, ns_t_xfr_p): Remove.
522 2016-09-21  Florian Weimer  <fweimer@redhat.com>
524         Remove misleading version information.
525         * resolv/arpa/nameser.h (__NAMESER): Remove.
526         * resolv/arpa/nameser_compat.h (__BIND): Remove.
528 2016-09-21  Florian Weimer  <fweimer@redhat.com>
530         Remove the always-defined BIND_4_COMPAT macro.
531         * resolv/arpa/nameser.h: Unconditionally include
532         <arpa/nameser_compat.h>.
533         (BIND_4_COMPAT): Remove.
534         * resolv/res_comp.c: Do not check BIND_4_COMPAT.
536 2016-09-21  Florian Weimer  <fweimer@redhat.com>
538         [BZ #20591]
539         Remove obsolete DNSSEC support.
540         * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
541         (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
542         (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
543         (ns_verify_tcp, ns_verify_tcp_init): Remove.
544         (ns_cert_types): Add comment.
545         * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
546         separately.
547         (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
548         (dst_s_dns_key_id): Remove.
549         * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
550         variables.
552 2016-09-21  Florian Weimer  <fweimer@redhat.com>
554         [BZ #20524]
555         * manual/string.texi (String/Array Comparison): Clarify the
556         strverscmp behavior.
558 2016-09-21  Florian Weimer  <fweimer@redhat.com>
560         * test-skeleton.c (xasprintf): Add function.
561         * io/tst-open-tmpfile.c: New test.
562         * io/Makefile (tests): Add it.
564 2016-09-21  Florian Weimer  <fweimer@redhat.com>
566         Avoid running $(CXX) during build to obtain header file paths.
567         * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
568         * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
569         * Makerules (cstdlib, cmath): Remove variables.  Use
570         $(c++-cstdlib-header), $(c++-cmath-header) instead.
571         * configure: Regenerate.
573 2016-09-21  Florian Weimer  <fweimer@redhat.com>
575         * Makeconfig (all-object-suffixes): Include .op only if
576         $(build-profile).
578 2016-09-21  Florian Weimer  <fweimer@redhat.com>
580         * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
581         conditionals.  Do not define PATH_MAX.
583 2016-09-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
585         * posix/Makefile (tests): Add tst-spawn3.
586         * posix/tst-spawn3.c: New file.
587         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
588         if it is already opened for open action.
590         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
591         all signals when executing the clone vfork child.
592         (SIGALL_SET): Remove macro.
594         * nptl/Makefile (tests): Add tst-exec5.
595         * nptl/tst-exec5.c: New file.
596         * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
597         asynchronous cancellation.
599 2016-09-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
601         * hurd/exc2signal.c: #include <hurd/signal.h>
602         (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
603         'sigcode', 'error' parameters with 'detail' parameter.  Fix code
604         accordingly.
605         * mach/mach_error.c (mach_error): Fix old-style function definition.
606         * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
608 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
610         * math/Makefile (libm-calls): Remove s_nanF.
611         (gen-libm-calls): Add s_nanF.
613         * math/s_nan.c: Refactor into ...
614         * math/s_nan_template.c: New file.
616         * math/s_nanf.c: Removed.
617         * math/s_nanl.c: Removed.
618         * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
619         * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
621         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
622         (LDOUBLE_nanl_libm_version): New macro.
624         * sysdeps/generic/math-type-macros-double.h:
625         (M_STRTO_NAN): New macro.
626         * sysdeps/generic/math-type-macros-float.h: Likewise.
627         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
629         * sysdeps/generic/math-type-macros.h: Document
630         M_STRTO_NAN.
632 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
634         * math/s_nanf.c: Remove __nanf undef.
635         * math/s_nan.c: Remove __nan undef.
636         * math/s_nanl.c: Remove __nanl undef.
638         * sysdeps/generic/math_private.h (__nan): Remove macro
639         override.
640         (__nanf): Likewise.
641         (__nanl): Likewise.
643 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
645         * math/Makefile (gen-all-calls): New variable.
646         (generated): Replace gen-libm-calls with gen-all-calls.
647         (gen-libm-templates.stmp): Likewise.  Also, ensure
648         the output directory exists or is created and add
649         dependency on the Makefile.
650         (calls): Move s_ldexpF into gen-calls.
651         (gen-calls): New variable.
653         * math/s_ldexpf.c: Removed.
654         * math/s_ldexpl.c: Removed.
655         * math/s_ldexp.c: Refactored into ...
656         * math/s_ldexp_template.c: New file.
658         * sysdeps/generic/math-type-macros-double.h: Remove
659         redundant fall-through definition of declare_mgen_alias.
660         (declare_mgen_alias_2): New macro.
662         * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
663         New macro for function aliased to two exported symbols.
665         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
666         new template file.
667         sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
669 2016-09-20  Florian Weimer  <fweimer@redhat.com>
671         * Makeconfig (all-object-suffixes): Remove .og.
672         * Makerules (elide-routines.og): Remove.
673         * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
674         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
675         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
677 2016-09-20  Florian Weimer  <fweimer@redhat.com>
679         * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
680         .os objects.
682 2016-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
684         [BZ #20615]
685         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
686         fpu directory by non-fpu.
687         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
688         on non-fpu directory from a fpu directory.
690 2016-09-19  Joseph Myers  <joseph@codesourcery.com>
692         * include/limits.h: Define
693         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
694         <bits/libc-header-start.h> instead of including <features.h>.
695         [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
696         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
697         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
698         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
699         [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
700         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
701         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
702         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
703         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
704         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
705         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
706         * manual/lang.texi (Width of Type): Document these macros.
707         * stdlib/tst-width.c: New file.
708         * stdlib/Makefile (tests): Add tst-width.
710 2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
712         * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
713         * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
715 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
717         * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
718         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
719         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
721 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
723         [BZ #18243]
724         * rt/Makefile (test): Add tst-shm-cancel.
725         * rt/tst-shm-cancel.c: New file.
726         * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
728         [BZ #18243]
729         * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
730         * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
731         definition.
732         * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
733         uncontended case.
734         * nptl/sem_wait.c (__new_sem_wait): Likewise.
735         * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
736         (tf): Fix check for uncontended case.
737         (do_test): Likewise.
738         * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
739         (tf): Fix check for uncontended case.
740         (do_test): Likewise.
741         * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
742         (tf): Fix check for uncontended case.
743         (do_test): Likewise.
744         * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
745         (tf): Fix check for uncontended case.
746         (do_test): Likewise.
748         * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
749         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
751         [BZ #15765]
752         * nptl/Makefile (tests): Add tst-sem16.
753         * nptl/tst-sem16.c: New file.
754         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
756         * nptl/sem_open.c (sem_open): Init pad value to 0.
757         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
758         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
760 2016-09-15  Florian Weimer  <fweimer@redhat.com>
762         [BZ #20611]
763         * inet/Makefile (routines): Add inet6_scopeid_pton.
764         (tests): Add tst-inet6_scopeid_pton.
765         * inet/inet6_scopeid_pton.c: New file.
766         * inet/net-internal.h: Likewise.
767         * inet/tst-inet6_scopeid_pton.c: New test.
768         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
769         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
770         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
772 2016-09-14  Florian Weimer  <fweimer@redhat.com>
774         Remove support for compiling wrappers with PTW.
775         * sysdeps/nptl/Makeconfig: Drop ptw- support.
776         * nptl/Makefile (pthread-compat-wrappers): Define.
777         (libpthread-routines): Use pthread-compat-wrappers.
778         * sysdeps/unix/sysv/linux/alpha/Makefile
779         (libpthread-routines, libpthread-shared-only-routines): Remove
780         ptw- prefix.
781         * sysdeps/s390/nptl/Makefile
782         (libpthread-routines, libpthread-shared-only-routines): Likewise.
783         * sysdeps/ia64/nptl/Makefile
784         (libpthread-routines, libpthread-shared-only-routines): Likewise.
785         * sysdeps/nacl/Makefile (libpthread-routines): Use
786         pthread-compat-wrappers to filter the routines list instead of the
787         ptw- prefix.
789 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
791         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
792         with L() and remove explicit suffix, convert real literals
793         which can be equivalentally substituted with integers, and
794         transform -L(x) to L(-x).
796         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
797         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
798         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
799         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
800         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
801         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
802         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
803         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
804         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
805         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
806         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
807         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
808         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
809         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
810         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
811         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
812         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
813         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
814         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
815         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
816         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
817         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
818         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
819         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
820         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
821         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
822         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
823         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
824         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
825         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
826         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
827         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
828         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
829         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
830         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
831         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
832         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
833         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
834         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
835         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
836         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
837         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
838         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
839         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
840         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
841         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
842         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
843         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
844         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
845         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
847 2016-09-13  Florian Weimer  <fweimer@redhat.com>
849         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
851 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
853         * malloc/Makefile (tests): Remove individual static test names
854         and just add all of tests-static.
856         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
858 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
860         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
861         file.
863         * sysdeps/sparc/fpu/fegetmode.c: New file.
864         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
866         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
867         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
869         * sysdeps/s390/fpu/fegetmode.c: New file.
870         * sysdeps/s390/fpu/fesetmode.c: Likewise.
872         * sysdeps/powerpc/fpu/fegetmode.c: New file.
873         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
874         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
875         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
876         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
877         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
879         * sysdeps/mips/fpu/fegetmode.c: New file.
880         * sysdeps/mips/fpu/fesetmode.c: Likewise.
882         * sysdeps/m68k/fpu/fegetmode.c: New file.
883         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
885         * sysdeps/ia64/fpu/fegetmode.c: New file.
886         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
888         * sysdeps/hppa/fpu/fegetmode.c: New file.
889         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
891         * sysdeps/arm/fegetmode.c: New file.
892         * sysdeps/arm/fesetmode.c: Likewise.
894         * sysdeps/alpha/fpu/fegetmode.c: New file.
895         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
897         * sysdeps/aarch64/fpu/fegetmode.c: New file.
898         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
900         * math/fegetmode.c: New file.
901         * math/fesetmode.c: Likewise.
902         * sysdeps/i386/fpu/fegetmode.c: Likewise.
903         * sysdeps/i386/fpu/fesetmode.c: Likewise.
904         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
905         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
906         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
907         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
908         declaration.
909         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
910         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
911         typedef.
912         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
913         * sysdeps/aarch64/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/alpha/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         * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
920         (femode_t): New typedef.
921         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
922         * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
923         (femode_t): New typedef.
924         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
925         * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
926         (femode_t): New typedef.
927         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
928         * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
929         (femode_t): New typedef.
930         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
931         * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
932         (femode_t): New typedef.
933         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
934         * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
935         (femode_t): New typedef.
936         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
937         * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
938         (femode_t): New typedef.
939         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
940         * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
941         (femode_t): New typedef.
942         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
943         declaration.
944         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
945         * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
946         (femode_t): New typedef.
947         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
948         * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
949         (femode_t): New typedef.
950         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
951         * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
952         (femode_t): New typedef.
953         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
954         * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
955         (femode_t): New typedef.
956         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
957         * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
958         (femode_t): New typedef.
959         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
960         * manual/arith.texi (FE_DFL_MODE): Document macro.
961         (fegetmode): Document function.
962         (fesetmode): Likewise.
963         * math/Versions (fegetmode): New libm symbol at version
964         GLIBC_2.25.
965         (fesetmode): Likewise.
966         * math/Makefile (libm-support): Add fegetmode and fesetmode.
967         (tests): Add test-femode and test-femode-traps.
968         * math/test-femode-traps.c: New file.
969         * math/test-femode.c: Likewise.
970         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
971         alias for __fe_dfl_env.
972         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
973         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
974         (__fe_dfl_mode): Likewise.
975         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
976         version GLIBC_2.25.
977         * sysdeps/nacl/libm.abilist: Update.
978         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
979         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
980         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
981         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
982         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
983         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
984         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
985         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
986         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
987         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
988         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
989         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
990         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
991         Likewise.
992         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
993         Likewise.
994         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
995         Likewise.
996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
997         Likewise.
998         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
999         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1000         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1001         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1002         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1003         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1004         Likewise.
1005         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1006         Likewise.
1007         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1008         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1009         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1011 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
1013         [BZ #20495]
1014         [BZ #20508]
1015         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
1016         processors, set Use_dl_runtime_resolve_slow and set
1017         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
1018         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
1019         New.
1020         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
1021         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
1022         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
1023         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
1024         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
1025         if Use_dl_runtime_resolve_opt is set.  Use
1026         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
1027         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
1028         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
1029         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
1030         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
1031         New.
1032         (_dl_runtime_resolve_opt): Likewise.
1033         (_dl_runtime_profile): Define only if _dl_runtime_profile is
1034         defined.
1036 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
1038         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
1039         __libc_memalign with "+ RELA R_390_GLOB_DAT".
1041 2016-09-06  Florian Weimer  <fweimer@redhat.com>
1043         Convert malloc to __libc_lock.  Automated part, using this Perl
1044         s/// command:
1045           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
1046             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
1047         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
1048         conversion.
1050 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
1052         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
1053         (linknamespace-symlists-tests): Likewise.
1054         (linknamespace-header-tests): Likewise.
1056 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
1058         [BZ #19810]
1059         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
1060         * elf/tst-noload.c: New test case.
1061         * elf/Makefile (tests): Add tst-noload.
1063 2016-09-02  Roland McGrath  <roland@hack.frob.com>
1065         * sysdeps/nacl/dup.c: Add libc_hidden_def.
1067         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
1068         not any more.
1070         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
1072 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1074         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
1075         (do_cos_slow): Likewise.
1076         (do_sin): Likewise.
1077         (do_sin_slow): Likewise.
1078         (slow): Likewise.
1079         (slow1): Likewise.
1080         (slow2): Likewise.
1081         (sloww): Likewise.
1082         (sloww1): Likewise.
1083         (sloww2): Likewise.
1084         (bsloww): Likewise.
1085         (bsloww1): Likewise.
1086         (bsloww2): Likewise.
1087         (cslow2): Likewise.
1089         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
1091         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
1092         arguments.  Consolidate input partitioning from callers here.
1093         (do_cos_slow): Likewise.
1094         (do_sin): Likewise.
1095         (do_sin_slow): Likewise.
1096         (do_sincos_1): Remove the no longer necessary input partitioning.
1097         (do_sincos_2): Likewise.
1098         (__sin): Likewise.
1099         (__cos): Likewise.
1100         (slow1): Likewise.
1101         (slow2): Likewise.
1102         (sloww1): Likewise.
1103         (sloww2): Likewise.
1104         (bsloww1): Likewise.
1105         (bsloww2): Likewise.
1106         (cslow2): Likewise.
1108 2016-09-02  Florian Weimer  <fweimer@redhat.com>
1110         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
1111         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
1112         outside of allocated array.
1114 2016-09-02  Florian Weimer  <fweimer@redhat.com>
1116         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
1117         instead of MB_CUR_MAX to avoid variable-length array.
1119 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1121         * math/Makefile (libm-calls): Remove k_rem_pio2F.
1122         (type-double-routines): Add k_rem_pio2.
1123         (type-float-routines): Add k_rem_pio2f.
1125         * sysdeps/generic/math_private.h:
1126         (__kernel_rem_pio2l): Removed.
1128         * math/k_rem_pio2l.c: Removed.
1129         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
1130         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
1131         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
1132         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
1134 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1136         * math/Makefile (gen-libm-calls): Add s_fmin
1137         (libm-calls): Remove above.
1139         * math/s_fmin.c: Refactor into ...
1140         * math/s_fmin_template.c: New file.
1142         * math/s_fminf.c: Removed.
1143         * math/s_fminl.c: Removed.
1144         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
1145         (LDOUBLE_fmin_libm_version): New macro.
1147         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
1148         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
1150 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1152         * math/Makefile: (gen-libm-calls): Add s_fmax.
1153         (libm-calls): Remove above.
1155         * math/s_fmax.c: Refactor into ...
1156         * math/s_fmax_template.c: New file.
1157         * math/s_fmaxf.c: Removed.
1158         * math/s_fmaxl.c: Removed.
1160         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
1161         (LDOUBLE_fmaxl_libm_version): New macro.
1163         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
1164         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
1166         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
1167         s_fmin.c to pick the aarch64 version of the file.
1168         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
1169         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
1171 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1173         * math/Makefile: (gen-libm-calls): Add s_nextdown.
1174         (libm-calls): Remove above.
1176         * math/s_nextdown.c: Refactor into ...
1177         * math/s_nextdown_template.c: New file.
1178         * math/s_nextdownf.c: Removed.
1179         * math/s_nextdownl.c: Removed.
1181         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
1183 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1185         * math/Makefile (gen-libm-calls): Add s_fdim.
1186         (libm-calls): Move to above.
1188         * math/s_fdim.c: Renamed and refactored into to ...
1189         * math/s_fdim_template.c: New file.
1190         * math/s_fdiml.c: Removed.
1191         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
1192         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
1194         * sysdeps/generic/math-type-macros-double.h:
1195         (declare_mgen_alias): Don't declare if already declared.
1196         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
1197         Likewise.
1199         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
1200         (declare_mgen_alias): Don't declare if already declared.
1201         (M_LIBM_NEED_COMPAT): Likewise.
1202         (declare_mgen_libm_compat): Likewise.
1203         (LDOUBLE_fdiml_libm_version): New macro.
1205         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
1206         Include math/s_fdim.c now that ldbl-opt version is not needed.
1207         (declare_mgen_alias): New macro to disable aliasing.
1209         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
1210         (declare_mgen_alias): Likewise.
1211         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
1212         (declare_mgen_alias): Likewise.
1213         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
1214         (declare_mgen_alias): Likewise.
1215         (M_LIBM_NEED_COMPAT): Likewise.
1217 2016-09-01  Florian Weimer  <fweimer@redhat.com>
1219         [BZ #20525]
1220         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
1221         Include <linux/quota.h>.
1222         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
1223         and btodb.
1224         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
1225         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
1226         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
1227         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
1228         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
1229         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
1230         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
1231         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
1232         types.
1233         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
1234         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
1236 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1238         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
1239         (gammal_positive): Fix spacing.
1240         (__ieee754_gammal_r): Likewise.
1242 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1244         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
1245         (_Float128): Define as long double, always.
1246         (L): Apply long double type suffix, always.
1248         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
1249         _Float128, excepting comments.
1251         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
1252         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
1253         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
1254         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
1255         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
1256         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
1257         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
1258         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
1259         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
1260         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
1261         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
1262         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
1263         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
1264         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
1265         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
1266         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
1267         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
1268         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
1269         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
1270         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
1271         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
1272         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
1273         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
1274         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
1275         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
1276         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
1277         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
1278         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
1279         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
1280         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
1281         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
1282         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
1283         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
1284         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
1285         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
1286         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
1287         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
1288         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
1289         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
1290         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
1291         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
1292         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
1293         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
1294         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
1295         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
1296         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
1297         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
1298         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
1299         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
1300         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
1301         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
1302         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
1303         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
1304         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
1305         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
1306         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
1307         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
1308         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
1309         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1310         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
1311         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
1312         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
1313         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
1314         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
1315         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
1316         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
1317         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
1318         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
1320         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
1321         _Float128, and include math_private.h.
1322         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
1324         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
1325         long double semantics.
1326         (_Float128): Likewise.
1327         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
1328         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
1329         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
1330         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
1332 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
1334         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
1335         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
1336         * sysdeps/s390/configure: Regenerated.
1337         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
1338         instruction for raising over-/underflow if z196 zarch is supported
1339         by default.
1340         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
1342 2016-08-30  Svante Signell  <svante.signell@gmail.com>
1344         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
1345         it point to a dumb buffer for RPC to fill it.
1347 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1349         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
1350         instead of if/else.
1351         (do_sin_slow): Likewise.
1352         (do_sincos_1): Use fabs instead of if/else.
1353         (do_sincos_2): Likewise.
1354         (__sin): Likewise.
1355         (__cos): Likewise.
1356         (slow2): Likewise.
1357         (sloww): Likewise.
1358         (sloww1): Likewise.  Drop argument M.
1359         (sloww2): Use fabs instead of if/else.
1360         (bsloww): Likewise.
1361         (bsloww1): Likewise.
1362         (bsloww2): Likewise.
1364         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
1365         fall through comment.
1366         (do_sincos_1): Likewise.
1368         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
1369         Consolidate switch cases 0 and 2.
1371 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1373         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
1374         (libm-calls): Remove the above.
1376         * math/s_cexp_template.c: Update using type-generic macros.
1377         * math/s_clog10_template.c: Likewise.
1378         * math/s_cpow_template.c: Likewise.
1379         * math/s_clog_template.c: Likewise.
1380         * math/s_cproj_template.c: Likewise.
1381         * math/s_csqrt_template.c: Likewise.
1383         * math/s_cexp.c: Removed.
1384         * math/s_cexpf.c: Removed.
1385         * math/s_cexpl.c: Removed.
1386         * math/s_clog10.c: Removed.
1387         * math/s_clog10f.c: Removed.
1388         * math/s_clog10l.c: Removed.
1389         * math/s_cpow.c: Removed.
1390         * math/s_cpowf.c: Removed.
1391         * math/s_cpowl.c: Removed.
1392         * math/s_clog.c: Removed.
1393         * math/s_clogf.c: Removed.
1394         * math/s_clogl.c: Removed.
1395         * math/s_cproj.c: Removed.
1396         * math/s_cprojf.c: Removed.
1397         * math/s_cprojl.c: Removed.
1398         * math/s_csqrt.c: Removed.
1399         * math/s_csqrtf.c: Removed.
1400         * math/s_csqrtl.c: Removed.
1402         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
1403         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
1404         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
1405         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
1406         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
1407         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
1409         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
1410         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
1411         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
1412         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
1413         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
1414         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
1415         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
1416         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
1417         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
1418         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
1419         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
1421         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
1422         version.
1424         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
1425         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
1426         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
1427         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
1429 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1431         * s_cexp_template.c: Copy of s_cexp.c.
1432         * s_clog_template.c: Copy of s_clog.c.
1433         * s_clog10_template.c: Copy of s_clog10.c.
1434         * s_cpow_template.c: Copy of s_cpow.c.
1435         * s_cproj_template.c: Copy of s_cproj.c.
1436         * s_csqrt_template.c: Copy of s_csqrt.c.
1438 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1440         [BZ #20517]
1441         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
1442         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
1443         exported.
1445 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
1447         * math/fetestexceptflag.c: New file.
1448         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
1449         Stefan Liebler.
1450         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1451         (fetestexceptflag): New function declaration.
1452         * manual/arith.texi (fetestexceptflag): Document function.
1453         * math/Versions (fetestexceptflag): New libm symbol at version
1454         GLIBC_2.25.
1455         * math/Makefile (libm-support): Add fetestexceptflag.
1456         (tests): Add test-fetestexceptflag.
1457         * math/test-fetestexceptflag.c: New file.
1458         * sysdeps/nacl/libm.abilist: Update.
1459         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1460         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1461         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1462         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1463         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1464         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1465         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1466         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1467         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1468         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1469         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1470         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1471         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1472         Likewise.
1473         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1474         Likewise.
1475         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1476         Likewise.
1477         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1478         Likewise.
1479         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1480         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1481         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1482         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1483         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1484         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1485         Likewise.
1486         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1487         Likewise.
1488         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1489         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1490         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1492 2016-08-26  Florian Weimer  <fweimer@redhat.com>
1494         [BZ #20432]
1495         Avoid strong references to malloc-internal symbols when linking
1496         statically, to support statically interposed mallocs.
1497         * include/libc-symbols.h (call_function_static_weak): New macro.
1498         * malloc/Makefile (tests): Add tst-interpose-nothread,
1499         tst-interpose-thread, tst-interpose-static-nothread,
1500         tst-interpose-static-thread.
1501         (tests-static): Add tst-interpose-static-nothread,
1502         tst-interpose-static-thread.
1503         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
1504         tst-interpose-aux-thread.o.
1505         (test-extras): Add tst-interpose-aux-nothread,
1506         tst-interpose-aux-thread.
1507         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
1508         tst-interpose-aux-nothread.o.
1509         (tst-interpose-thread, tst-interpose-static-thread): Link with
1510         tst-interpose-aux-thread.o and libthread.
1511         * malloc/tst-interpose-aux-nothread.c: New file.
1512         * malloc/tst-interpose-aux-thread.c: Likewise.
1513         * malloc/tst-interpose-aux.c: Likewise.
1514         * malloc/tst-interpose-aux.h: Likewise.
1515         * malloc/tst-interpose-nothread.c: Likewise.
1516         * malloc/tst-interpose-skeleton.c: Likewise.
1517         * malloc/tst-interpose-static-nothread.c: Likewise.
1518         * malloc/tst-interpose-static-thread.c: Likewise.
1519         * malloc/tst-interpose-thread.c: Likewise.
1520         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
1521         * sysdeps/mach/hurd/fork.c (__fork): Only call
1522         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
1523         __malloc_fork_unlock_child if defined.
1524         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
1526 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1528         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
1529         timespec C99 designated initialization.
1531 2016-08-26  Florian Weimer  <fweimer@redhat.com>
1533         [BZ #19946]
1534         Avoid expected SIGALRM signals.
1535         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
1536         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
1537         (xpthread_create, xpthread_detach, xpthread_join)
1538         (delayed_exit_thread, delayed_exit): New functions.
1539         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
1540         (tf): Use xpthread_cond_wait.
1541         (do_test): Likewise.  Replace alarm with delayed_exit.
1542         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
1543         (do_test): Call delayed_exit.  Report failure.
1544         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
1545         (do_test): Call delayed_exit.
1546         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
1547         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
1548         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
1549         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
1550         error.
1551         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
1552         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
1553         error.
1554         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
1555         (do_test): Call delayed_exit.
1556         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
1557         (do_test): Call delayed_exit.
1558         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
1559         (do_test): Call delayed_exit instead of alarm.  Use
1560         xpthread_mutex_lock.
1561         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
1562         (do_test): Call delayed_exit instead of alarm.  Use
1563         xpthread_mutex_lock.
1564         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
1565         (do_test): Call delayed_exit instead of alarm.
1566         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
1567         (do_test): Call delayed_exit instead of alarm.  Use
1568         xpthread_spin_lock.
1569         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
1570         (do_test): Call delayed_exit instead of alarm.  Use
1571         xpthread_join.
1573 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
1575         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
1576         adjust CFA when allocating register save area on re-aligned
1577         stack.
1579 2016-08-26  Florian Weimer  <fweimer@redhat.com>
1581         * string/tst-cmp.c: New test.
1582         * string/Makefile (tests): Add it.
1584 2016-08-25  Mark Wielaard  <mark@klomp.org>
1586         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
1587         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
1588         (check_tree_recurse): Use newly defined accessors.
1589         (check_tree): Likewise.
1590         (maybe_split_for_insert): Likewise.
1591         (__tfind): Likewise.
1592         (__tdelete): Likewise.
1593         (trecurse): Likewise.
1594         (tdestroy_recurse): Likewise.
1595         (__tsearch): Likewise. And add asserts for malloc alignment.
1596         (__twalk): Cast root to node in case CHECK_TREE is defined.
1598 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1600         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
1602 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1604         * math/Makefile (libm-gen-calls): Add
1605         catan, catanh, ctan, ctanh.
1606         (libm-calls): Remove the above.
1608         * math/s_catan_template.c: Update using type-generic macros.
1609         * math/s_catanh_template.c: Likewise.
1610         * math/s_ctan_template.c: Likewise.
1611         * math/s_ctanh_template.c: Likewise.
1613         * math/s_catanf.c: Removed.
1614         * math/s_catan.c: Removed.
1615         * math/s_catanl.c: Removed.
1616         * math/s_catanhf.c: Removed.
1617         * math/s_catanh.c: Removed.
1618         * math/s_catanhl.c: Removed.
1619         * math/s_ctanf.c: Removed.
1620         * math/s_ctan.c: Removed.
1621         * math/s_ctanl.c: Removed.
1622         * math/s_ctanhf.c: Removed.
1623         * math/s_ctanh.c: Removed.
1624         * math/s_ctanhl.c: Removed.
1626         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
1627         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
1628         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
1629         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
1630         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
1631         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
1633         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
1634         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
1635         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
1636         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
1638 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1640         * s_catan_template.c: Copy of s_catan.c.
1641         * s_catanh_template.c: Copy of s_catanh.c.
1642         * s_ctan_template.c: Copy of s_ctan.c.
1643         * s_ctanh_template.c: Copy of s_ctanh.c.
1645 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1647         * math/Makefile (gen-libm-calls): Move
1648         casin, casinh, csin, csinh here.
1649         (libm-calls): Remove the above.
1651         * math/s_casin_template.c: Update using type-generic macros.
1652         * math/s_casinh_template.c: Likewise.
1653         * math/s_csin_template.c: Likewise.
1654         * math/s_csinh_template.c: Likewise.
1655         * math/k_casinh_template.c: Likewise.
1657         * math/s_casinf.c: Removed.
1658         * math/s_casin.c: Removed.
1659         * math/s_casinl.c: Removed.
1660         * math/s_casinh.c: Removed.
1661         * math/s_casinhf.c: Removed.
1662         * math/s_casinhl.c: Removed.
1663         * math/s_csin.c: Removed.
1664         * math/s_csinf.c: Removed.
1665         * math/s_csinl.c: Removed.
1666         * math/s_csinh.c: Removed.
1667         * math/s_csinhf.c: Removed.
1668         * math/s_csinhl.c: Removed.
1669         * math/k_casinh.c: Removed.
1670         * math/k_casinhf.c: Removed.
1671         * math/k_casinhl.c: Removed.
1673         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
1674         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
1675         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
1676         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
1678         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
1679         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
1680         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
1681         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
1682         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
1683         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
1684         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
1685         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
1687         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
1688         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
1689         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
1690         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
1692         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
1693         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
1694         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
1695         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
1697 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1699         * s_casin_template.c: Copy of s_casin.c.
1700         * s_casinh_template.c: Copy of s_casinh.c.
1701         * s_csin_template.c: Copy of s_csin.c.
1702         * s_csinh_template.c: Copy of s_csinh.c.
1703         * k_casinh_template.c: Copy of k_casinh.c.
1705 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
1707         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
1709 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1711         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
1712         (mul_split) Remove, rename as mul_splitl, remove
1713         redundant float.h include, and include via mul_splitl.h
1715         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
1716         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
1717         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
1718         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
1719         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
1721         * math/mul_splitl.h: New file.
1723         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
1724         Move into mul_split.h, and remove redundant float.h include.
1726         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
1727         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
1728         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
1729         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
1731         * math/mul_split.h: New file.
1733 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1735         * math/Makefile (libm-gen-calls): Move
1736         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
1737         (libm-calls): Remove above.
1739         * math/s_cacos_template.c: Update using type-generic macros.
1740         * math/s_cacosh_template.c: Likewise.
1741         * math/s_ccos_template.c: Likewise.
1742         * math/s_ccosh_template.c: Likwise.
1744         * math/s_cacosf.c: Removed.
1745         * math/s_cacos.c: Removed.
1746         * math/s_cacosl.c: Removed.
1747         * math/s_cacoshf.c: Removed.
1748         * math/s_cacosh.c: Removed.
1749         * math/s_cacoshl.c: Removed.
1750         * math/s_ccosf.c: Removed.
1751         * math/s_ccos.c: Removed.
1752         * math/s_ccosl.c: Removed.
1753         * math/s_ccoshf.c: Removed.
1754         * math/s_ccosh.c: Removed.
1755         * math/s_ccoshl.c: Removed.
1757         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
1758         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
1759         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
1760         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
1761         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
1762         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
1764         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
1765         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
1766         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
1767         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
1769         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
1770         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
1771         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
1772         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
1774 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1776         * s_cacos_template.c: Copy of s_cacos.c.
1777         * s_cacosh_template.c: Copy of s_cacosh.c.
1778         * s_ccos_template.c: Copy of s_ccos.c.
1779         * s_ccosh_template.c: Copy of s_ccosh.c.
1781 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1783         * stdlib/tst-strtod-round-skeleton.c:
1784         Refactored from tst-strtod-round.c.
1786         (L_): New macro to apply literal modifier.
1787         (FNPFX): New macro to select str or wcs prefix.
1788         (CHAR): New macro to choose wchar_t or char.
1789         (STRM): New macro to choose printf for tested character type.
1791         (STRTO): New macro to choose appropriate string -> real function.
1792         (FNPFXS): Stringitized version of FNPFX.
1793         (STR): Support for above macro.
1794         (STRX): Likewise.
1796         (TEST): Update with above macros.
1797         (test): Likewise.
1798         (GEN_ONE_TEST): Likewise.
1799         (test_in_one_mode): Likewise.
1801         * stdlib/tst-strtod-round.c: New file.
1802         * wcsmbs/tst-wcstod-round.c: New file.
1804         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
1805         (tst-wcstod-round): Add libm depencency for fesetround.
1807 2016-08-19  Zack Weinberg  <zackw@panix.com>
1809         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
1811 2016-08-18  Torvald Riegel  <triegel@redhat.com>
1813         [BZ #20477]
1814         * resolv/res_hconf.c (do_init): Use atomic access.
1815         * resolv/res_hconf.h: Add comments.
1816         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
1817         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
1818         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
1820 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
1822         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
1823         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
1824         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
1825         Likewise.
1827 2016-08-18  Florian Weimer  <fweimer@redhat.com>
1829         [BZ #16907]
1830         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
1831         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
1832         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
1833         (__attribute__): Remove definition.
1835 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1837         * sysdeps/ieee754/ldbl-128/e_asinl.c:
1838         Remove unused sqrtl declaration.
1840 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1842         * math/Makefile: (gen-libm-templates.stmp): New rule.
1843         (libm-calls): Move carg conj cimag and cabs into ...
1844         (gen-libm-calls): New variable.
1845         (generated): Inform Make objects from gen-libm-calls
1846         may be generated.
1848         * sysdeps/generic/math-type-macros.h: New file.
1849         * sysdeps/generic/math-type-macros-float.h: Likewise.
1850         * sysdeps/generic/math-type-macros-double.h: Likewise.
1851         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
1852         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
1853         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
1855         * math/cabs.c: Refactor into
1856         * math/cabs_template.c: new file.
1857         * math/cabsf.c: Removed.
1858         * math/cabsl.c: Removed.
1859         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
1860         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
1862         * math/carg.c: Refactor into
1863         * math/carg_template.c: new file.
1864         * math/cargf.c: Removed.
1865         * math/cargl.c: Removed.
1866         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
1867         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
1869         * math/conj.c: Refactor into
1870         * math/conj_template.c: new file.
1871         * math/conjf.c: Removed.
1872         * math/conjl.c: Removed.
1873         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
1874         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
1876         * math/cimag.c: Refactor into
1877         * math/cimag_template.c: new file.
1878         * math/cimagf.c: Removed.
1879         * math/cimagl.c: Removed.
1880         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
1881         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
1883         * math/cimag.c: Refactor into
1884         * math/cimag_template.c: new file.
1885         * math/cimagf.c: Removed.
1886         * math/cimagl.c: Removed.
1887         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
1888         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
1890 2016-08-17  Florian Weimer  <fweimer@redhat.com>
1892         Reduce time to expected nptl/tst-once5 failure.
1893         * nptl/tst-once5.cc (TIMEOUT): Define.
1895 2016-08-17  Florian Weimer  <fweimer@redhat.com>
1897         [BZ #20452]
1898         Avoid additional copies of objects in libc.a in static libraries.
1899         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
1900         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
1901         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
1902         rt-sysdep.
1903         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
1904         Add nptl-sysdep.
1905         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
1906         Add ptw-sysdep.
1907         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
1908         rt-sysdep.
1909         * sysdeps/unix/sysv/linux/alpha/Makefile
1910         (libpthread-shared-only-routines): Add ptw-sysdep,
1911         ptw-sigprocmask, ptw-rt_sigaction.
1912         * sysdeps/unix/sysv/linux/ia64/Makefile
1913         (librt-shared-only-routines): Add rt-sysdep.
1914         * sysdeps/unix/sysv/linux/i386/Makefile
1915         (libpthread-shared-only-routines): Add libc-do-syscall.
1916         * sysdeps/unix/sysv/linux/microblaze/Makefile
1917         (libpthread-shared-only-routines): Add sysdep.
1918         * sysdeps/unix/sysv/linux/powerpc/Makefile
1919         (librt-shared-only-routines): Add rt-sysdep.
1920         (libpthread-shared-only-routines): Add sysdep.
1921         * sysdeps/unix/sysv/linux/s390/Makefile
1922         (librt-shared-only-routines): Add rt-sysdep.
1923         * sysdeps/unix/sysv/linux/sparc/Makefile
1924         (librt-shared-only-routines): Add rt-sysdep.
1925         (libpthread-shared-only-routines): Add sysdep.
1926         * sysdeps/unix/sysv/linux/tile/Makefile
1927         (libpthread-shared-only-routines): Likewise.
1929 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
1931         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
1932         Mask implicit bit out of unpacked value.
1933         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
1934         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
1935         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
1937         * sysdeps/sparc/fpu/fesetexcept.c: New file.
1939         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
1941         * sysdeps/s390/fpu/fesetexcept.c: New file.
1943         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
1944         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
1945         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
1947         * sysdeps/mips/fpu/fesetexcept.c: New file.
1949         * sysdeps/m68k/fpu/fesetexcept.c: New file.
1951         * sysdeps/ia64/fpu/fesetexcept.c: New file.
1953         * sysdeps/hppa/fpu/fesetexcept.c: New file.
1955         * sysdeps/arm/fesetexcept.c: New file.
1957         * sysdeps/alpha/fpu/fesetexcept.c: New file.
1959         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
1961         * math/fesetexcept.c: New file.
1962         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
1963         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
1964         * math/fenv.h: Define
1965         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
1966         <bits/libc-header-start.h> instead of including <features.h>.
1967         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
1968         declaration.
1969         * manual/arith.texi (fesetexcept): Document function.
1970         * math/Versions (fesetexcept): New libm symbol at version
1971         GLIBC_2.25.
1972         * math/Makefile (libm-support): Add fesetexcept.
1973         (tests): Add test-fesetexcept and test-fesetexcept-traps.
1974         * math/test-fesetexcept.c: New file.
1975         * math/test-fesetexcept-traps.c: Likewise.
1976         * sysdeps/nacl/libm.abilist: Update.
1977         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1978         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1979         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1980         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1981         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1982         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1983         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1984         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1985         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1986         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1987         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1988         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1989         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1990         Likewise.
1991         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1992         Likewise.
1993         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1994         Likewise.
1995         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1996         Likewise.
1997         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1998         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1999         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2000         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2001         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2002         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2003         Likewise.
2004         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2005         Likewise.
2006         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2007         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2008         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2010 2016-08-16  Florian Weimer  <fweimer@redhat.com>
2012         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
2013         New.
2014         (do_test): Apply default_stack_size_in_mb if not set.
2015         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
2017 2016-08-15  Andreas Schwab  <schwab@suse.de>
2019         [BZ #20435]
2020         CVE-2016-6323
2021         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
2022         as .cantunwind.
2024 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
2026         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
2027         comment from fraiseexcpt.c.
2029         * math/test-fexcept.c (feraiseexcept_exact): New function.
2030         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
2031         (test_except): Likewise.
2033 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
2035         [BZ #20455]
2036         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
2037         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
2038         to be restored.
2040         * math/test-fexcept-traps.c: New file.
2041         * math/test-fexcept.c: Likewise.
2042         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
2043         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
2044         macro.
2045         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
2046         (EXCEPTION_SET_FORCES_TRAP): Likewise.
2048 2016-08-09  Torvald Riegel  <triegel@redhat.com>
2050         * include/atomic.h (atomic_fetch_and_relaxed,
2051         atomic_fetch_and_release, atomic_fetch_or_release,
2052         atomic_fetch_xor_release): New.
2054 2016-08-06  Christian Seiler  <christian@iwakd.de>
2056         [BZ #20444]
2057         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
2058         MACH_PORT_NULL.
2060 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
2062         * math/s_fdim.c: Avoid alias renamed.
2063         * math/s_fdimf.c: Likewise.
2064         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
2065         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
2066         Add s_fdimf-vis3, s_fdim-vis3.
2067         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
2068         (CFLAGS-s_fdim-vis3.c): Likewise.
2069         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
2070         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
2072 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
2074         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
2075         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
2076         Remove s_fdimf-vis3, s_fdim-vis3.
2077         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
2078         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
2079         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
2080         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
2081         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
2082         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
2083         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
2084         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
2085         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
2086         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
2088 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
2090         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
2091         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
2092         -Wa,-Av9a -mvis.
2094 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2096         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
2097         LIT() to individual constants in simple expressions
2098         after splitting on spaces.
2099         (_apply_lit): Rename replaced version, and use it to
2100         apply to what appears to be a token.
2102         * math/libm-test.inc: Fix many, many issues with
2103         spacing.
2105 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
2107         * math/math.h: Move comment about <bits/mathdef.h> definitions
2108         above inclusion of <bits/mathdef.h>.  Do not mention
2109         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
2111 2016-08-05  Torvald Riegel  <triegel@redhat.com>
2113         * include/atomic.h (atomic_exchange_relaxed): New.
2115 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
2117         * math/e_scalb.c: Do not include <fenv.h>.
2118         (invalid_fn): Do calculation resulting in NaN instead of raising
2119         FE_INVALID and returning a NaN explicitly.
2120         * math/e_scalbf.c: Do not include <fenv.h>.
2121         (invalid_fn): Do calculation resulting in NaN instead of raising
2122         FE_INVALID and returning a NaN explicitly.
2123         * math/e_scalbl.c: Do not include <fenv.h>.
2124         (invalid_fn): Do calculation resulting in NaN instead of raising
2125         FE_INVALID and returning a NaN explicitly.
2127 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
2129         * po/de.po: Updated from Translation Project.
2130         * po/fi.po: Likewise.
2131         * po/sv.po: Likewise.
2133 2016-08-04  Florian Weimer  <fweimer@redhat.com>
2135         [BZ #20452]
2136         Use sysdep.o from libc.a in static libraries.
2137         * sysdeps/unix/sysv/linux/i386/Makefile
2138         (libpthread-shared-only-routines): Add sysdep.
2139         (librt-shared-only-routines): Likewise.
2141 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
2143         * math/tgmath.h (nextdown): Define if
2144         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
2145         (nextup): Likewise.
2147         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
2148         macro.
2149         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
2150         Document.
2151         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
2152         Document macro.
2153         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
2154         (exp10f): Likewise.
2155         (exp10l): Likewise.
2156         * math/bits/mathcalls.h (exp10): Declare if
2157         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
2159         * manual/arith.texi (nextup): Fix typo in last change.
2161 2016-08-03  Zack Weinberg  <zackw@panix.com>
2163         [BZ #19239]
2164         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
2165         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
2166         define major, minor, and makedev to issue deprecation warnings on use.
2167         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
2168         previously-activated deprecation warnings for these macros and prevent
2169         subsequent inclusions of this header from having any effect.
2170         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
2171         including <sys/sysmacros.h>, and undefine it again afterward.
2173 2016-08-03  Zack Weinberg  <zackw@panix.com>
2175         * sysdeps/generic/sys/sysmacros.h: Delete file.
2176         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
2177         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
2178         * bits/sysmacros.h: ... here; this encoding is now the generic
2179         encoding.  Now defines only the following macros:
2180         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
2181         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
2182         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
2184         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
2185         bits/sysmacros.h and the above new macros to generate the
2186         public implementations of major, minor, and makedev.
2187         * misc/tst-makedev.c: New test.
2188         * include/sys/sysmacros.h: New wrapper.
2190         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
2191         (routines): Add makedev.
2192         (tests): Add tst-makedev.
2193         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
2194         gnu_dev_makedev.
2195         * posix/Makefile (headers): Remove sys/sysmacros.h.
2196         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
2198         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
2199         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
2200         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
2201         * sysdeps/unix/sysv/linux/alpha/libc.abilist
2202         * sysdeps/unix/sysv/linux/arm/libc.abilist
2203         * sysdeps/unix/sysv/linux/hppa/libc.abilist
2204         * sysdeps/unix/sysv/linux/i386/libc.abilist
2205         * sysdeps/unix/sysv/linux/ia64/libc.abilist
2206         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
2207         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
2208         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
2209         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
2210         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
2211         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
2212         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
2213         * sysdeps/unix/sysv/linux/nios2/libc.abilist
2214         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
2215         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
2216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
2217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
2218         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
2219         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
2220         * sysdeps/unix/sysv/linux/sh/libc.abilist
2221         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
2222         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
2223         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
2224         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
2225         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
2226         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
2227         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
2228         Add GLIBC_2.25.
2230         * include/features.h (__glibc_clang_prereq): New macro.
2231         * misc/sys/cdefs.h (__glibc_clang_has_extension)
2232         (__attribute_deprecated_msg__): New macros.
2234 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
2236         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
2237         macro.
2238         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
2239         * manual/arith.texi (issignaling): Document as ISO from TS
2240         18661-1:2014.
2241         (nextup): Likewise.
2242         (nextupf): Likewise.
2243         (nextupl): Likewise.
2244         (nextdown): Likewise.
2245         (nextdownf): Likewise.
2246         (nextdownl): Likewise.
2247         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
2248         macro.
2249         * math/math.h: Define
2250         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
2251         <bits/libc-header-start.h> instead of including <features.h>.
2252         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
2253         [__USE_GNU].
2254         * math/bits/mathcalls.h (nextdown): Declare if
2255         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
2256         (nextup): Likewise.
2257         (__issignaling): Likewise.
2259 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2261         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
2262         check, and remove __glibc_likely hint
2263         from FP_INFINITE check.
2264         * s_csinhf.c (__csinhf): Likewise.
2266         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
2267         hint from FP_INFINITE check.
2268         * s_csinhl.c (__csinhl): Likewise.
2270 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2272         * math/Makefile (libm-calls): Insert F placeholder into
2273         object names.  Move w_lgamma_compat* routines into
2274         (libm-compat-calls): New variable.
2275         (libm-compat-calls-ldouble-yes): New variable.
2276         (calls): Insert F placeholder.
2277         (generated): Redefine using new type-foreach macro call.
2278         (routines): Likewise.
2280         (types): New variable to hold a list of symbolic names
2281         for each type supported by the target machine.
2282         (libm-routines): Redefine using new types variable.
2283         (type-foreach): macro to replace fooF with the
2284         appropriately suffixed foo for each types.
2286         (type-ldouble-suffix): New variable.
2287         (type-ldouble-routines): Likewise.
2288         (type-ldouble-yes): Likewise.
2289         (type-double-suffix): Likewise.
2290         (type-double-routines): Likewise.
2291         (type-float-suffix): Likewise.
2292         (type-float-routines): Likewise.
2294         (dbl-only-routines): Remove.
2295         (long-c-yes): Likewise.
2296         (long-m-routines): Likewise.
2297         (long-m-support): Likewise.
2298         (long-m-yes): Likewise.
2299         (test-longdouble-yes): Likewise.
2301         (test-float.o): Simplify by increasing the scope of the
2302         recipe which adds libm-test.stmp to the vector types.
2303         (test-ifloat.o): Likewise.
2304         (test-float-finite.o): Likewise.
2305         (test-double.o): Likewise
2306         (test-idouble.o): Likewise.
2307         (test-double-finite.o): Likewise.
2308         (test-ldouble.o): Likewise
2309         (test-ildoubl.o): Likewise.
2310         (test-ldouble-finite.o): Likewise.
2312         (libm-tests): Redefine type tests using foreach and the
2313         list of types in types.
2315         (CPPFLAGS-test-ildoubl.c): Rename to
2316         (CPPFLAGS-test-ildouble.c): New variable
2318         * math/test-ildoubl.c: Rename to
2319         * math/test-ildouble.c: New file.
2321 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2323         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
2324         Use fabsl instead of fabs.
2325         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
2326         Likewise.
2327         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
2328         Add long double suffix to constant to ensure proper
2329         promotion to long double.
2331 2016-08-03  Tom Tromey  <tom@tromey.com>
2333         [BZ #20311]
2334         * nptl_db/Makefile (headers): Add proc_service.h.
2335         * nptl_db/proc_service.h: Add include guard.  Use
2336         __BEGIN/__END_DECLS.
2337         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
2338         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
2339         arguments.
2342 2016-08-03  Florian Weimer  <fweimer@redhat.com>
2344         [BZ #17730]
2345         Avoid using memalign for TCB allocations.
2346         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
2347         (_dl_allocate_tls_storage): Use malloc and manual alignment.
2348         Avoid alignment gap in the TLS_DTV_AT_TP case.
2349         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
2350         determine the pointer to free.
2351         * nptl/tst-tls3-malloc.c: New test.
2352         * nptl/Makefile (tests): Add it.
2353         (tst-tls3-malloc): Link with libdl, libpthread.
2354         (LDFLAGS-tst-tls3-malloc): Set.
2355         (tst-tls3-malloc.out): Depend on DSO used in test.
2357 2016-08-03  Florian Weimer  <fweimer@redhat.com>
2359         [BZ #17730]
2360         Avoid using memalign for TLS allocations.
2361         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
2362         is_static member with to_free member.
2363         (union dtv): Use struct dtv_pointer.
2364         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
2365         dtv_pointer instead of is_static.
2366         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
2367         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
2368         instead of val.
2369         (allocate_dtv_entry): New function.
2370         (allocate_and_init): Return struct dtv_pointer.  Call
2371         allocate_dtv_entry instead of __libc_memalign.
2372         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
2373         instead of val.
2374         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
2375         instead of is_static.  Adjust call to allocate_and_init.
2376         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
2377         struct dtv_pointer instead of val.
2379 2016-08-03  Florian Weimer  <fweimer@redhat.com>
2381         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
2382         (MALLOC_ALIGN_MASK): Move ...
2383         * malloc/malloc-internal.h: ... to here.
2384         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
2386 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
2388         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
2389         (UDP_ENCAP_GTP1U): Likewise.
2391         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
2392         (PF_MAX): Update value.
2393         (AF_QIPCRTR): New macro.
2395 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
2397         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
2398         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
2399         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
2400         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
2401         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
2402         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
2403         s_truncf-vis3, s_trunc-vis3.
2404         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
2405         (CFLAGS-s_ceil-vis3.c): Likewise.
2406         (CFLAGS-s_floorf-vis3.c): Likewise.
2407         (CFLAGS-s_floor-vis3.c): Likewise.
2408         (CFLAGS-s_truncf-vis3.c): Likewise.
2409         (CFLAGS-s_trunc-vis3.c): Likewise.
2410         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
2411         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
2412         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
2413         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
2414         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
2415         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
2416         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
2417         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
2418         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
2419         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
2420         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
2421         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
2423 2016-08-02  David S. Miller  <davem@davemloft.net>
2425         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
2426         (__nearbyint_vis3): Don't check for sNaN before float register is
2427         loaded with the incoming argument.
2428         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
2429         (__nearbyintf_vis3): Likewise.
2430         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
2431         Likewise.
2432         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
2433         Likewise.
2435         * string/test-strncmp.c (do_test_limit): Make sure the test data
2436         stream is aligned as required for the type "CHAR".
2437         (do_test): Likewise.
2439 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
2441         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
2442         by beq instructions jumping to the end of the function.
2443         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
2444         clobber list. Use "i" constraint instead of "X".
2445         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
2446         of "X".
2448 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
2450         * bits/libc-header-start.h: New file.
2451         * Makefile (headers): Add bits/libc-header-start.h.
2452         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
2453         (__GLIBC_USE): New macro.
2454         * libio/stdio.h: Define
2455         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
2456         <bits/libc-header-start.h> instead of including <features.h>.
2457         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
2458         (open_memstream): Likewise.
2459         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
2460         (__asprintf): Likewise.
2461         (asprintf): Likewise.
2462         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
2463         (getdelim): Likewise.
2464         (getline): Likewise.
2465         * string/string.h: Define
2466         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
2467         <bits/libc-header-start.h> instead of including <features.h>.
2468         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
2469         (strndup): Likewise.
2470         * wcsmbs/wchar.h: Define
2471         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
2472         <bits/libc-header-start.h> instead of including <features.h>.
2473         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
2474         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
2476 2016-08-02  Florian Weimer  <fweimer@redhat.com>
2478         Support linking against compatibility symbols, for use in tests.
2479         * include/libc-symbols.h (symbol_version_reference): New macro.
2480         (symbol_version): Use it.
2481         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
2482         (compat_symbol): Use compat_symbol_reference.
2483         (compat_symbol_1, compat_symbol_2): Remove.
2484         (compat_symbol_reference, compat_symbol_reference_1)
2485         (compat_symbol_reference_2): New macro.  Use
2486         symbol_version_reference.
2488 2016-08-02  Florian Weimer  <fweimer@redhat.com>
2490         [BZ #19469]
2491         * malloc/Makefile (CPPFLAGS): Compile tests with
2492         -DTEST_NO_MALLOPT.
2493         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
2495 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
2497         [BZ #20033]
2498         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
2499         finite version.
2500         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
2501         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
2502         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
2503         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
2504         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
2505         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
2506         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
2507         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
2508         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
2509         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
2510         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
2511         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
2512         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
2513         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
2514         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
2515         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
2516         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
2517         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
2518         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
2519         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
2520         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
2521         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
2522         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
2523         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
2524         in zero power.
2526 2016-08-02  Florian Weimer  <fweimer@redhat.com>
2528         [BZ #20370]
2529         * malloc/arena.c (get_free_list): Update comment.  Assert that
2530         arenas on the free list have no attached threads.
2531         (remove_from_free_list): New function.
2532         (reused_arena): Call it.
2534 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
2536         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
2537         when it is a NaN.
2538         [_IEEE_FP_INEXACT] Remove.
2539         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
2540         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
2541         when it is a NaN.
2542         [_IEEE_FP_INEXACT] Remove.
2543         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
2544         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
2545         when it is a NaN.
2546         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
2547         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
2548         when its absolute value is greater than 0x1.0p52.
2549         [_IEEE_FP_INEXACT] Remove.
2550         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
2551         when its absolute value is greater than 0x1.0p23.
2552         [_IEEE_FP_INEXACT] Remove.
2554 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
2556         * version.h (RELEASE): Set to "development"
2557         (VERSION): Set to 2.24.90.
2558         * NEWS: Add 2.25 section.
2560         * version.h (RELEASE): Set to "stable"
2561         (VERSION): Set to 2.24.
2562         * include/features.h (__GLIBC_MINOR__): Set to 24.
2564         * NEWS: Add 2.24 fixed bugs.
2565         * po/libc.pot: Regenerate.
2567 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
2569         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
2570         [$(subdir) = math] (libm-sysdep_routines): Remove.
2571         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
2572         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
2573         s_truncf-vis3, s_trunc-vis3.
2574         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
2575         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
2576         file.
2577         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
2578         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
2579         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
2580         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
2581         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
2582         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
2583         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
2584         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
2585         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
2586         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
2587         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
2588         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
2589         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
2590         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
2591         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
2592         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
2593         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
2594         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
2595         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
2596         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
2597         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
2598         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
2599         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
2600         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
2601         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
2602         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
2603         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
2604         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
2605         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
2606         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
2607         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
2608         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
2609         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
2610         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
2611         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
2612         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
2613         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
2614         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
2615         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
2616         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
2617         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
2618         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
2619         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
2621 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
2623         [BZ #20384]
2624         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
2625         test-double-libmvec-sincos-avx-main.o,
2626         test-double-libmvec-sincos-avx2-main.o,
2627         test-double-libmvec-sincos-main.o,
2628         test-float-libmvec-sincosf-avx-main.o,
2629         test-float-libmvec-sincosf-avx2-main.o and
2630         test-float-libmvec-sincosf-main.o.
2631         test-float-libmvec-sincosf-avx512-main.o.
2632         ($(objpfx)test-double-libmvec-sincos): Also link with
2633         $(objpfx)test-double-libmvec-sincos-main.o.
2634         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
2635         $(objpfx)test-double-libmvec-sincos-avx-main.o.
2636         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
2637         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
2638         ($(objpfx)test-float-libmvec-sincosf): Also link with
2639         $(objpfx)test-float-libmvec-sincosf-main.o.
2640         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
2641         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
2642         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
2643         test-double-libmvec-sincos-avx512-main.o and
2644         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
2645         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
2646         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
2647         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
2648         (CFLAGS-test-double-libmvec-sincos.c): Removed.
2649         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
2650         (CFLAGS-test-double-libmvec-sincos-main.c): New.
2651         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
2652         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
2653         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
2654         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
2655         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
2656         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
2657         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
2658         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
2659         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
2660         -DREQUIRE_AVX2.
2661         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
2662         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
2663         -DREQUIRE_AVX512F.
2664         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
2665         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
2666         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
2667         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
2668         file.
2669         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
2670         Likewise.
2671         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
2672         Likewise.
2673         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
2674         Likewise.
2675         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
2676         Likewise.
2677         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
2678         Likewise.
2679         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
2680         Likewise.
2681         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
2682         Likewise.
2684 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
2686         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
2688 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
2690         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
2691         and typo in a comment about AT_HWCAP entry.
2693 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2695         * sysdeps/aarch64/libm-test-ulps: Updated.
2697 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
2699         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
2700         of r13 as it is not restored in mvcle case.
2702 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
2704         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
2705         Rename "ret" to "__ret".
2706         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
2707         inline_syscall5, inline_syscall6): Likewise.
2709 2016-07-19   Will Newton  <will.newton@gmail.com>
2711         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
2712         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
2713         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
2714         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
2715         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
2717 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
2719         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
2720         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
2721         -mfpmath=387 with $(rtld-CFLAGS).
2722         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
2723         $(rtld-CFLAGS).
2725 2016-07-18   Ross Burton  <ross.burton@intel.com>
2726              Khem Raj  <raj.khem@gmail.com>
2728         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
2729         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
2730         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
2731         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
2732         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
2733         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
2734         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
2735         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
2736         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
2737         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
2738         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
2739         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
2740         R_METAG_TLS_DTPOFF): New.
2742 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2743             Matt Clay  <mclay@lycos.com>
2745         [BZ #20357]
2746         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
2747         to call __mpsin/__mpcos and to negate values.
2748         * math/auto-libm-test-in: Add test.
2749         * math/auto-libm-test-out: Regenerate.
2751 2016-07-18  Zack Weinberg  <zackw@panix.com>
2753         * grp/Makefile: Don't install the internal header grp-merge.h.
2755 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2757         * sysdeps/aarch64/libm-test-ulps: Regenerated.
2759 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2761         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
2763 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2765         [BZ #15368]
2766         * sysdeps/unix/sysv/linux/nptl-signals.h
2767         (__nptl_clear_internal_signals): New function.
2768         (__libc_signal_block_all): Likewise.
2769         (__libc_signal_block_app): Likewise.
2770         (__libc_signal_restore_set): Likewise.
2771         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
2772         implementation.
2773         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
2774         the cached pid/tid value in pthread structure.
2776 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
2778         [BZ #20347]
2779         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
2781 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
2783         [BZ #20348]
2784         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
2785         preadv64, pwrite64 and pwritev64.
2787 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
2789         [BZ #20350]
2790         * posix/tst-preadwrite.c: Renamed to ...
2791         * posix/tst-preadwrite-common.c: This.
2792         (PREAD): Removed.
2793         (PWRITE): Likewise.
2794         (STRINGIFY): Likewise.
2795         (STRINGIFY2): Likewise.
2796         (do_prepare): Make it static and remove function arguments.
2797         (do_test): Likewise.
2798         (PREPARE): Updated.
2799         (TEST_FUNCTION): New.
2800         (name): Make it static.
2801         (fd): Likewise.
2802         (do_prepare): Use create_temp_file.
2803         (do_test): Renamed to ...
2804         (do_test_with_offset): This.  Make it static and accept offset.
2805         Properly check return value of PWRITE and PREAD.  Return bytes
2806         read.  Don't close fd nor unlink name.
2807         * posix/tst-preadwrite.c: Rewrite.
2808         * posix/tst-preadwrite64.c: Likewise.
2810 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
2812         [BZ #20309]
2813         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
2814         -mtls-dialect=gnu2 works.
2815         * configure: Regenerated.
2816         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
2817         (tests): Add tst-gnu2-tls1.
2818         (modules-names): Add tst-gnu2-tls1mod.
2819         ($(objpfx)tst-gnu2-tls1): New.
2820         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
2821         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
2822         * elf/tst-gnu2-tls1.c: New file.
2823         * elf/tst-gnu2-tls1mod.c: Likewise.
2824         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
2825         bytes for push in the PLT entry to align the stack.
2827 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
2829         [BZ #20349]
2830         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
2832 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2834         [BZ #18707]
2835         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
2836         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
2838 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2840         * sysdeps/unix/sysv/linux/sysdep.h
2841         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
2842         guards.
2843         * misc/tst-preadvwritev-common.c: New file.
2844         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
2845         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
2846         a check for files larger than 2GB.
2848         * sysdeps/unix/sysv/linux/mips/kernel-features.h
2849         (__ASSUME_OFF_DIFF_OFF64): Remove define.
2850         * sysdeps/unix/sysv/linux/pread.c
2851         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
2852         __OFF_T_MATCHES_OFF64_T.
2853         * sysdeps/unix/sysv/linux/pread64.c
2854         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
2855         * sysdeps/unix/sysv/linux/preadv.c
2856         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
2857         * sysdeps/unix/sysv/linux/preadv64.c
2858         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
2859         * sysdeps/unix/sysv/linux/pwrite.c
2860         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
2861         * sysdeps/unix/sysv/linux/pwrite64.c
2862         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
2863         * sysdeps/unix/sysv/linux/pwritev.c
2864         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
2865         * sysdeps/unix/sysv/linux/pwritev64.c
2866         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
2868 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
2870         * sysdeps/unix/sysv/linux/tile/kernel-features.h
2871         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
2873 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
2875         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
2877 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
2879         [BZ #20240]
2880         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
2881         (CFLAGS-s_modf-ppc32.c): New variable.
2882         (CFLAGS-s_modff-ppc32.c): Likewise.
2883         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2884         (CFLAGS-s_modf-ppc64.c): Likewise.
2885         (CFLAGS-s_modff-ppc64.c): Likewise.
2887 2016-07-07  Andreas Schwab  <schwab@suse.de>
2889         [BZ #20263]
2890         * nptl/tst-robust10.c: New test.
2891         * nptl/Makefile (tests): Add tst-robust10.
2893 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
2895         [BZ #20263]
2896         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
2898 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
2900         * sysdeps/s390/linkmap.h (struct link_map_machine):
2901         Remove member gotplt and add member jmprel.
2902         * sysdeps/s390/s390-32/dl-machine.h
2903         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
2904         instead of gotplt with &got[3].
2905         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
2906         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
2908 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
2910         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
2912 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2914         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
2915         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
2916         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
2917         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
2918         * libio/vtables.c (_IO_vtable_check)
2919         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
2920         * libio/libioP.h (IO_set_accept_foreign_vtables)
2921         [!PTR_MANGLE]: Do not call PTR_MANGLE.
2923 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
2925         [BZ #20314]
2926         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
2927         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
2928         $(common-objpfx)cmath.
2929         ($(common-objpfx)cstdlib): New target.
2930         ($(common-objpfx)cmath): Likewise.
2932 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
2934         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
2936 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2938         [BZ #20327]
2939         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
2940         are not part of the string.
2942 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2944         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
2945         * nptl/tst-cancel4-common.h (fifoname): New variable.
2946         (fifofd): Likewise.
2947         (cl_fifo): New function.
2948         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
2949         SIGINT.
2950         (tf_open): Add early cancel test.
2952 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
2954         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
2956 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
2958         * sysdeps/generic/ldsodefs.h
2959         (dl_symbol_visibility_binds_local_p): New inline function.
2960         * elf/dl-addr.c (determine_info): Treat hidden and internal
2961         symbols as local.
2962         * elf/dl-lookup.c (do_lookup_x): Likewise.
2963         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
2965 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
2967         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
2968         invalid exception for a sNaN input.
2969         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
2970         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
2971         (__nearbyint_vis3): Likewise
2972         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
2973         (__nearbyintf_vis3): Likewise
2974         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
2975         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
2976         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
2977         Likewise.
2978         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
2979         Likewise.
2981 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
2983         [BZ #20139]
2984         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
2985         (HAVE_AVX512DQ_ASM_SUPPORT): This.
2986         * sysdeps/x86_64/configure.ac: Require assembler from binutils
2987         2.24 or above.
2988         (HAVE_AVX512_ASM_SUPPORT): Removed.
2989         (HAVE_AVX512DQ_ASM_SUPPORT): New.
2990         * sysdeps/x86_64/configure: Regenerated.
2991         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
2992         check unconditional.
2993         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
2994         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
2995         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
2996         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
2997         Likewise.
2998         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
2999         Likewise.
3000         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
3001         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
3002         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
3003         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
3004         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
3005         Likewise.
3006         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
3007         Likewise.
3008         * sysdeps/x86_64/multiarch/memset.S: Likewise.
3009         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3010         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
3011         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
3012         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
3013         Likewise.
3014         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
3015         Likewise.
3016         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
3017         Likewise.
3018         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
3019         Likewise.
3020         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
3021         Likewise.
3022         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
3023         Likewise.
3024         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
3025         Likewise.
3026         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
3027         Likewise.
3028         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
3029         Likewise.
3030         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
3031         Likewise.
3032         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
3033         Likewise.
3035 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
3037         [BZ #20024]
3038         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
3039         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
3040         of this implementation of vector function.
3041         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
3042         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
3043         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
3044         Likewise.
3045         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
3046         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
3047         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
3048         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
3049         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
3050         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
3051         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
3052         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
3053         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
3054         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
3055         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
3056         for testing vector sincos with fixed ABI.
3057         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3058         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3059         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3060         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
3061         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3062         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3063         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3064         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
3065         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
3066         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
3067         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
3068         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
3069         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
3070         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
3071         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
3072         * sysdeps/x86_64/fpu/Makefile: Added new tests.
3074 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
3076         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
3078 2016-06-30  Anton Blanchard  <anton@samba.org>
3080         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3081         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
3082         s_sinf-ppc64.
3083         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
3084         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
3085         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
3086         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
3088 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3090         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3091         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3092         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
3093         e_expf-ppc64.
3094         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
3095         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
3096         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
3097         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
3099 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
3101         [BZ #20277]
3102         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
3103         when SHARED is defined.
3105 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
3107         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
3108         (index_arch_Prefer_ERMS): Likewise.
3109         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
3110         __memcpy_erms for Prefer_ERMS.
3111         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
3112         (__memmove_erms): Enabled for libc.a.
3113         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
3114         __memmove_erms or Prefer_ERMS.
3115         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
3116         __mempcpy_erms for Prefer_ERMS.
3117         * sysdeps/x86_64/multiarch/memset.S (memset): Return
3118         __memset_erms for Prefer_ERMS.
3120 2016-06-30  Andreas Schwab  <schwab@suse.de>
3122         [BZ #20262]
3123         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
3124         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
3125         of memory.
3127 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
3129         [BZ #18645]
3130         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
3131         (test-extras): Add tst-cleanupx4aux.
3132         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
3133         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
3134         tst-cleanupx4aux.o.
3135         * nptl/tst-cleanupx4aux.c: New file.
3137 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
3139         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
3141 2016-06-29  Andreas Schwab  <schwab@suse.de>
3143         [BZ #20260]
3144         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
3145         address before the beginning of the string as an integer to avoid
3146         array-bounds warning.
3148 2016-06-28  Richard Henderson  <rth@redhat.com>
3150         * elf/elf.h (EM_BPF): New.
3151         (EM_NUM): Update.
3152         (R_BPF_NONE, R_BPF_MAP_FD): New.
3154         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
3155         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
3156         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
3157         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
3158         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
3159         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
3160         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
3161         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
3162         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
3163         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
3164         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
3165         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
3166         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
3167         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
3168         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
3169         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
3170         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
3171         (EM_NUM): Update.
3173 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
3175         [BZ #18960]
3176         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
3177         Set _nl_current_LC_CATEGORY_used to two instead of one.
3179 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
3181         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
3182         (do_test): ... this.
3183         (TEST_FUNCTION): New macro.
3184          Include test-skeleton.c.
3185         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
3186         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
3188 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
3190         [BZ #15479]
3191         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
3192         floating-point environment rather than just control word.
3193         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
3194         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
3195         floating-point environment, with "invalid" exceptions merged in,
3196         rather than just control word.
3197         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
3198         * math/libm-test.inc (trunc_test_data): Do not allow spurious
3199         "inexact" exceptions.
3201         [BZ #15479]
3202         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
3203         floating-point environment rather than just control word.
3204         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
3205         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
3206         floating-point environment, with "invalid" exceptions merged in,
3207         rather than just control word.
3208         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
3209         * math/libm-test.inc (floor_test_data): Do not allow spurious
3210         "inexact" exceptions.
3212         [BZ #15479]
3213         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
3214         floating-point environment rather than just control word.
3215         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
3216         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
3217         floating-point environment, with "invalid" exceptions merged in,
3218         rather than just control word.
3219         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
3220         * math/libm-test.inc (ceil_test_data): Do not allow spurious
3221         "inexact" exceptions.
3223 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
3225         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
3226         __libc_vfork.
3227         (__vfork) [IS_IN (libc)]: Remove alias.
3228         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
3229         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
3230         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
3232 2016-06-24  Torvald Riegel  <triegel@redhat.com>
3234         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
3235         of atomic_compare_and_exchange_bool_rel.
3236         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
3237         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
3238         catomic_compare_and_exchange_bool_rel): Remove.
3239         * sysdeps/aarch64/atomic-machine.h
3240         (atomic_compare_and_exchange_bool_rel): Likewise.
3241         * sysdeps/alpha/atomic-machine.h
3242         (atomic_compare_and_exchange_bool_rel): Likewise.
3243         * sysdeps/arm/atomic-machine.h
3244         (atomic_compare_and_exchange_bool_rel): Likewise.
3245         * sysdeps/mips/atomic-machine.h
3246         (atomic_compare_and_exchange_bool_rel): Likewise.
3247         * sysdeps/microblaze/atomic-machine.h
3248         ( __arch_compare_and_exchange_bool_8_rel,
3249         __arch_compare_and_exchange_bool_16_rel): Likewise.
3250         * sysdeps/powerpc/atomic-machine.h
3251         ( __arch_compare_and_exchange_bool_8_rel,
3252         __arch_compare_and_exchange_bool_16_rel): Likewise.
3253         * sysdeps/powerpc/powerpc32/atomic-machine.h
3254         ( __arch_compare_and_exchange_bool_32_rel,
3255         __arch_compare_and_exchange_bool_64_rel): Likewise.
3256         * sysdeps/powerpc/powerpc64/atomic-machine.h
3257         ( __arch_compare_and_exchange_bool_32_rel,
3258         __arch_compare_and_exchange_bool_64_rel): Likewise.
3259         * sysdeps/tile/atomic-machine.h
3260         (atomic_compare_and_exchange_bool_rel): Likewise.
3262 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
3264         [BZ #20296]
3265         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
3266         when either argument is a NaN.
3267         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
3268         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
3270         * math/libm-test.inc (snan_value_ld): New macro.
3271         (isgreater_test_data): Add sNaN tests.
3272         (isgreaterequal_test_data): Likewise.
3273         (isless_test_data): Likewise.
3274         (islessequal_test_data): Likewise.
3275         (islessgreater_test_data): Likewise.
3276         (isunordered_test_data): Likewise.
3277         (nextafter_test_data): Likewise.
3278         (nexttoward_test_data): Likewise.
3279         (remainder_test_data): Likewise.
3280         (remquo_test_data): Likewise.
3281         (significand_test_data): Likewise.
3282         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
3284 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3286         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
3287         environment macros are defined.
3288         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
3290 2016-06-23  Florian Weimer  <fweimer@redhat.com>
3292         [BZ #20191]
3293         Implement vtable verification in libio.
3294         * Makerules (shlib.lds): Place __libc_IO_vtables section.
3295         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
3296         * debug/vdprintf_chk.c (__vdprintf_chk): Call
3297         _IO_new_file_init_internal instead of _IO_file_init.
3298         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
3299         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
3300         * libio/Makefile (routines): Add vtables.
3301         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
3302         (_IO_init): Remove, not for internal use.
3303         (_IO_init_internal): Declare, internal replacement for _IO_init.
3304         (_IO_file_init): Remove, not for internal use.
3305         (_IO_new_file_init): Remove, not for internal use.
3306         (_IO_new_file_init_internal): Declare, internal replacement for
3307         _IO_new_file_init.
3308         (_IO_old_file_init): Remove, not for internal use.
3309         (_IO_old_file_init_internal): Declare, internal replacement for
3310         _IO_old_file_init.
3311         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
3312         internal use.
3313         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
3314         Declare.
3315         (libio_vtable): New macro.
3316         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
3317         functions.
3318         * libio/fileops.c (_IO_new_file_init_internal): Rename from
3319         _IO_new_file_init.
3320         (_IO_new_file_init): New externally visible wrapper which disables
3321         vtable verification.
3322         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
3323         Define as vtables.
3324         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
3325         (_IO_init): New externally visible wrapper which disables
3326         vtable verification.
3327         * libio/iofdopen.c (_IO_new_fdopen): Call
3328         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
3329         comment.
3330         * libio/iofopen.c (__fopen_internal): Call
3331         _IO_new_file_init_internal instead of _IO_file_init.
3332         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
3333         Define as vtables.
3334         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
3335         _IO_new_file_init_internal instead of _IO_file_init.
3336         * libio/iopopen.c (_IO_new_popen): Likewise.
3337         (_IO_proc_jumps): Define as vtable.
3338         * libio/iovdprintf.c (_IO_vdprintf): Call
3339         _IO_new_file_init_internal instead of _IO_file_init.
3340         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
3341         (__open_memstream): Call _IO_init_internal instead of _IO_init.
3342         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
3343         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
3344         _IO_old_file_init.
3345         (_IO_old_file_init): New externally visible wrapper which disables
3346         vtable verification.
3347         (_IO_old_file_jumps): Define as vtable.
3348         * libio/oldiofdopen.c (_IO_old_fdopen): Call
3349         _IO_old_file_init_internal instead of _IO_old_file_init.
3350         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
3351         * libio/oldiopopen.c (_IO_old_popen): Likewise.
3352         (_IO_old_proc_jumps): Define as vtable.
3353         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
3354         Define as vtables.
3355         * libio/vtables.c: New file.
3356         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
3357         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
3358         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
3359         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
3360         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
3361         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
3362         instead of _IO_init.
3364 2016-06-23  Florian Weimer  <fweimer@redhat.com>
3366         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
3368 2016-06-23  Florian Weimer  <fweimer@redhat.com>
3370         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
3371         potentially unused.
3373 2016-06-22  Florian Weimer  <fweimer@redhat.com>
3375         * test-skeleton.c (write_message): New function.
3376         * malloc/tst-mallocfork2.c (write_message): Remove.
3377         * debug/tst-longjmp_chk2.c (write_indented): New function.
3378         (write_message): Remove.
3379         (stackoverflow_handler): Call write_indented.
3381 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
3383         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
3384         "inexact" exceptions after fnstenv.
3385         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
3386         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
3387         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
3389 2015-06-22  Zack Weinberg  <zackw@panix.com>
3391         * sysdeps/generic/bits/hwcap.h: Moved to ...
3392         * bits/hwcap.h: Here.
3394 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
3396         * sysdeps/aarch64/memcpy.S (memcpy):
3397         Further tuning for performance.
3399 2016-06-21  Florian Weimer  <fweimer@redhat.com>
3401         [BZ #20284]
3402         * malloc/arena.c (reused_arena): Do not return NULL if we start
3403         out with a non-corrupted arena.
3405 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3407         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
3408         * misc/tst-preadvwritev.c: New file.
3409         * misc/tst-preadvwritev64.c: Likewise.
3410         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
3411         usage.
3412         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
3413         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
3414         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
3415         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
3417 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
3419         [BZ #19654]
3420         * sysdeps/x86_64/fpu/Makefile: Added new tests.
3421         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
3422         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
3423         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
3424         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
3425         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
3426         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
3427         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
3428         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
3429         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
3430         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
3431         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
3432         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
3433         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
3434         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
3435         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
3436         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
3437         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
3438         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
3439         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
3440         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
3441         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
3442         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
3443         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
3444         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
3445         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
3447 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
3449         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
3450         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
3452 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
3454         * sysdeps/aarch64/memcpy.S (memcpy):
3455         Rewrite of optimized memcpy and memmove.
3456         * sysdeps/aarch64/memmove.S (memmove): Remove
3457         memmove code (merged into memcpy.S).
3459 2016-06-20  Florian Weimer  <fweimer@redhat.com>
3461         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
3462         * sysdeps/generic/dl-dtv.h: New file.
3463         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3464         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
3465         (dtv_t): Remove.
3466         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3467         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
3468         (dtv_t): Remove.
3469         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3470         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
3471         (dtv_t): Remove.
3472         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3473         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
3474         (dtv_t): Remove.
3475         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3476         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
3477         (dtv_t): Remove.
3478         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3479         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
3480         (dtv_t): Remove.
3481         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3482         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
3483         (dtv_t): Remove.
3484         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
3485         (dtv_t): Remove.
3486         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3487         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
3488         (dtv_t): Remove.
3489         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3490         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
3491         (dtv_t): Remove.
3492         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3493         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
3494         (dtv_t): Remove.
3495         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3496         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
3497         (dtv_t): Remove.
3498         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3499         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
3500         (dtv_t): Remove.
3501         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3502         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
3503         (dtv_t): Remove.
3504         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3505         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
3506         (dtv_t): Remove.
3507         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3508         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
3509         (dtv_t): Remove.
3511 2016-06-20  Florian Weimer  <fweimer@redhat.com>
3513         Revert symbol poisoning of  __malloc_initialize_hook.
3514         * include/stdc-predef.h (__malloc_initialize_hook): Remove
3515         poisoning.
3516         * malloc/Makefile: Remove un-poisoning.
3517         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
3518         instead of old__malloc_initialize_hook.
3519         * malloc/malloc-hooks.h: Likewise.
3520         * malloc/malloc.c: Likewise.
3521         * malloc/mcheck-init.c: Likewise.
3523 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
3525         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
3527 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
3529         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
3530         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
3531         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
3532         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
3534 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3536         * NEWS: Mention addition of nextup and nextdown.
3537         * manual/arith.texi: Document nextup and nextdown.
3538         * manual/libm-err-tab.pl: Add nextup and nextdown.
3539         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
3540         * math/Versions (libm): Add GLIBC_2.24.
3541         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
3542         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
3543         Add new test.
3544         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
3545         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
3546         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
3547         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
3548         (nextup_test_data): Likewise.
3549         (nextdown_test_data): Likewise.
3550         * math/s_nextdown.c: New file.
3551         * math/s_nextdownf.c: Likewise.
3552         * math/s_nextdownl.c: Likewise.
3553         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
3554         F(nextup): New function.
3555         F(nextdown): Likewise.
3556         * math/tgmath.h: Add nextup and nextdown.
3557         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
3558         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
3559         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
3560         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
3561         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
3562         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
3563         Add nextup and nextdown.
3564         (CFLAGS-nldbl-nextup.c): New variable.
3565         (CFLAGS-nldbl-nextdown.c): Likewise.
3566         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
3567         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
3568         * sysdeps/nacl/libm.abilist: Update.
3569         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3570         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3571         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3572         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3573         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3574         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3575         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3576         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3577         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3578         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3579         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3580         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3581         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
3582         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3583         Likewise.
3584         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
3585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
3586         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3587         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3588         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3589         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3590         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3591         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
3592         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
3593         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3594         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3595         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
3596         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3598 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
3600         * manual/pattern.texi: Fix typos & grammar errors.
3602 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
3604         * manual/search.texi: Fix typos & grammar errors.
3606 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
3608         * manual/message.texi: Fix typos & grammar errors.
3610 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
3612         * manual/contrib.texi: Fix spelling typos.
3613         * manual/crypt.texi: Likewise.
3614         * manual/filesys.texi: Likewise.
3615         * manual/locale.texi: Likewise.
3616         * manual/message.texi: Likewise.
3617         * manual/nss.texi: Likewise.
3618         * manual/string.texi: Likewise.
3620 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
3622         * manual/locale.texi: Fix typos & grammar errors.
3624 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
3626         * manual/charset.texi: Fix typos & grammar errors.
3628 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
3630         * manual/string.texi: Fix typos.
3632 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
3634         * manual/ctype.texi: Fix typos.
3636 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
3638         * manual/memory.texi: Fix various typos & grammar errors.
3640 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
3642         [BZ #20255]
3643         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
3644         * math/libm-test.inc (fdim_test_data): Add another test.
3646         [BZ #6796]
3647         [BZ #20255]
3648         [BZ #20256]
3649         * math/s_fdim.c: Include <math_private.h>.
3650         (__fdim): Use math_narrow_eval on result.
3651         * math/s_fdimf.c: Include <math_private.h>.
3652         (__fdimf): Use math_narrow_eval on result.
3653         * sysdeps/i386/fpu/s_fdim.S: Remove file.
3654         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
3655         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
3656         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
3657         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
3658         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
3659         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
3660         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
3661         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
3662         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
3663         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
3664         * math/libm-test.inc (fdim_test_data): Expect errno setting on
3665         overflow.  Add sNaN tests.
3667         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
3668         fpclassify.
3669         * math/s_fdimf.c (__fdimf): Likewise.
3670         * math/s_fdiml.c (__fdiml): Likewise.
3672 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3674         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
3675         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
3676         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3677         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
3678         ifunc'ed strcasecmp/strncasecmp.
3679         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
3680         [EALIGN]: Removed.
3681         [END]: Likewise.
3682         [__strcasecmp]: Define instead of the above to control symbol name.
3683         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
3684         for __strcasecmp_power8.
3685         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
3686         for __strncasecmp_power8.
3687         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
3688         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
3689         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
3690         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
3691         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
3692         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
3694 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
3696         [BZ #20252]
3697         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
3698         arguments when second argument is a NaN.
3699         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
3700         qNaN tests.
3702         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
3703         (conj_test_data): Likewise.
3704         (copysign_test_data): Likewise.
3705         (creal_test_data): Likewise.
3706         (fma_test_data): Likewise.
3707         (fmod_test_data): Likewise.
3709         [BZ #20250]
3710         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
3711         itself.
3712         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
3713         zero input to itself.
3714         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
3715         Likewise.
3716         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
3717         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
3718         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
3719         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
3720         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
3722 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3724         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
3725         * nptl/tst-cancel4-common.c: New file.
3726         * nptl/tst-cancel4-common.h: Likewise.
3727         * nptl/tst-cancel4.c: Move common definitions to
3728         tst-cancel4-common.{c,h} file.
3729         * nptl/tst-cancel4_1.c: New test.
3730         * nptl/tst-cancel4_2.c: New test.
3732 2016-06-13  Florian Weimer  <fweimer@redhat.com>
3734         [BZ #20248]
3735         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
3736         (write_message): New function.
3737         (stackoverflow_handler): Call it instead of printf, to avoid
3738         excessive stack usage by printf.
3739         (do_test): Restore SIGSEGV, SIGBUS default handlers.
3741 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3743         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
3744         (prio_inherit_missing): Remove define.
3745         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3746         (__ASSUME_FUTEX_LOCK_PI): Likewise.
3747         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
3748         Likewise.
3749         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3750         (__ASSUME_FUTEX_LOCK_PI): Likewise.
3751         * sysdeps/unix/sysv/linux/mips/kernel-features.h
3752         (__ASSUME_FUTEX_LOCK_PI): Likewise.
3753         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
3754         (__ASSUME_FUTEX_LOCK_PI): Likewise.
3756 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
3758         [BZ #19670]
3759         [BZ #19672]
3761         * io/test-lfs.c (do_prepare): Use xmalloc.
3762         * io/tst-fcntl.c (do_prepare): Likewise.
3763         * libio/tst-fopenloc.c (do_bz17916): Likewise.
3764         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
3765         * login/tst-utmp.c (do_prepare): Likewise.
3766         * posix/tst-exec.c (do_prepare): Likewise.
3767         * posix/tst-pathconf.c (prepare): Likewise.
3768         * posix/tst-spawn.c (do_prepare): Likewise.
3769         * posix/tst-truncate.c (do_prepare): Likewise.
3770         * rt/tst-aio.c (do_prepare): Likewise.
3771         * rt/tst-aio64.c (do_prepare): Likewise.
3773 2016-06-11  Florian Weimer  <fweimer@redhat.com>
3775         [BZ #20237]
3776         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
3777         (get*ent): Set entidx to NULL during initialization.  If entidx is
3778         NULL, start iteration from the beginning.
3780 2016-06-11  Florian Weimer  <fweimer@redhat.com>
3782         * malloc/malloc.c (musable): Return correct size for dumped fake
3783         mmapped chunk.
3785 2016-06-11  Florian Weimer  <fweimer@redhat.com>
3787         [BZ #20222]
3788         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
3789         (_IO_cookie_write): Likewise.
3790         (_IO_cookie_seek): Likewise.
3791         (_IO_cookie_close): Likewise.
3792         (_IO_old_cookie_seek): Likewise.
3793         (set_callbacks): New function.
3794         (_IO_cookie_init): Call set_callbacks to copy callbacks.
3796 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
3798         * locale/programs/localedef.c (oldstyle_tables): Remove.
3799         * locale/programs/localedef.h (oldstyle_tables): Likewise.
3801 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
3803         [BZ #20240]
3804         * math/Makefile (CFLAGS-s_modf.c): New variable.
3805         (CFLAGS-s_modff.c): Likewise.
3806         (CFLAGS-s_modfl.c): Likewise.
3807         * math/libm-test.inc (modf_test_data): Add sNaN tests.
3809 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
3811         [BZ #20215]
3812         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
3813         [!__GNUC_PREREQ (3,2)]: Likewise.
3815 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
3817         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
3818         (msghdr.msg_controllen): Likewise.
3819         (cmsghdr.cmsg_len): Likewise.
3820         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
3821         ptw-oldsendmsg.
3822         (CFLAGS-oldrecvmsg.c): Remove rule.
3823         (CFLAGS-oldsendmsg.c): Likewise.
3824         (CFLAGS-recvmsg.c): Add rule.
3825         (CFLAGS-sendmsg.c): Likewise.
3826         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
3827         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
3828         (CFLAGS-recvmsg.c): Remove rule.
3829         (CFLAGS-sendmsg.c): Likewise.
3830         (CFLAGS-oldrecvmsg.c): Likewise.
3831         (CFLAGS-oldsendmsg.c): Likewise.
3832         (CFLAGS-recvmmsg.c): Likewise.
3833         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
3834         to kernel defined interfaces.
3835         (msghdr.msg_controllen): Likewise.
3836         (cmsghdr.cmsg_len): Likewise.
3837         (msghdr.__glibc_reserved1): Remove member.
3838         (msghdr.__glibc_reserved2): Likewise.
3839         (cmsghdr.__glibc_reserved1): Likewise.
3840         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
3841         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
3842         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
3843         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
3844         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
3845         version.
3846         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
3847         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
3848         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
3849         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
3850         Remove recvmsg and sendmsg.
3851         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
3852         Likewise.
3853         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
3854         Likewise.
3855         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
3856         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
3857         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
3858         Likewise.
3859         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
3860         Likewise.
3861         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
3862         [libc] (GLIBC_2.24): Likewise.
3863         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
3864         Likewise.
3865         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
3866         Likewise.
3867         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
3868         [libc] (GLIBC_2.24): Likewise.
3869         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
3870         Likewise.
3871         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
3872         Likewise.
3873         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
3874         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
3875         Likewise.
3876         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
3877         Likewise.
3878         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
3879         Likewise.
3880         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
3881         Likewise.
3882         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
3883         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
3884         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
3885         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
3886         version for {recv,send,recm,sendm}msg.
3887         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
3888         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
3889         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
3890         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
3891         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
3892         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
3893         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
3894         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
3895         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
3896         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
3897         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
3898         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
3899         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
3900         Likewise.
3901         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3902         Likewise.
3903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
3904         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
3905         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
3906         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3907         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
3908         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
3909         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
3910         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
3911         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
3912         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
3913         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
3914         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
3915         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
3917 2016-06-10  Florian Weimer  <fweimer@redhat.com>
3919         [BZ #19564]
3920         Remove __malloc_initialize_hook from the API.
3921         * malloc/malloc.h (__malloc_initialize_hook): Remove.
3922         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
3923         #pragma GCC poison.
3924         * malloc/malloc-hooks.h: New file.
3925         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
3926         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
3927         (old__malloc_initialize_hook): Rename from
3928         __malloc_initialize_hook to evade poisoning.  Turn into compat
3929         symbol.
3930         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
3931         __malloc_initialize_hook.
3932         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
3933         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
3934         * manual/memory.texi (Hooks for Malloc): Remove
3935         __malloc_initialize_hook.  Adjust hook example.
3937 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
3939         [BZ #20235]
3940         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
3941         itself.
3942         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
3943         * math/libm-test.inc (log2_test_data): Add sNaN tests.
3945         [BZ #20234]
3946         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
3947         infinity or NaN input to itself.
3949         [BZ #20233]
3950         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
3951         to itself.
3953         [BZ #20232]
3954         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
3955         itself.
3957 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
3959         * sysdeps/x86_64/start.S (_start): Always indirect branch to
3960         __libc_start_main via GOT.
3962 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
3964         * sysdeps/x86_64/memcopy.h: New file.
3965         * sysdeps/x86_64/wordcopy.c: Likewise.
3967 2016-06-09  Florian Weimer  <fweimer@redhat.com>
3969         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
3970         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
3971         <cstdlib>.
3972         (optimization_barrier): New.
3973         (do_test): Use it.  Call quick_exit in the global namespace.
3974         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
3975         instead of <cstdlib>, <thread>.
3976         (optimization_barrier): New.
3977         (non_main_thread): Adjust declaration.  Call optimization_barrier.
3978         Call quick_exit in the global namespace.
3979         (do_test): Call optimization_barrier.  Use pthread_create,
3980         pthread_join instead of std::thread.
3982 2016-06-09  Andreas Schwab  <schwab@suse.de>
3984         [BZ #19755]
3985         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
3986         new entries in auto-propagate mode.
3987         * nscd/grpcache.c (cache_addgr): Likewise.
3989 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
3991         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
3992         New functions.
3993         (add_temp_file): Use them.
3995 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
3997         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
3999 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
4001         [BZ #20229]
4002         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
4003         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
4004         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
4006         [BZ #20228]
4007         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
4008         itself.
4009         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
4010         * math/libm-test.inc (log10_test_data): Add sNaN tests.
4012         [BZ #20227]
4013         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
4014         itself.
4015         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
4016         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
4017         * math/libm-test.inc (log_test_data): Add sNaN tests.
4019         [BZ #20226]
4020         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
4021         itself.
4022         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
4023         * math/libm-test.inc (exp_test_data): Add sNaN tests.
4024         (exp10_test_data): Likewise.
4025         (expm1_test_data): Likewise.
4027         [BZ #20225]
4028         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
4029         itself.
4030         * math/s_ldexpf.c (__ldexpf): Likewise.
4031         * math/s_ldexpl.c (__ldexpl): Likewise.
4032         * math/w_scalbln.c (__w_scalbln): Likewise.
4033         * math/w_scalblnf.c (__w_scalblnf): Likewise.
4034         * math/w_scalblnl.c (__w_scalblnl): Likewise.
4035         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
4036         (scalbln_test_data): Likewise.
4038         [BZ #20224]
4039         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
4040         argument to itself.
4041         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
4043 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
4045         [BZ #19776]
4046         * sysdeps/x86_64/memcpy.S: Make it dummy.
4047         * sysdeps/x86_64/mempcpy.S: Likewise.
4048         * sysdeps/x86_64/memmove.S: New file.
4049         * sysdeps/x86_64/memmove_chk.S: Likewise.
4050         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
4051         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
4052         * sysdeps/x86_64/memmove.c: Removed.
4053         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
4054         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
4055         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
4056         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
4057         Likewise.
4058         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
4059         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
4060         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
4061         memcpy-sse2-unaligned, memmove-avx-unaligned,
4062         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
4063         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
4064         (__libc_ifunc_impl_list): Replace
4065         __memmove_chk_avx512_unaligned_2 with
4066         __memmove_chk_avx512_unaligned.  Remove
4067         __memmove_chk_avx_unaligned_2.  Replace
4068         __memmove_chk_sse2_unaligned_2 with
4069         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
4070         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
4071         with __memmove_avx512_unaligned.  Replace
4072         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
4073         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
4074         with __memcpy_chk_avx512_unaligned.  Remove
4075         __memcpy_chk_avx_unaligned_2.  Replace
4076         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
4077         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
4078         Replace __memcpy_avx512_unaligned_2 with
4079         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
4080         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
4081         with __mempcpy_chk_avx512_unaligned.  Remove
4082         __mempcpy_chk_avx_unaligned_2.  Replace
4083         __mempcpy_chk_sse2_unaligned_2 with
4084         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
4085         Replace __mempcpy_avx512_unaligned_2 with
4086         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
4087         Replace __mempcpy_sse2_unaligned_2 with
4088         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
4089         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
4090         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
4091         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
4092         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
4093         (ENTRY): Removed.
4094         (END): Likewise.
4095         (ENTRY_CHK): Likewise.
4096         (libc_hidden_builtin_def): Likewise.
4097         Don't include ../memcpy.S.
4098         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
4099         __memcpy_chk_avx512_unaligned_erms and
4100         __memcpy_chk_avx512_unaligned.  Use
4101         __memcpy_chk_avx_unaligned_erms and
4102         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
4103         Default to __memcpy_chk_sse2_unaligned.
4104         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
4105         Change function suffix from unaligned_2 to unaligned.
4106         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
4107         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
4108         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
4109         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
4110         (ENTRY): Removed.
4111         (END): Likewise.
4112         (ENTRY_CHK): Likewise.
4113         (libc_hidden_builtin_def): Likewise.
4114         Don't include ../mempcpy.S.
4115         (mempcpy): New.  Add a weak alias.
4116         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
4117         __mempcpy_chk_avx512_unaligned_erms and
4118         __mempcpy_chk_avx512_unaligned.  Use
4119         __mempcpy_chk_avx_unaligned_erms and
4120         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
4121         Default to __mempcpy_chk_sse2_unaligned.
4123 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
4125         [BZ #19881]
4126         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
4127         into ...
4128         * sysdeps/x86_64/memset.S: This.
4129         (__bzero): Removed.
4130         (__memset_tail): Likewise.
4131         (__memset_chk): Likewise.
4132         (memset): Likewise.
4133         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
4134         defined.
4135         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
4136         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
4137         (__memset_zero_constant_len_parameter): Check SHARED instead of
4138         PIC.
4139         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
4140         memset-avx2 and memset-sse2-unaligned-erms.
4141         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
4142         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
4143         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
4144         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
4145         (__bzero): Enabled.
4146         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
4147         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
4148         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
4149         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
4150         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
4151         (memset): Removed.
4152         (__memset_chk): Likewise.
4153         (MEMSET_SYMBOL): New.
4154         (libc_hidden_builtin_def): Replace __memset_sse2 with
4155         __memset_sse2_unaligned.
4156         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
4157         __memset_chk_sse2 and __memset_chk_avx2 with
4158         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
4159         Use __memset_chk_sse2_unaligned_erms or
4160         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
4161         __memset_chk_avx512_unaligned_erms and
4162         __memset_chk_avx512_unaligned.
4164 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4166         * math/gen-auto-libm-test.c (fp_format_desc): remove
4167         suffix member.
4168         (output_generic_value): Remove usage of suffix member,
4169         and the resulting unuse of the fp_format argument.
4170         (output_for_one_input_case): Remove unused fp_format
4171         parameter.
4173         * math/auto-libm-test-out: Regenerate.
4175         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
4176         usage with TEST_COND_ibm128.
4177         (TEST_COND_flt_32): Remove.
4178         (TEST_COND_dbl_64): Remove.
4179         (TEST_COND_ldbl_96_intel): Remove.
4180         (TEST_COND_ldbl_96_m68k): Remove.
4181         (TEST_COND_ldbl_128): Remove.
4183 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4185         * auto-libm-test-in:
4186         Replace flt-32 usage with binary32.
4187         Replace dbl-64 usage with binary64.
4188         Replace ldbl-intel-96 usage with intel96.
4189         Replace ldbl-m68k-96 usage with m68k96.
4190         Replace ldbl-128ibm usage with ibm128.
4191         Replace ldbl-128 usage with binary128.
4193         * auto-libm-test-out: Regenerate.
4195 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4197         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
4198         (parse_ulps): Dynamically generate type name matching
4199         string from all_floats.
4200         (get_ulps): Generate the ulps as an array instead.
4201         (output_ulps): Dynamically compose the type based
4202         on the number of supported formats, and print
4203         the indices as type specific helper macros.
4205         * math/libm-test.inc: Remove comment about CHOOSE.
4206         (ulp_data): Generate the type in libm-test-ulps.h.
4207         (ULP_IDX): New macro.
4208         (find_ulps): Update usage of max_ulp.
4210         * math/test-double-vlen2.h (CHOOSE): Remove.
4211         * math/test-double-vlen4.h (CHOOSE): Likewise.
4212         * math/test-double-vlen8.h (CHOOSE): Likewise.
4213         * math/test-float.c (CHOOSE): Likewise.
4214         * math/test-float-finite.c (CHOOSE): Likewise.
4215         * math/test-double.c (CHOOSE): Likewise.
4216         * math/test-double-finite.c (CHOOSE): Likewise.
4217         * math/test-idouble.c (CHOOSE): Likewise.
4218         * math/test-ifloat.c (CHOOSE): Likewise.
4219         * math/test-ildoubl.c (CHOOSE): Likewise.
4220         * math/test-ldouble-finite.c (CHOOSE): Likewise.
4221         * math/test-ldouble.c (CHOOSE): Likewise.
4223         * math/test-float.h (TEST_FLOAT): Remove.
4224         * math/test-double.h (TEST_DOUBLE): Likewise.
4225         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
4227 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4229         * math/gen-libm-test.pl: (apply_lit): New subroutine.
4230         (parse_args): Strip C suffix from floating point literals
4231         typed with 'f' and wrap them with LIT().
4233         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
4234         (test_ff_f_data_nexttoward): Rename to
4235         (test_fj_f_data): New struct.
4236         (nexttoward_test_data): Relabel tests as
4237         TEST_fj_f instead of TEST_ff_f.
4239 2016-06-08  Florian Weimer  <fweimer@redhat.com>
4241         Emacs bug 23726.
4242         * malloc/malloc.c (dumped_main_arena_start): Update comment.
4243         (__libc_realloc): Correct size computation for dumped fake mmapped
4244         chunks.
4246 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
4248         [BZ #20219]
4249         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
4250         to itself.
4251         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
4253         [BZ #20218]
4254         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
4255         to itself.
4256         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
4258 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
4260         [BZ #20195]
4261         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
4262         check to ...
4263         (init_cpu_features): Here.
4265 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
4267         [BZ #20214]
4268         * sysdeps/unix/sysv/linux/bits/in.h
4269         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
4270          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
4271         Define to 1.
4272         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
4273          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
4274         Define to 0.
4275         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
4276         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
4278 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
4280         [BZ #20198]
4281         * stdlib/Makefile (tests): Add tst-quick_exit, and
4282         tst-thread-quick_exit.
4283         [ifeq ($(have-cxx-thread_local),yes)]
4284         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
4285         (CFLAGS-tst-thread-quick_exit.o): Likewise.
4286         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
4287         (LDLIBS-tst-thread-quick_exit): Likewise.
4288         [ifneq ($(have-cxx-thread_local),yes)]
4289         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
4290         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
4291         If run_dtors is true call __call_tls_dtors.
4292         (exit): Call __run_exit_handlers with run_dtors set to true.
4293         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
4294         definition.
4295         * stdlib/quick_exit.c (quick_exit): Remove function.
4296         (__new_quick_exit): New function.
4297         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
4298         function.
4299         * stdlib/tst-quick_exit.cc: New file.
4300         * stdlib/tst-thread-quick_exit.cc: New file.
4301         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
4302         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
4303         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
4304         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
4305         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
4306         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
4307         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
4308         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
4309         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
4310         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
4311         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
4312         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
4313         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
4314         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
4315         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
4316         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
4317         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
4318         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
4319         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
4320         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
4321         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
4322         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
4323         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
4324         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
4325         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
4326         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
4327         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
4328         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
4329         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
4330         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
4332 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
4334         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
4335         a typo in comments.
4337 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
4339         [BZ #20213]
4340         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
4341         argument to itself.
4342         * math/libm-test.inc (asin_test_data): Add sNaN tests.
4344 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4346         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
4347         required flags.
4348         (CFLAGS-pwritev64.c): Likewise.
4349         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
4350         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
4351         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
4352         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
4353         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likwise.
4354         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
4355         syscall from auto-generation.
4356         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
4357         [WORDSIZE == 64] (pwritev64): Remove macro.
4358         [!PWRITEV] (PWRITEV): Likewise.
4359         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
4360         [!PWRITEV] (PWRITE): Likewise.
4361         [!PWRITEV] (OFF_T): Likewise.
4362         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
4363         (LO_HI_LONG): Remove macro.
4364         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
4365         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
4366         (PWRITEV): Remove macro.
4367         (PWRITEV_REPLACEMENTE): Likewise.
4368         (PWRITE): Likewise.
4369         (OFF_T): Likewise.
4370         (pwritev64): New function.
4371         * nptl/tst-cancel4.c (tf_writev): Add test.
4373         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
4374         required flags.
4375         (CFLAGS-preadv64.c): Likewise.
4376         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
4377         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
4378         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
4379         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
4380         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likwise.
4381         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
4382         syscall from auto-generation.
4383         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
4384         [WORDSIZE == 64] (preadv64): Remove macro.
4385         [!PREADV] (PREADV): Likewise.
4386         [!PREADV] (PREADV_REPLACEMENT): Likewise.
4387         [!PREADV] (PREAD): Likewise.
4388         [!PREADV] (OFF_T): Likewise.
4389         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
4390         (LO_HI_LONG): Remove macro.
4391         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
4392         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
4393         (PREADV): Remove macro.
4394         (PREADV_REPLACEMENTE): Likewise.
4395         (PREAD): Likewise.
4396         (OFF_T): Likewise.
4397         (preadv64): New function.
4398         * nptl/tst-cancel4.c (tf_preadv): Add test.
4400 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
4402         [BZ #20212]
4403         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
4404         argument to itself.
4405         * math/libm-test.inc (acos_test_data): Add sNaN tests.
4407 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4409         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
4410         New symbol defined as libc_hidden_def.
4411         (strcasestr): Became a weak alias to __strcasestr.
4412         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
4413         according to multi-arch support.  Move __stpncpy hidden
4414         definition from here to...
4415         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
4416         symbol stpncpy.
4417         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
4418         libc_hidden_builtin_def.
4419         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
4420         memset symbol to use when multi-arch support is available.
4422 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
4424         * dlfcn/tst-rec-dlopen.c: Include string.h.
4426 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
4428         * manual/install.texi: Remove mention of --without-tls
4429         * INSTALL: Regenerate.
4431 2016-06-05  Florian Weimer  <fweimer@redhat.com>
4433         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
4434         Remove.
4435         (call_function, interposed_malloc_called): New variables.
4436         (malloc): New function.
4437         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
4438         and clear call_function as needed.
4440 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
4442         * include/wchar.h (__wmemset): Use __typeof.
4444 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
4446         * include/wchar.h (__wmemset): Declare function without typeof.
4448 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
4450         [BZ #20205]
4451         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
4452         exponent when incrementing negative subnormal with low mantissa
4453         word zero.
4454         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
4455         Add another test.
4457 2016-06-03  Florian Weimer  <fweimer@redhat.com>
4459         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
4460         __wmemset instead of wmemset.
4462 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
4464         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
4465         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
4466         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
4467         __USE_KERNEL_IPV6_DEFS to 0.
4468         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
4469         Update comment.
4471 2016-06-01  Florian Weimer  <fweimer@redhat.com>
4473         [BZ #19861]
4474         Do not use IFUNC resolver with potentially unrelocated symbol.
4475         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
4476         (DEFINE_FORK): Remove macro and inline definition.
4477         (fork_alias): Renamed from fork_ifunc.
4478         (__fork_alias): Renamed from __fork_ifunc.
4480 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
4482         [BZ 19653]
4483         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
4484         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
4486 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4488         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
4489         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
4490         i386-linux-gnu).
4491         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
4492         Set to no.
4493         * sysdeps/mach/hurd/configure: Refresh.
4495 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4497         [BZ #20178]
4498         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
4499         on failure instead of exit.
4501 2016-05-30  Roland McGrath  <roland@hack.frob.com>
4503         [BZ #3629]
4504         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
4505         of POSIX.1-2008.
4507 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4509         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
4510           Use PLT entry for calling _hurd_self_sigstate.
4512 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
4514         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
4515         available logical processors with SMT level type sharing L2
4516         cache for Intel processors.
4518 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
4520         [BZ #20160]
4521         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
4522         argument to itself before returning the result.
4523         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
4524         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
4525         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
4526         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
4527         Likewise.
4528         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
4529         Likewise.
4530         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
4531         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
4532         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
4533         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
4534         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
4535         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
4537         [BZ #20160]
4538         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
4539         argument to itself before returning the result.
4540         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
4541         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
4542         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
4543         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
4544         Likewise.
4545         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
4546         Likewise.
4547         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
4548         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
4549         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
4550         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
4551         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
4552         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
4554 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4556         * libm-test.inc: Replace usage of M_El with
4557         (lit_e): New macro.
4559 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4561         * libm-test.inc: Replace usage of M_PI_4l with
4562         (lit_pi_4_d): New macro.
4564 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4566         * libm-test.inc: Replace usage of M_PIl with
4567         (lit_pi): New macro.
4569 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4571         * libm-test.inc: Replace usage of M_PI2l with
4572         (lit_pi_2_d): New macro.
4574         * math/test-double.h (LITM): New macro.
4575         * math/test-float.h (LITM): Likewise.
4576         * math/test-ldouble.h (LITM): Likewise.
4578 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4580         * libm-test.inc (M_PI_34l): Rename to
4581         (lit_pi_3_m_4_d): New Macro.
4582         (M_PI_34_LOG10El): Rename to
4583         (lit_pi_3_m_4_ln10_m_d): New Macro.
4584         (M_PI2_LOG10El): Rename to
4585         (lit_pi_2_ln10_m_d):  New Macro.
4586         (M_PI4_LOG10El): Rename to
4587         (lit_pi_4_ln10_m_d):  New Macro.
4588         (M_PI_LOG10El): Rename to
4589         (lit_pi_ln10_d):  New Macro.
4591 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
4593         [BZ #20157]
4594         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
4595         determine whether to negate low half if [_ARCH_PPCGR], and integer
4596         comparison otherwise.
4597         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
4598         determine whether to negate low half.
4600         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
4601         (NO_TEST_INLINE_DOUBLE): Likewise.
4602         (TEST_COND_x86_64): Likewise.
4603         (TEST_COND_x86): Likewise.
4604         (M_PI_6l): Likewise.
4606 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4608         * math/libm-test.inc:
4609         (TEST_FLOAT): Change usage to TEST_COND_binary32.
4610         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
4611         (TEST_LDOUBLE): Update usage to evaluate as true if
4612         the guarded tests match the property being tested.
4613         (LDBL_MAX_EXP): Change to MAX_EXP.
4614         (LDBL_MIN_EXP): Change to MIN_EXP.
4615         (LDBL_MANT_DIG): Change to MANT_DIG, except for
4616         nexttoward tests.
4618 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4620         * math/libm-test.inc:
4621         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
4622         (TYPE_MIN): Likewise.
4623         (TYPE_TRUE_MIN): Likewise.
4624         (TYPE_MAX): Likewise.
4625         (MIN_EXP): Likewise.
4626         (MAX_EXP): Likewise.
4627         (MANT_DIG): Likewise.
4629         (FSTR_MAX): New macro.
4630         (__CONCATX): Likewise.
4631         (QTYPE_STR): Likewise.
4632         (TEST_COND_binary32): Likewise.
4633         (TEST_COND_binary64): Likewise.
4634         (TEST_COND_binary128): Likewise.
4635         (TEST_COND_ibm128): Likewise.
4636         (TEST_COND_intel96): Likewise.
4637         (TEST_COND_m68k96): Likewise.
4639         (TEST_COND_flt_32): Redefine as equivalent format test macro.
4640         (TEST_COND_dbl_64): Likewise.
4641         (TEST_COND_ldbl_96_intel): Likewise.
4642         (TEST_COND_ldbl_96_m68k): Likewise.
4643         (TEST_COND_ldbl_128): Likewise.
4644         (TEST_COND_ldbl_128ibm): Likewise.
4646         (plus_zero): Redefine using LIT macro.
4647         (minus_zero): Likewise.
4648         (plus_infty): Redefine as (INF).
4649         (minux_infty): Redefine as (-INF).
4650         (max_value): Redefine as TYPE_MAX.
4651         (min_value): Redefine as TYPE_MIN.
4652         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
4654         (print_float): Refactor to use snprintf to convert FLOAT values
4655         to string. This brings it closer to dropin replacement of strtof
4656         for the TS 18661 defined types.
4657         (update_stats): Likewise.
4658         (print_complex_function_ulps): Likewise.
4659         (print_max_error): Likewise.
4660         (print_complex_max_error): Likewise.
4661         (check_float_internal): Likewise.
4663         * math/test-float.h (PREFIX): New macro.
4664         (LIT): Likewise.
4665         (TYPE_STR): Likewise.
4666         (FTOSTR): Likewise.
4668         * math/test-double.h (PREFIX): New macro.
4669         (LIT): Likewise.
4670         (TYPE_STR): Likewise.
4671         (FTOSTR): Likewise.
4673         * math/test-ldouble.h (PREFIX): New macro.
4674         (LIT): Likewise.
4675         (TYPE_STR): Likewise.
4676         (FTOSTR): Likewise.
4678 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
4680         [BZ #20156]
4681         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
4682         to itself when zero or not finite.
4683         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
4684         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
4685         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
4686         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
4688 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
4690         [BZ #20153]
4691         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
4692         x * x + x for infinities and NaNs.
4694         [BZ #20151]
4695         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
4696         argument to itself before returning result.
4697         (__ieee754_y0l): Likewise.
4698         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
4699         (__ieee754_y1l).
4701         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
4702         (atan_test_data): Likewise.
4703         (ceil_test_data): Likewise.
4704         (cos_test_data): Likewise.
4705         (cosh_test_data): Likewise.
4706         (erf_test_data): Likewise.
4707         (exp2_test_data): Likewise.
4708         (fabs_test_data): Likewise.
4709         (floor_test_data): Likewise.
4710         (ilogb_test_data): Likewise.
4711         (j0_test_data): Likewise.
4712         (j1_test_data): Likewise.
4713         (jn_test_data): Likewise.
4714         (lgamma_test_data): Likewise.
4715         (lrint_test_data): Likewise.
4716         (llrint_test_data): Likewise.
4717         (logb_test_data): Likewise.
4718         (lround_test_data): Likewise.
4719         (llround_test_data): Likewise.
4720         (nearbyint_test_data): Likewise.
4721         (rint_test_data): Likewise.
4722         (round_test_data): Likewise.
4723         (sin_test_data): Likewise.
4724         (sincos_test_data): Likewise.
4725         (sinh_test_data): Likewise.
4726         (sqrt_test_data): Likewise.
4727         (tan_test_data): Likewise.
4728         (tanh_test_data): Likewise.
4729         (tgamma_test_data): Likewise.
4730         (trunc_test_data): Likewise.
4731         (y0_test_data): Likewise.
4732         (y1_test_data): Likewise.
4733         (yn_test_data): Likewise.
4735         * math/libm-test.inc: Update comment about NaN testing.
4736         (TEST_SNAN): New macro.
4737         (snan_value): Likewise.
4738         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
4739         (fpclassify_test_data): Add sNaN tests.
4740         (isfinite_test_data): Likewise.
4741         (isinf_test_data): Likewise.
4742         (isnan_test_data): Likewise.
4743         (isnormal_test_data): Likewise.
4744         (issignaling_test_data): Likewise.
4745         (signbit_test_data): Likewise.
4746         * math/gen-libm-test.pl (%beautify): Add snan_value.
4747         (show_exceptions): Add argument $test_snan.
4748         (parse_args): Handle snan_value as non-finite.  Update call to
4749         show_exceptions.
4750         * math/Makefile (libm-test-no-inline-cflags): Add
4751         -fsignaling-nans.
4753 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4755         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
4756         (CFLAGS-oldsendmsg.c): Add rule.
4757         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
4758         Correct recvmsg symbol name.
4759         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
4760         Likewise.
4762 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4764         * sysdeps/unix/sysv/linux/Makefile
4765         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
4766         oldsendmmsg.
4767         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
4768         sendmmsg.
4769         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4770         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4771         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4772         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
4773         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
4774         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4775         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4776         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
4777         Likewise.
4778         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4779         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
4780         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
4781         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
4782         iovlen and controllen fields to adjust to POSIX specification.
4783         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
4785         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
4786         and change to correct expected type.
4787         (msghdr.msg_controllen): Likewise.
4788         (cmsghdr.cmsg_len): Likewise.
4789         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
4790         expected POSIX assumption about the size.
4791         (msghdr.msg_controllen): Likewise.
4792         (msghdr.__glibc_reserved1): Likewise.
4793         (msghdr.__glibc_reserved2): Likewise.
4794         (cmsghdr.cmsg_len): Likewise.
4795         (cmsghdr.__glibc_reserved1): Likewise.
4796         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
4797         Add ptw-oldrecvmsg and ptw-oldsendmsg.
4798         (CFLAGS-sendmsg.c): Remove rule.
4799         (CFLAGS-recvmsg.c): Likewise.
4800         (CFLAGS-oldsendmsg.c): Add rule.
4801         (CFLAGS-oldrecvmsg.c): Likewise.
4802         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
4803         recvmsg and sendmsg.
4804         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
4805         Likewise.
4806         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
4807         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
4808         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
4809         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
4810         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
4811         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
4812         Likewise.
4813         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
4814         Likewise.
4815         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
4816         Likewise.
4817         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
4818         Likewise.
4819         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
4820         Likewise.
4821         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
4822         Likewise.
4823         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
4824         (GLIBC_2.24): Likewise.
4825         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
4826         Likewise.
4827         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
4828         Likewise.
4829         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
4830         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
4831         Likewise.
4832         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
4833         Likewise.
4834         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
4835         Likewise.
4836         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
4837         (GLIBC_2.24): Likewise.
4838         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
4839         Likewise.
4840         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
4841         Likewise.
4842         * sysdeps/unix/sysv/linux/Makefile
4843         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
4844         (CFLAGS-sendmsg.c): Add rule.
4845         (CFLAGS-recvmsg.c): Likewise.
4846         (CFLAGS-oldsendmsg.c): Likewise.
4847         (CFLAGS-oldrecvmsg.c): Likewise.
4848         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
4849         initialization.
4850         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
4851         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
4852         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
4853         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
4854         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
4855         iovlen and controllen fields to adjust to POSIX specification.
4856         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
4857         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
4858         added recvmsg and sendmsg.
4859         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4860         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
4861         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
4862         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4863         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
4864         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
4865         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
4866         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
4867         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
4868         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
4869         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4870         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
4871         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
4872         Likewise.
4873         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
4874         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
4875         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
4876         Likewise.
4877         Likewise.
4878         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4879         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4880         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
4881         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4882         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4883         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4884         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
4885         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
4886         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
4887         Likewise.
4888         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4889         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
4891         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
4892         from auto-generation.
4893         (sendmsg): Likewise.
4894         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
4895         (sendmsg): Likewise.
4896         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
4897         (sendmsg): Likewise.
4898         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
4899         (sendmsg): Likewise.
4900         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
4901         (sendmsg): Likewise.
4902         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
4903         (sendmsg): Likewise.
4904         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
4905         Likewise.
4906         (sendmsg): Likewise.
4907         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
4908         (sendmsg): Likewise.
4909         * sysdeps/unix/sysv/linux/i386/kernel-features.h
4910         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
4911         Remove.
4912         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
4913         Likewise.
4914         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
4915         Undefine.
4916         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
4917         Likewise.
4918         * sysdeps/unix/sysv/linux/kernel-features.h
4919         (__ASSUME_SENDMSG_SYSCALL): Define.
4920         (__ASSUME_RECVMSG_SYSCALL): Likewise.
4921         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4922         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
4923         Remove.
4924         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
4925         Likewise.
4926         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
4927         Undefine.
4928         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
4929         Likewise.
4930         * sysdeps/unix/sysv/linux/s390/kernel-features.h
4931         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
4932         Remove.
4933         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
4934         Likewise.
4935         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
4936         Undefine.
4937         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
4938         Likewise.
4939         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4940         (__ASSUME_SENDMSG_SYSCALL): Undefine.
4941         (__ASSUME_RECVMSG_SYSCALL): Likewise.
4942         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
4943         (__ASSUME_SENDMSG_SYSCALL): Likewise.
4944         (__ASSUME_RECVMSG_SYSCALL): Likewise.
4945         * sysdeps/unix/sysv/linux/sh/kernel-features.h
4946         (__ASSUME_SENDMSG_SYSCALL): Likewise.
4947         (__ASSUME_RECVMSG_SYSCALL): Likewise.
4949 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4951         * stdlib/gen-tst-strtod-round.c: Add backslash to
4952         compile command in comment.
4953         (printfp): Remove the literal suffix, and define an infinite
4954         value as INF to avoid expansion clash with INFINITY.
4955         (round_str): Remove the literal suffix.
4956         (round_for_all): Likewise, remove the now duplicate ldbl-64
4957         entry, and remove some magic constants.
4959         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
4960         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
4961         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
4962         (_CONCAT): New macro.
4963         (CONCAT): Likewise.
4964         (CHOOSE_ld): Likewise.
4965         (CHOOSE_f): Likewise.
4966         (CHOOSE_d): Likewise.
4967         (FTYPE_MEMBER): Likewise.
4968         (BOOL_MEMBER): Likewise.
4969         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
4970         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
4971         (_XNTRY): Likewise.
4972         (XNTRY): Likewise.
4973         (_ENTRY): Likewise.
4974         (ENTRY): Likewise.
4975         (test_exactness): Generate members via macro.
4976         (test_results): Likewise.
4977         (test): Update members.
4978         (TEST): Redefine using new macros.
4979         (INF): New macro.
4980         (fetestmodes): New structure.
4981         (do_test): Refactor to be type generic.
4982         (test_in_one_mode): Refactor duplicate code into
4983         (GEN_ONE_TEST): New macro.
4985         * stdlib/tst-strtod-round-data.h: Regenerate.
4987         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
4988         Extend to pass additional arbitrary parameters to
4989         generators.
4991 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
4993         [BZ #15479]
4994         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
4995         floating-point state after first floating-point operation on
4996         input.  Restore full floating-point state instead of just rounding
4997         mode.
4998         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
4999         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
5000         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
5001         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
5002         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
5004         [BZ #15479]
5005         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
5006         floating-point state after first floating-point operation on
5007         input.  Restore full floating-point state instead of just rounding
5008         mode.
5009         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
5010         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
5011         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
5012         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
5013         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
5015 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5017         [BZ #19727]
5018         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
5019         valid high surrogate.
5020         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
5021         of an utf16 surrogate.
5022         * iconv/gconv_simple.c (BODY): Likewise.
5023         * iconvdata/bug-iconv12.c: New file.
5024         * iconvdata/Makefile (tests): Add bug-iconv12.
5026 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5028         [BZ #19726]
5029         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
5030         outptrp in case of an illegal input.
5031         * iconv/tst-iconv6.c: New file.
5032         * iconv/Makefile (tests): Add tst-iconv6.
5034 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5036         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
5037         an error in case of a value in range of an utf16 low surrogate.
5039 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5041         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
5042         an error in case of a value in range of an utf16 low surrogate.
5044 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5046         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
5047         Move to ...
5048         * sysdeps/s390/Makefile: ... here.
5049         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
5050         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
5051         (BRANCH_ON_COUNT): New define.
5052         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
5053         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
5054         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
5055         run on s390-32, too.
5056         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
5057         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
5058         run on s390-32, too.
5059         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
5060         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
5061         run on s390-32, too.
5063 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5065         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
5066         etf3eh or new vector loop-variant.
5068 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5070         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
5071         etf3eh or new vector loop-variant.
5073 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5075         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
5076         or new vector loop-variant.
5078 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5080         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
5081         Rename to TR_LOOP and usage of tr instead of troo instruction.
5083 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5085         * sysdeps/s390/multiarch/gconv_simple.c: New File.
5086         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
5088 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5090         * sysdeps/s390/multiarch/8bit-generic.c: New File.
5091         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
5092         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
5093         New override define.
5094         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
5096 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5098         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
5099         * sysdeps/s390/configure.ac: Add test for S390 vector register
5100         support in gcc.
5101         * sysdeps/s390/configure: Regenerated.
5103 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5105         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
5106         Install file from $(objpfx)gconv-modules.
5107         ($(objpfx)gconv-modules): Concatenate architecture specific file
5108         in variable sysdeps-gconv-modules and gconv-modules in src dir.
5109         * sysdeps/s390/gconv-modules: New file.
5110         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
5111         Deleted.
5112         ($(objpfx)gconv-modules-s390): Deleted.
5113         (sysdeps-gconv-modules): New variable.
5115 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
5117         [BZ #15479]
5118         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
5119         of immediate operand to rounding instruction.
5120         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
5121         Likewise.
5122         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
5123         Likewise.
5124         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
5125         Likewise.
5127 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5129         * math/libm-test.inc (MIN_EXP): Directly define as
5130         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
5132 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5134         * math/libm-test.inc (MANT_DIG): Directly define as
5135         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
5137 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5139         * stdlib/gen-tst-strtod-round.c (main):
5140           Change usage to more closely match the generated
5141           output.  Add usage and compilation instructions.
5142           (string_to_fp): Add and use FILE* parameter as
5143           output target.
5144           (print_fp): Likewise.
5145           (round_str): Likewise.
5146           (round_for_all): Likewise.
5147         * stdlib/tst-strtod-round.c (tests): Move into
5148         * stdlib/tst-strtod-round-data.h: New file.
5150 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
5152         [BZ #15479]
5153         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
5154         (__round): Do not force "inexact" exception.
5155         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
5156         variable.
5157         (__round): Do not force "inexact" exception.
5158         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
5159         (__roundf): Do not force "inexact" exception.
5160         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
5161         (__roundl): Do not force "inexact" exception.
5162         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
5163         (__roundl): Do not force "inexact" exception.
5164         * math/libm-test.inc (round_test_data): Do not allow spurious
5165         "inexact" exceptions.
5167         [BZ #15479]
5168         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
5169         exception in comment.
5170         (huge): Remove variable.
5171         (__floor): Do not force "inexact" exception.
5172         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
5173         "inexact" exception in comment.
5174         (huge): Remove variable.
5175         (__floor): Do not force "inexact" exception.
5176         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
5177         exception in comment.
5178         (huge): Remove variable.
5179         (__floorf): Do not force "inexact" exception.
5180         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
5181         exception in comment.
5182         (huge): Remove variable.
5183         (__floorl): Do not force "inexact" exception.
5185         [BZ #15479]
5186         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
5187         exception in comment.
5188         (huge): Remove variable.
5189         (__ceil): Do not force "inexact" exception.
5190         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
5191         "inexact" exception in comment.
5192         (huge): Remove variable.
5193         (__ceil): Do not force "inexact" exception.
5194         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
5195         (__ceilf): Do not force "inexact" exception.
5196         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
5197         exception in comment.
5198         (huge): Remove variable.
5199         (__ceill): Do not force "inexact" exception.
5201 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
5203         * config.h.in (BIND_NOW): New.
5204         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
5205         * configure: Regenerated.
5206         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
5207         indirect branch via the GOT slot.
5209 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
5211         [BZ #19765]
5212         * sysdeps/s390/mempcpy.S: New File.
5213         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
5214         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
5215         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5216         Add mempcpy variants.
5217         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
5218         (memcpy): Adjust to be usable from mempcpy entry point.
5219         (__memcpy_mvcle): Likewise.
5220         * sysdeps/s390/s390-64/memcpy.S: Likewise.
5221         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
5222         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
5223         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
5224         (__memcpy_z10): Likewise.
5225         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
5227 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
5229         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
5230         Remove __GI_ symbol.
5231         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
5232         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
5233         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
5234         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
5235         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
5236         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
5238 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
5240         * sysdeps/s390/s390-64/memcpy.S (memcpy):
5241         Use cghi instead of chi to compare 64bit value.
5243 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
5245         * sysdeps/s390/s390-32/memcpy.S (memcpy):
5246         Jump to 1MB check before executing mvc-loop.
5248 2016-05-24  Florian Weimer  <fweimer@redhat.com>
5250         [BZ #6527]
5251         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
5252         unconditionally.
5253         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
5255 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5257         * stdlib/tst-strtod6.c (do_test): Use new type generic
5258         invocation of the test function.
5259         (test): Refactor into ...
5260         (TEST_STRTOD): New macro base function.
5262 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5264         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
5265         (TEST_STRTOD): New macro.
5266         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
5268 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5270         * stdlib/tst-strtod6.c (do_test): Use new type generic
5271         invocation of the test function.
5272         (test): Refactor into ...
5273         (TEST_STRTOD): New macro base function.
5275 2016-05-23  Florian Weimer  <fweimer@redhat.com>
5277         CVE-2016-4429
5278         [BZ #20112]
5279         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
5280         payload.
5282 2016-05-23  Florian Weimer  <fweimer@redhat.com>
5284         [BZ #20111]
5285         * bits/sockaddr.h (_SS_SIZE): Define.
5286         * bits/socket.h (_SS_SIZE): Remove.
5287         (_SS_PADSIZE): Adjust to account for all padding.
5288         (struct sockaddr_storage): Update comment.  Avoid implicit
5289         padding.
5290         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
5291         (_SS_PADSIZE): Adjust to account for all padding.
5292         (struct sockaddr_storage): Update comment.  Avoid implicit
5293         padding.
5294         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
5295         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
5296         (_SS_PADSIZE): Adjust to account for all padding.
5297         (struct sockaddr_storage): Update comment.  Avoid implicit
5298         padding.
5299         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
5300         __SS_SIZE is 126 in this version.
5301         * inet/tst-sockaddr.c: New file.
5302         * inet/Makefile (tests): Add tst-sockaddr.c
5303         (tst-sockaddr.c): Compile with non-strict aliasing.
5305 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
5307         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
5308         [XPG3 || XPG4].
5309         (NL_ARGMAX): Also expect for [XPG3].
5310         (NL_LANGMAX): Likewise.
5311         (NL_MSGMAX): Likewise.
5312         (NL_NMAX): Likewise.
5313         (NL_SETMAX): Likewise.
5314         (NL_TEXTMAX): Likewise.
5315         (NZERO): Likewise.
5316         (TMP_MAX): Likewise.
5317         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
5318         variable.
5320         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
5321         (PF_MAX): Update value.
5322         (AF_KCM): New macro.
5323         (SOL_NETBEUI): Likewise.
5324         (SOL_LLC): Likewise.
5325         (SOL_DCCP): Likewise.
5326         (SOL_NETLINK): Likewise.
5327         (SOL_TIPC): Likewise.
5328         (SOL_RXRPC): Likewise.
5329         (SOL_PPPOL2TP): Likewise.
5330         (SOL_BLUETOOTH): Likewise.
5331         (SOL_PNPIPE): Likewise.
5332         (SOL_RDS): Likewise.
5333         (SOL_IUCV): Likewise.
5334         (SOL_CAIF): Likewise.
5335         (SOL_ALG): Likewise.
5336         (SOL_NFC): Likewise.
5337         (SOL_KCM): Likewise.
5338         (MSG_BATCH): New enum value and macro.
5340 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
5342         [BZ #18185]
5343         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
5344         sharing L2 cache to 2 for Knights Landing.
5346 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
5348         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
5349         (FTW_DP): Do not expect for [XPG3 || XPG4].
5350         (FTW_SL): Do not expect for [XPG3].
5351         (FTW_SLN): Likewise.
5352         (FTW_PHYS): Likewise.
5353         (FTW_MOUNT): Likewise.
5354         (FTW_DEPTH): Likewise.
5355         (FTW_CHDIR): Likewise.
5356         (nftw): Likewise.
5357         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
5358         variable.
5360 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
5362         * manual/errno.texi: Fix various typos & grammar errors.
5364 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
5366         * manual/intro.texi: Fix duplicated typo.
5368 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
5370         [BZ #13304]
5371         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
5372         <float.h>, <math_private.h> and <stdlib.h>.
5373         (add_split): New function.
5374         (mul_split): Likewise.
5375         (ext_val): New typedef.
5376         (store_ext_val): New function.
5377         (mul_ext_val): New function.
5378         (compare): New function.
5379         (add_split_ext): New function.
5380         (__fmal): After checking for Inf, NaN and zero, compute result as
5381         an exact sum of scaled double values in round-to-nearest before
5382         adding those up and adjusting for other rounding modes.
5383         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
5384         tests of fma.
5385         * math/auto-libm-test-out: Regenerated.
5387 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
5389         [BZ #20119]
5390         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
5391         processor level type mask for CPUID with EAX == 11.
5393 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
5395         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
5396         logical threads if the HTT bit is 0.
5397         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
5398         (index_cpu_HTT): Likewise.
5399         (reg_HTT): Likewise.
5401 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
5403         [BZ #20115]
5404         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
5405         Remove alignments on jump targets.
5407 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
5409         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
5410         (getpwent): Likewise.
5411         (setpwent): Likewise.
5412         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
5413         variable.
5415         * conform/data/search.h-data (insque): Do not expect for [XPG3].
5416         (remque): Likewise.
5417         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
5418         variable.
5420 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
5422         * math/libm-test.inc: Update comment not to refer to signs of NaNs
5423         not being tested.
5425 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
5427         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
5428         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
5429         call.
5430         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
5431         (__condvar_cleanup1): Likewise.
5433 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
5435         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
5436         New
5437         (__pthread_unwind): Renamed to ...
5438         (PTHREAD_UNWIND): This.
5439         (__pthread_enable_asynccancel): Replace
5440         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
5442 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
5444         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
5445         (CLONE_NEWCGROUP): New macro.
5447         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
5448         (Q_GETNEXTQUOTA): New macro.
5450 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
5452         [BZ #19907]
5453         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
5454         buffer updated by the previous run.
5455         * string/test-memcpy.c (do_one_test): Likewise.
5456         * benchtests/bench-memmove.c (do_one_test): Add a comment.
5457         * string/test-memmove.c (do_one_test): Likewise.
5459 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
5461         [BZ #20094]
5462         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
5463         not [__USE_XOPEN].
5464         (unlockpt): Likewise.
5465         (ptsname): Likewise.
5466         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
5467         variable.
5469         [BZ #20076]
5470         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
5471         instead of [__USE_UNIX98].
5472         (S_ISSOCK): Likewise.
5473         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
5474         variable.
5476         [BZ #20074]
5477         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
5478         [__USE_POSIX].
5479         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
5480         variable.
5482         [BZ #20051]
5483         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
5484         (ttyslot): Do not declare.
5485         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
5486         (ttyslot): New prototype.
5487         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
5488         variable.
5489         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
5491 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
5493         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
5495 2016-05-13  Florian Weimer  <fweimer@redhat.com>
5497         Fix race condition in tst-mallocfork2, use fewer resources.
5498         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
5499         to current process group.
5500         (signal_sender): Yield in the non-sleeping case.
5502 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
5504         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
5505         (ecvt): Likewise.
5506         (fcvt): Likewise.
5507         (gcvt): Likewise.
5508         (getsubopt): Likewise.
5509         (grantpt): Likewise.
5510         (initstate): Likewise.
5511         (l64a): Likewise.
5512         (mktemp): Likewise.
5513         (mkstemp): Likewise.
5514         (ptsname): Likewise.
5515         (random): Likewise.
5516         (realpath): Likewise.
5517         (setstate): Likewise.
5518         (srandom): Likewise.
5519         (ttyslot): Likewise.
5520         (unlockpt): Likewise.
5521         (valloc): Likewise.
5523         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
5524         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
5525         variable.
5527 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
5529         [BZ #20072]
5530         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
5531         init_cpu_features only if SHARED is defined.
5532         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
5534 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
5536         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
5537         non-inclusive caches on Intel processors.
5539 2016-05-13  Florian Weimer  <fweimer@redhat.com>
5541         * malloc/malloc.c (dumped_main_arena_start)
5542         (dumped_main_arena_end): New variables.
5543         (DUMPED_MAIN_ARENA_CHUNK): New macro.
5544         (do_check_chunk): Skip dumped fake mmapped chunks.
5545         (munmap_chunk): Likewise.
5546         (__libc_free): Do not adjust statistics for fake mmapped chunks.
5547         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
5548         mmapped chunks.
5549         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
5550         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
5551         and dumped_main_arena_end to cover the dumped heap.
5553 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
5555         * conform/data/time.h-data (getdate_err): Do not expect for
5556         [XPG3].
5557         (getdate): Likewise.
5558         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
5559         variable.
5561         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
5562         (F_ULOCK): Likewise.
5563         (F_TEST): Likewise.
5564         (F_TLOCK): Likewise.
5565         (useconds_t): Likewise.
5566         (intptr_t): Do not expect for [XPG3] or [XPG4].
5567         (brk): Do not expect for [XPG3]
5568         (fchown): Likewise.
5569         (fchdir): Likewise.
5570         (ftruncate): Likewise.
5571         (getdtablesize): Likewise.
5572         (gethostid): Likewise.
5573         (getpagesize): Likewise.
5574         (getpgid): Likewise.
5575         (getsid): Likewise.
5576         (getwd): Likewise.
5577         (lchown): Likewise.
5578         (lockf): Likewise.
5579         (readlink): Likewise.
5580         (sbrk): Likewise.
5581         (setpgrp): Likewise.
5582         (setregid): Likewise.
5583         (setreuid): Likewise.
5584         (symlink): Likewise.
5585         (sync): Likewise.
5586         (truncate): Likewise.
5587         (ualarm): Likewise.
5588         (usleep): Likewise.
5589         (vfork): Likewise.
5590         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
5591         variable.
5593         [BZ #20054]
5594         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
5595         not [__USE_UNIX98].
5596         * conform/data/unistd.h-data (gethostname): Do not expect for
5597         [XPG3].
5599         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
5600         [!POSIX] (S_IFBLK): Likewise.
5601         [!POSIX] (S_IFCHR): Likewise.
5602         [!POSIX] (S_IFIFO): Likewise.
5603         [!POSIX] (S_IFREG): Likewise.
5604         [!POSIX] (S_IFDIR): Likewise.
5605         [!POSIX] (S_IFLNK): Likewise.
5606         [!POSIX] (S_IFSOCK): Likewise.
5607         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
5608         variable.
5609         (test-xfail-XPG4/fcntl.h/conform): Likewise.
5611 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
5613         * sysdeps/aarch64/memset.S (__memset):
5614         Rewrite of optimized memset.
5616 2016-05-12  Florian Weimer  <fweimer@redhat.com>
5618         [BZ #19703]
5619         Partially async-signal-safe fork for single-threaded processes.
5620         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
5621         variable.  Do not acquire and reset/release malloc and libio locks
5622         in single-threaded processes.
5623         * malloc/tst-mallocfork2.c: New file.
5624         * malloc/Makefile (tests): Add it.
5626 2016-05-12  Florian Weimer  <fweimer@redhat.com>
5628         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
5629         argument.  Use scratch buffer instead of extend_alloca.
5630         (gethosts): Use scratch buffer instead of extend_alloca.
5631         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
5632         extend_alloca.
5633         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
5635 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
5637         [BZ #20055]
5638         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
5639         instead of [__USE_UNIX98].
5640         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
5641         [__USE_UNIX98].
5642         * conform/data/termios.h-data (tcgetsid): Do not expect for
5643         [XPG3].
5644         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
5645         variable.
5646         (test-xfail-XPG4/termios.h/conform): Likewise.
5648 2016-05-11  Florian Weimer  <fweimer@redhat.com>
5650         Do not use mcheck in localedef.
5651         * locale/programs/localedef.c (turn_on_mcheck)
5652         (__malloc_initialize_hook): Remove.
5654 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
5656         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
5657         * sysdeps/s390/s390-64/Makefile: Likewise.
5659 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
5661         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
5662         Remove ifunc-defines.sym.
5663         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
5664         Likewise.
5665         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
5666         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
5667         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
5668         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
5669         rtld-global-offsets.sym.
5670         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
5671         * sysdeps/x86/cpu-features-offsets.sym: This.
5672         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
5673         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
5675 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
5677         [BZ #20073]
5678         * io/sys/stat.h (fchmod): Declare for
5679         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
5680         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
5681         variable.
5683         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
5684         [XPG3] (S_IFSOCK): Likewise.
5685         [XPG3] (S_ISVTX): Likewise.
5686         [XPG3] (S_ISLNK): Likewise.
5687         [XPG3] (S_ISSOCK): Likewise.
5688         [XPG3] (fchmod): Likewise.
5689         [XPG3] (lstat): Likewise.
5690         [XPG3] (mknod): Likewise.
5692         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
5693         [XPG3].  Expect type long and XFAIL for [XPG4].
5694         (st_blocks): Likewise.
5696         [BZ #20044]
5697         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
5698         (pthread_atfork): New prototype.
5699         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
5700         variable.
5702         [BZ #20043]
5703         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
5704         prototype.
5706 2016-05-10  Florian Weimer  <fweimer@redhat.com>
5708         [BZ #20017]
5709         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
5710         gmtime.
5712 2016-05-10  Florian Weimer  <fweimer@redhat.com>
5714         [BZ #19994]
5715         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
5716         flag in _res.options.
5718 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
5720         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
5721         [XPG3 || XPG4].
5722         (blksize_t): Likewise.
5723         (clockid_t): Likewise.
5724         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
5725         variable.
5726         (test-xfail-XPG4/sys/types.h/conform): Likewise.
5728 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
5730         * sysdeps/unix/sysv/linux/s390/init-first.c:
5731         Add VDSO_SYMBOL(getcpu).
5732         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
5733         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
5734         Add VDSO_SYMBOL(getcpu).
5735         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
5736         New define HAVE_GETCPU_VSYSCALL.
5737         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5739 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
5741         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
5742         instead of <sysdeps/x86_64/cacheinfo.c>.
5743         * sysdeps/x86_64/cacheinfo.c: Moved to ...
5744         * sysdeps/x86/cacheinfo.c: Here.
5746 2016-05-04  Florian Weimer  <fweimer@redhat.com>
5748         * malloc/malloc-internal.h: Adjust header file guard.
5750 2016-05-04  Florian Weimer  <fweimer@redhat.com>
5752         [BZ #19787]
5753         * inet/getnameinfo.c (check_sprintf_result): New function.
5754         (CHECKED_SNPRINTF): New macro.
5755         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
5756         to the host buffer.
5757         (gni_host_local): Use checked_copy to copy the host name.
5758         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
5759         (gni_serv_local): Use checked_copy to copy the service name.
5760         (getnameinfo): Remove unnecessary truncation of result buffers.
5762 2016-05-04  Florian Weimer  <fweimer@redhat.com>
5764         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
5765         in case of inet_ntop failure.
5767 2016-05-04  Florian Weimer  <fweimer@redhat.com>
5769         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
5770         avoid long lines.
5771         (gni_host_inet_numeric): Likewise.  Reduce scope of local
5772         variables.
5773         (gni_host_inet, gni_host_local): Add comment.
5774         (gni_host): Add comment.  Use temporary to avoid long lines.
5776 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5778         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
5779         registers specifiers where general purpose registers specifiers should
5780         have been used.
5782 2016-05-04  Florian Weimer  <fweimer@redhat.com>
5784         [BZ #19779]
5785         CVE-2016-1234
5786         Avoid copying names of directory entries.
5787         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
5788         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
5789         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
5790         (struct readdir_result): New type.
5791         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
5792         (GL_READDIR): New macros.
5793         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
5794         (convert_dirent, convert_dirent64): New functions.
5795         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
5796         convert_dirent64.  Adjust references to the readdir result.
5797         * sysdeps/unix/sysv/linux/i386/glob64.c:
5798         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
5799         * posix/bug-glob2.c (LONG_NAME): Define.
5800         (filesystem): Add LONG_NAME.
5801         (my_DIR): Increase the size of room_for_dirent.
5803 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
5805         [BZ #20041]
5806         * misc/sys/select.h (__need_timespec): Only define if
5807         [__USE_XOPEN2K].
5808         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
5809         variable.
5810         (test-xfail-XPG4/utmpx.h/conform): Likewise.
5811         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
5812         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
5814 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5815             Segher Boessenkool  <segher@gcc.gnu.org>
5817         [BZ #20004]
5818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
5819         (__novec_swapcontext): Add missing load.
5821 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
5823         [BZ #20023]
5824         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
5825         <time.h>.
5826         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
5827         variable.
5828         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
5830 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5832         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
5833         flags CLONE_VM compare.
5835 2016-05-02  Florian Weimer  <fweimer@redhat.com>
5837         [BZ #20031]
5838         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
5839         completely empty.
5841 2016-05-02  Florian Weimer  <fweimer@redhat.com>
5843         [BZ #19573]
5844         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
5845         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
5846         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
5847         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
5848         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
5849         (hesiod_free_list): Mark as hidden.
5850         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
5851         res_set, res_get.
5852         * hesiod/hesiod.c: Remove unnecessary forward declarations.
5853         (init, __hesiod_res_get, __hesiod_res_set): Remove.
5854         (hesiod_init): Remove obsolete res_ninit call.
5855         (hesiod_end): Do not free resolver state.  Do not invoke callback.
5856         (hesiod_bind): Do not call init.
5857         (get_txt_records): Use res_mkquery, res_send instead of
5858         res_nmkquery, res_nsend.
5859         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
5860         instead of _nss_hesiod_init.
5861         (_nss_hesiod_initgroups_dyn): Likewise.
5862         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
5863         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
5864         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
5866 2016-05-02  Florian Weimer  <fweimer@redhat.com>
5868         * hesiod/hesiod_p.h (DEF_RHS): Remove.
5869         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
5871 2016-05-02  Florian Weimer  <fweimer@redhat.com>
5873         * hesiod/hesiod.h: Remove RCS keyword.
5874         * hesiod/hesiod_p.h: Likewise.
5876         * hesiod/hesiod.c: Likewise.
5878 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
5880         [BZ #12450]
5881         * locale/iso-639.def: Add Samogitian/sgs.
5883 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
5885         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
5887         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
5889 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
5890             Carlos O'Donell  <carlos@redhat.com>
5892         [BZ #19072]
5893         * grp/Makefile (headers): Add grp-merge.h
5894         (routines): Add grp-merge.
5895         * grp/getgrgid_r.c: Include grp-merge.h.
5896         (DEEPCOPY_FN): Define.
5897         (MERGE_FN): Define.
5898         * grp/getgrname_r.c: Include grp-merge.h.
5899         (DEEPCOPY_FN): Define.
5900         (MERGE_FN): Define.
5901         * grp/grp-merge.c: New file.
5902         * grp/grp-merge.h: New file.
5903         * include/grp-merge.h: New file.
5904         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
5905         __copy_grp@GLIBC_PRIVATE.
5906         * manual/nss.texi (Actions in the NSS configuration): Describe
5907         return, continue, and merge.
5908         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
5909         (DEEPCOPY_FN): Define.
5910         (MERGE_FN): Define.
5911         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
5912         (DEEPCOPY_FN): Define.
5913         (MERGE_FN): Define.
5914         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
5915         [!MERGE_FN]: Define __merge_einval.
5916         (CHECK_MERGE): Define.
5917         (REENTRANT_NAME): Process merge if do_merge is true.
5918         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
5919         (__nss_getent_r): Likewise.
5920         * nss/nsswitch.c (nss_parse_service_list): Likewise.
5921         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
5923 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5925         [BZ #20012]
5926         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
5927         length to calculate the buffer to read.
5928         (fmemopen_write): Set the buffer position based on bytes written.
5929         (fmemopen_seek): Return EINVAL for invalid whence modes.
5931         [BZ #19957]
5932         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
5933         tst-getpid2.
5934         (test): Add tst-clone2.
5935         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
5936         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
5937         pid/tid fields for CLONE_VM.
5938         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
5939         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
5940         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
5941         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
5942         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
5943         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
5944         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
5945         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
5946         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
5947         Likewise.
5948         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
5949         Likewise.
5950         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
5951         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
5952         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
5953         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
5954         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
5955         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
5956         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
5957         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
5959 2016-04-29  Florian Weimer  <fweimer@redhat.com>
5961         [BZ #19642]
5962         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
5963         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
5964         (gni_serv_local, gni_serv): New functions extracted from
5965         getnameinfo.
5966         (getnameinfo): Call gni_host and gni_serv to perform the
5967         processing.  Always free scratch buffer.
5969 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5971         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
5972         remaining bytes in the dest string, with zeros.
5974 2016-04-29  Florian Weimer  <fweimer@redhat.com>
5976         [BZ #20010]
5977         CVE-2016-3706
5978         * sysdeps/posix/getaddrinfo.c
5979         (convert_hostent_to_gaih_addrtuple): New function.
5980         (gethosts): Call convert_hostent_to_gaih_addrtuple.
5981         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
5982         AF_INET data.
5984 2016-04-29  Florian Weimer  <fweimer@redhat.com>
5986         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
5987         callback function gl_readdir.
5988         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
5989         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
5990         (glob_in_dir): Remove len.  Use strdup instead of malloc and
5991         memcpy to copy the name.
5992         * manual/pattern.texi (Calling Glob): Document requirements for
5993         implementations of the gl_readdir callback function.
5994         * manual/examples/mkdirent.c: New example.
5995         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
5996         per the manual guidance.
5997         * posix/tst-gnuglob.c (my_readdir): Likewise.
5999 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
6001         [BZ #20014]
6002         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
6003         not [__USE_POSIX].
6004         (getchar_unlocked): Likewise.
6005         (putc_unlocked): Likewise.
6006         (putchar_unlocked): Likewise.
6007         (flockfile): Likewise.
6008         (ftrylockfile): Likewise.
6009         (funlockfile): Likewise.
6010         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
6011         variable.
6012         (test-xfail-XPG4/stdio.h/conform): Likewise.
6014         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
6015         Expect constant.
6016         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
6017         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
6018         variable.
6019         (test-xfail-XPG4/langinfo.h/conform): Likewise.
6020         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
6022         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
6023         [__USE_LARGEFILE64] (off64_t): Likewise.
6024         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
6025         variable.
6027 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6029         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
6031 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6033         * resolv/inet_addr.c: Reindent preprocessor conditionals.
6034         * resolv/res_init.c: Likewise.
6035         * resolv/res_mkquery.c: Likewise.
6037 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6039         * resolv/res_init.c (isascii): Do not define.  Use definition in
6040         <ctype.h>.
6041         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
6042         (LOG_AUTH): Remove.
6043         (SPRINTF): Remove, adjust caller.
6044         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
6046 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6048         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
6049         SUNSECURITY conditional.
6050         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
6052 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6054         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
6055         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
6056         Remove BSD-related preprocessor conditionals.
6057         * conf/portability.h: Remove.
6059 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6061         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
6062         * resolv/res_data.c: Likewise.
6064 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6066         * resolv/res_comp.c: Remove code conditional on __ultrix__.
6067         * resolv/res_data.c: Remove code conditional on ultrix.
6069 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6071         * resolv/res_init.c (RFC1535): Do not define.  Remove
6072         RFC1535 preprocessor conditionals.
6073         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
6074         because there configuration options which make the resolver
6075         behavior different.
6077 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6079         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
6080         RESOLVSORT preprocessor conditionals.
6081         * resolv/nss_dns/dns-host.c: Likewise.
6082         * resolv/res_init.c: Likewise.
6084 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6086         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
6087         is never defined.
6089 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6091         * inet/inet_lnaof.c: Remove SCSS keyword.
6092         * inet/inet_mkadr.c: Likewise.
6093         * inet/inet_net.c: Likewise.
6094         * inet/inet_netof.c: Likewise.
6095         * inet/rcmd.c: Likewise.
6096         * inet/rexec.c: Likewise.
6097         * inet/ruserpass.c: Likewise.
6099 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6101         * resolv/inet_addr.c: Remove _LIBC conditionals.
6102         * resolv/res_data.c: Likewise.
6103         * resolv/res_init.c: Likewise.
6104         * resolv/res_mkquery.c: Likewise.
6105         * resolv/res_libc.c: Update comment.
6106         * resolv/README: Update.
6108 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6110         * resolv/gethnamaddr.c: Remove SCSS keyword.
6111         * resolv/herror.c: Likewise.
6112         * resolv/inet_addr.c: Likewise.
6113         * resolv/inet_net_ntop.c: Likewise.
6114         * resolv/inet_net_pton.c: Likewise.
6115         * resolv/inet_neta.c: Likewise.
6116         * resolv/inet_ntop.c: Likewise.
6117         * resolv/inet_pton.c: Likewise.
6118         * resolv/ns_date.c: Remove RCS keyword.
6119         * resolv/ns_name.c: Likewise.
6120         * resolv/ns_netint.c: Likewise.
6121         * resolv/ns_parse.c: Likewise.
6122         * resolv/ns_print.c: Likewise.
6123         * resolv/ns_samedomain.c: Likewise.
6124         * resolv/ns_ttl.c: Likewise.
6125         * resolv/nsap_addr.c: Likewise.
6126         * resolv/res_comp.c: Remove SCSS and RCS keyword.
6127         * resolv/res_data.c: Remove RCS keyword.
6128         * resolv/res_debug.c: Remove SCSS and RCS keyword.
6129         * resolv/res_init.c: Likewise.
6130         * resolv/res_mkquery.c: Likewise.
6131         * resolv/res_query.c: Likewise.
6132         * resolv/res_send.c: Likewise.
6134 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
6136         * conform/data/stdio.h-data (fdopen): Expect also for
6137         [XPG3 || XPG4].
6139         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
6140         (fseeko): Likewise.
6141         (ftello): Likewise.
6142         (ftrylockfile): Likewise.
6143         (funlockfile): Likewise.
6144         (getc_unlocked): Likewise.
6145         (getchar_unlocked): Likewise.
6146         (putc_unlocked): Likewise.
6147         (putchar_unlocked): Likewise.
6149 2016-04-27  Florian Weimer  <fweimer@redhat.com>
6151         [BZ #19868]
6152         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
6153         DNS packet syntax checks (which were not needed before).  Skip
6154         over non-PTR records.
6156 2016-04-27  Florian Weimer  <fweimer@redhat.com>
6158         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
6159         definition.  Include <stddef.h> instead.
6161 2016-04-27  Florian Weimer  <fweimer@redhat.com>
6163         [BZ #19831]
6164         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
6165         function.
6166         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
6167         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
6169 2016-04-27  Florian Weimer  <fweimer@redhat.com>
6171         [BZ #19862]
6172         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
6173         (getanswer_r): Do not call syslog.
6174         (gaih_getanswer_slice): Likewise.
6175         * resolv/gethnamaddr.c (AskedForGot): Remove.
6176         (getanswer): Do not call syslog.
6177         (gethostbyaddr): Likewise.
6179 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
6181         * conform/data/signal.h-data (union sigval): Expect also if
6182         [XOPEN2K].
6183         (struct sigevent): Likewise.
6184         (SIGEV_NONE): Likewise.
6185         (SIGEV_SIGNAL): Likewise.
6186         (SIGEV_THREAD): Likewise.
6187         (SIGRTMIN): Likewise.
6188         (SIGRTMAX): Likewise.
6189         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
6190         variable.
6191         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
6193 2016-04-27  Florian Weimer  <fweimer@redhat.com>
6195         [BZ #19830]
6196         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
6197         (gaih_getanswer_slice): Likewise.
6198         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
6199         Also check for availability of RR metadata.
6201 2016-04-27  Florian Weimer  <fweimer@redhat.com>
6203         [BZ #19825]
6204         * resolv/res_send.c (send_vc): Remove early *resplen2
6205         initialization.  Set *resplen2 on socket error.  Call
6206         close_and_return_error for other errors.
6208 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
6210         * sysdeps/unix/sysv/linux/netiucv/iucv.h
6211         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
6212         (SCM_IUCV_TRGCLS): New define.
6214 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6216         [BZ #20005]
6217         * libio/fmemopen.c (fmemopen_write): Update internal position after
6218         write.
6219         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
6220         * stdio-common/tst-fmemopen4.c: New file..
6222 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
6224         [BZ #19996]
6225         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
6226         not [__USE_XOPEN2K].
6227         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
6228         variable.
6230         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
6231         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
6232         variable.
6234         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
6235         [__USE_XOPEN2K8].
6236         [__USE_LARGEFILE64] (off64_t): Likewise.
6237         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
6238         variable.
6240 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
6242         [BZ #19989]
6243         * libio/stdio.h (cuserid): Do not declare if
6244         [__USE_XOPEN2K && !__USE_GNU].
6245         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
6246         variable.
6248 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6250         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
6251         (sysdep_routines): Add P8 and PPC64 strcspn targets.
6252         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6253         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
6254         ifunc'ed strcspn.
6255         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
6256         [EALIGN]: Removed.
6257         [END]: Likewise
6258         [STRSPN]: Define instead of the above to control symbol name.
6259         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
6260         New file.
6261         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
6262         Likewise.
6263         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
6264         Likewise.
6265         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
6266         Likewise.
6267         * sysdeps/powerpc/powerpc64/power8/strspn.S:
6268         [INITIAL_MASK]: New macro.
6269         [STRCSPN]: Likewise.
6270         [UPDATE_MASK]: Likewise.
6271         [USE_AS_STRCSPN]: Lisewise.
6273 2016-04-25  Florian Weimer  <fweimer@redhat.com>
6275         [BZ #19931]
6276         * stdio-common/tst-vfprintf-width-prec.c: New file.
6277         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
6278         (tests-special): Add tst-vfprintf-width-prec-mem.out.
6279         (generated): Add mtrace-related files.
6280         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
6281         (tst-%-mem.out): New pattern rule, replaces
6282         tst-printf-bz18872-mem.out.
6283         * stdio-common/vfprintf.c (vfprintf): When handling a precision
6284         specifier, deallocate any previously allocated work buffer.
6286 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
6288         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
6289         Add nop before __startcontext, add explaining comments.
6291 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
6293         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
6294         any more. Notably since IPV6_PKTINFO has been reintroduced with a
6295         completely different API.
6297         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
6298         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
6299         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
6300         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
6301         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
6302         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
6303         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
6304         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
6305         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
6306         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
6308 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
6310         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
6312 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
6314         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
6315         when it is the default of 0.
6317 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6319         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
6320         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
6321         (sysdep_routines): Add new strcasestr targets.
6322         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6323         (__libc_ifunc_impl_list): Likewise.
6324         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
6325         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
6326         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
6327         * sysdeps/powerpc/powerpc64/power8/Makefile:
6328         New file to add strcasestr-ppc64 to sysdep_routines.
6329         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
6330         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
6332 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
6334         * benchtests/Makefile (wcsmbs-benchset): Include only for
6335         native builds and runs.
6336         (LOCALES): Likewise.
6337         (bench-build): Build timing-type here instead of the bench
6338         target.  Generate locale only for native builds.
6339         * benchtests/README: Add note for cross-building.
6341         * benchtests/Makefile (bench-clean): Clean up extra-objs.
6343         * benchtests/README: Update README to include instructions on
6344         using bench-build.
6346         * Makefile.in (bench-build): New target.
6347         * Rules (PHONY): Add bench-build target.
6348         * benchtests/Makefile (bench): Depend on bench-build.
6349         (bench-build): New target.
6351 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6353         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
6354         profil_reply_port.
6355         (profile_waiter): Do not initialize profil_reply_port.
6356         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
6357         frequency instead of tick length in us.
6359 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
6361         [BZ #18712]
6362         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
6363         (__old_mempcpy_small): Likewise.
6364         (__old_strcpy_small): Likewise.
6365         (__old_stpcpy_small): Likewise.
6366         (__old_strpbrk_c2): Fix compat symbol name.
6367         (__old_strpbrk_c3): Likewise.
6368         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
6369         (__mempcpy_small): Remove.
6370         (__strcpy_small): Remove.
6371         (__stpcpy_small): Remove.
6373 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
6375         [BZ #19400]
6376         * locale/iso-639.def: Add the Talossan/tzl language.
6378 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
6380         [BZ #16983]
6381         * locale/programs/ld-address.c (address_finish): Update postal_fmt
6382         comment.  Add "ln" to strchr check on postal_fmt.
6384 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
6386         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
6387         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
6388         tel_dom_fmt.
6390 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6392         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
6393         (sysdep_routines): Added __strlen_power8.
6394         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
6395         __strlen_power8 entry.
6396         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
6397         Implementation for POWER8.
6398         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
6399         for __strlen_power8.
6400         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
6401         Implementation for POWER8.
6403 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
6405         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
6407 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
6409         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
6410         Goldmont and Airmont processors.
6412 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
6414         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
6415         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
6416         (__STRING2_SMALL_GET32): Remove.
6417         (memset): Remove.
6418         (__memset_1): Remove.
6419         (__memset_gc): Remove.
6420         (__mempcpy): Remove.
6421         (mempcpy): Remove.
6422         (__mempcpy_args): Remove.
6423         (strchr): Remove.
6424         (strcpy): Remove.
6425         (strcpy_args): Remove.
6426         (__stpcpy_args): Remove.
6427         (__strcmp_cc): Remove.
6428         (__strcmp_gc): Remove.
6429         (strstr): Remove.
6431 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
6433         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
6434         * nis/nis_call.c (nis_server_cache_add): Likewise.
6436 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6438         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
6440 2016-04-14  Florian Weimer  <fweimer@redhat.com>
6442         * malloc/arena.c (__malloc_fork_lock_parent)
6443         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
6444         internal_function attribute.
6446 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
6448         * stdio-common/printf_fp.c (__printf_fp_l):
6449         Rename ___printf_fp_l to __printf_fp_l and
6450         remove strong alias. Use libc_hidden_def instead
6451         of ldbl_hidden_def macro.
6453 2016-04-14  Florian Weimer  <fweimer@redhat.com>
6455         Remove malloc hooks from fork handler.  They are no longer needed
6456         because malloc runs right before fork, and no malloc calls from
6457         other fork handlers are not possible anymore.
6458         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
6459         declarations.
6460         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
6461         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
6462         (atfork_recursive_cntr): Remove.
6463         (__malloc_fork_lock_parent): Do not override malloc hooks and
6464         thread_arena.
6465         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
6466         thread_arena.
6467         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
6468         thread_arena instead of save_arena.
6470 2016-04-14  Florian Weimer  <fweimer@redhat.com>
6472         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
6473         (thread_atfork, thread_atfork_static): Remove.
6474         * sysdeps/mach/hurd/malloc-machine.h:
6475         (thread_atfork, thread_atfork_static): Remove.
6477 2016-04-14  Florian Weimer  <fweimer@redhat.com>
6479         [BZ #19431]
6480         Run the malloc fork handler as late as possible to avoid deadlocks.
6481         * malloc/malloc-internal.h: New file.
6482         * malloc/malloc.c: Include it.
6483         * malloc/arena.c (ATFORK_MEM): Remove.
6484         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
6485         Update comment.
6486         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
6487         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
6488         Remove outdated comment.
6489         (ptmalloc_init): Do not call thread_atfork.  Remove
6490         thread_atfork_static.
6491         * malloc/tst-malloc-fork-deadlock.c: New file.
6492         * Makefile (tests): Add tst-malloc-fork-deadlock.
6493         (tst-malloc-fork-deadlock): Link against libpthread.
6494         * manual/memory.texi (Aligned Memory Blocks): Update safety
6495         annotation comments.
6496         * sysdeps/nptl/fork.c (__libc_fork): Call
6497         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
6498         __malloc_fork_unlock_child.
6499         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
6501 2016-04-14  Florian Weimer  <fweimer@redhat.com>
6503         [BZ #19613]
6504         Remove union wait.
6505         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
6506         (w_stopsig, w_stopval): Remove.
6507         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
6508         stat_loc argument.
6509         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
6510         (__WAIT_STATUS_DEFN): Remove.
6511         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
6512         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
6513         (wait, wait3, wait4): Use int * for the stat_loc argument.
6514         * posix/wait.c (__wait): Likewise.
6515         * posix/wait3.c (__wait3): Likewise.
6516         * posix/wait4.c (__wait4): Likewise.
6517         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
6518         (__WAIT_STATUS_DEFN): Remove.
6519         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
6520         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
6521         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
6522         argument.
6523         * sysdeps/posix/wait.c (__libc_wait): Likewise.
6524         * sysdeps/posix/wait3.c (__wait3): Likewise.
6525         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
6526         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
6527         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
6528         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
6529         stat_loc argument.
6530         * manual/process.texi (BSD Wait Functions): Remove union wait.
6532 2016-04-13  Andreas Schwab  <schwab@suse.de>
6534         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
6535         (test-extras): Add tst-tlsalign-vars.
6536         * math/Makefile: Wrap long lines.
6537         (libm-vec-test-wrappers): Define.
6538         (test-extras): Add $(libm-vec-test-wrappers).
6539         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
6540         * nss/Makefile (extra-test-objs): Add nss_test1.os.
6541         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
6542         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
6543         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
6544         (extra-test-objs): Add corresponding objects.
6546 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
6548         [BZ #19928]
6549         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
6550         New.
6551         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
6552         times of shared cache size.
6553         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
6554         (VMOVNT): New.
6555         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
6556         (VMOVNT): Likewise.
6557         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
6558         (VMOVNT): Likewise.
6559         (VMOVU): Changed to movups for smaller code sizes.
6560         (VMOVA): Changed to movaps for smaller code sizes.
6561         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
6562         comments.
6563         (PREFETCH): New.
6564         (PREFETCH_SIZE): Likewise.
6565         (PREFETCHED_LOAD_SIZE): Likewise.
6566         (PREFETCH_ONE_SET): Likewise.
6567         Rewrite to use forward and backward loops, which move 4 vector
6568         registers at a time, to support overlapping addresses and use
6569         non temporal store if size is above the threshold and there is
6570         no overlap between destination and source.
6572 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
6574         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
6575         Include dl-vdso.
6576         * sysdeps/unix/sysv/linux/mips/Versions: Add
6577         __vdso_clock_gettime.
6578         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
6579         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
6580         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
6581         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
6582         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
6583         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
6584         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
6585         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
6586         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
6588 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6590         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
6591         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
6592         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
6593         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
6594         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
6595         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
6596         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
6597         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
6598         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
6599         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
6600         syscalls generation.
6601         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
6602         [__NR_pwrite64] (__NR_write): Remove define.
6603         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
6604         [__NR_pwrite64] (__NR_write): Remove define.
6605         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
6606         Remove define.
6607         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
6608         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
6609         Remove define.
6610         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
6611         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
6612         Linux implementation as base.
6613         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
6615         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
6616         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
6617         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
6618         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
6619         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
6620         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
6621         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
6622         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
6623         syscall generation.
6624         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
6625         [__NR_pread64] (__NR_pread): Remove define.
6626         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
6627         [__NR_pread64] (__NR_pread): Likewise.
6628         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
6629         define.
6630         (__libc_pread): Use SYSCALL_LL macro on offset argument.
6631         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
6632         Remove define.
6633         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
6634         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
6635         Linux implementation as base.
6636         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
6637         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
6638         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
6640         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
6641         definition.
6642         (__ALIGNMENT_COUNT): Likewise.
6643         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
6644         (__ALIGNMENT_COUNT): Likewise.
6645         (SYSCALL_LL): New define.
6646         (SYSCALL_LL64): Likewise.
6647         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
6648         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
6649         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
6650         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
6652         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6653         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
6654         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6655         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
6656         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
6657         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
6659 2016-04-11  Florian Weimer  <fweimer@redhat.com>
6661         [BZ #19865]
6662         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
6663         original buffer before retry.
6665 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6667         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
6668         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
6669         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
6670         GLRO(dl_auxv) list.
6671         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
6672         including <ldsodefs.h>.
6673         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
6675 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
6677         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
6678         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
6679         $(CPPFLAGS).
6681 2016-04-09  Khem Raj  <raj.khem@gmail.com>
6683         [BZ #17950]
6684         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
6685         Add -mfpmath=387.
6687 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
6689         * sysdeps/i386/configure.ac: Change == to = when calling test.
6690         * sysdeps/x86_64/configure.ac: Likewise.
6691         * sysdeps/i386/configure: Regenerated.
6692         * sysdeps/x86_64/configure: Likewise.
6694 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
6696         [BZ #16137]
6697         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
6698         * benchtests/bench-strcoll.c (input_files): Likewise.
6699         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
6700         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
6701         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
6703 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
6705         [BZ #19929]
6706         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
6707         [__USE_XOPEN2K8 && !__USE_GNU].
6708         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
6709         variable.
6711         [BZ #19925]
6712         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
6713         define if [!__USE_MISC && __USE_XOPEN2K].
6714         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
6715         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
6716         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
6717         Likewise.
6718         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
6719         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
6720         variable.
6721         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
6723 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6725         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
6726         (sysdep_routines): Add new strspn targets.
6727         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6728         (__libc_ifunc_impl_list): Add strspn.
6729         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
6730         New file.
6731         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
6732         Likewise.
6733         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
6734         Likewise.
6735         * sysdeps/powerpc/powerpc64/power8/strspn.S:
6736         Likewise.
6738 2016-04-07  Florian Weimer  <fweimer@redhat.com>
6740         * misc/hsearch_r.c: Include <limits.h>.
6742 2016-04-07  Florian Weimer  <fweimer@redhat.com>
6744         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
6746 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
6748         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
6749         (MEMCPY_SYMBOL): New.
6750         (MEMPCPY_SYMBOL): Likewise.
6751         (MEMMOVE_CHK_SYMBOL): Likewise.
6752         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
6753         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
6754         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
6755         Provide alias for memcpy in libc.a and ld.so.
6757 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
6759         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
6760         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
6761         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
6762         Disabled fro now.
6763         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
6764         symbols.  Properly check USE_MULTIARCH on __memset symbols.
6766 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
6768         * benchtests/Makefile (string-benchset): Add memcpy-large,
6769         memmove-large and memset-large.
6770         * benchtests/bench-memcpy-large.c: New file.
6771         * benchtests/bench-memmove-large.c: Likewise.
6772         * benchtests/bench-memmove-large.c: Likewise.
6773         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
6775 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
6777         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
6778         32-bit displacement to avoid long nop between instructions.
6780 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
6782         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
6783         a comment on VMOVU and VMOVA.
6785 2016-04-04  Florian Weimer  <fweimer@redhat.com>
6787         [BZ #19633]
6788         Use specified locale for number formatting in strfmon_l.
6789         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
6790         (__nl_lookup_word): New inline functions.
6791         * include/printf.h (__print_fp_l): Declare.
6792         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
6793         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
6794         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
6795         (___printf_fp): New function.
6796         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
6797         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
6798         * stdlib/tst-strfmon_l.c (do_test): New test.
6799         * stdlib/Makefile (tests): Add kt.
6800         (LOCALES): Build additional locales.
6801         (tst-strfmon_l.out): Require locales.
6803 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
6805         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
6806         if not in libc.
6807         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
6808         Likewise.
6809         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
6810         Likewise.
6811         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
6812         Likewise.
6814 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
6816         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
6817         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
6818         with unaligned_erms.
6819         (__memmove_erms): Skip if source == destination.
6820         (__memmove_unaligned_erms): Don't check source == destination
6821         first.
6823 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
6825         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
6826         bit_arch_Fast_Copy_Backward for Intel Core proessors.
6828 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6830         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
6831         * string/strspn.c (strspn): Likewise.
6833 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
6835         * benchtests/bench-memset.c (do_test): Support 64-byte
6836         alignment.
6837         (test_main): Test 64-byte alignment.
6839 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
6841         * benchtests/bench-memmove.c (test_main): Test 64-byte
6842         alignment.
6844 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
6846         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
6848 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6850         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
6851         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
6852         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
6854         * string/strpbrk.c (strpbrk): Rewrite function.
6855         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
6856         (__strpbrk_c2): Likewise.
6857         (__strpbrk_c3): Likewise.
6858         * string/string-inlines.c
6859         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
6860         Likewise.
6861         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
6862         Likewise.
6864         * string/strspn.c (strcspn): Rewrite function.
6865         * string/bits/string2.h (strspn): Use __builtin_strcspn.
6866         (__strspn_c1): Remove inline function.
6867         (__strspn_c2): Likewise.
6868         (__strspn_c3): Likewise.
6869         * string/string-inlines.c
6870         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
6871         compatibility symbol.
6872         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
6873         Likewise.
6874         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
6875         Likewise.
6876         * string/string-inlines.c: Include generic version.
6878 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
6879             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6881         * string/Version (libc): Add GLIBC_2.24.
6882         * string/strcspn.c (strcspn): Rewrite function.
6883         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
6884         (__strcspn_c1): Remove inline function.
6885         (__strcspn_c2): Likewise.
6886         (__strcspn_c3): Likewise.
6887         * string/string-inline.c
6888         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
6889         compatibility symbol.
6890         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
6891         Likewise.
6892         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
6893         Likewise.
6894         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
6896 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
6898         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
6899         Use ahi instead of aghi to adjust stack pointer.
6901 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6903         [BZ #19853]
6904         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
6905         TEST to take significant digits as second parameter.
6906         [TEST]: Redefine in terms of TEST_N taking 30
6907         significant digits.
6908         (do_test): Add test case to demonstrate precision
6909         failure in the ldbl-128ibm printf.
6910         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
6911         (__mpn_extract_long_double): Carry 7 extra intermediate
6912         bits of precision to aide computing difference when
6913         signs differ.
6915 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
6917         [BZ #19881]
6918         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6919         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
6920         memset-avx512-unaligned-erms.
6921         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
6922         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
6923         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
6924         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
6925         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
6926         __memset_sse2_unaligned_erms, __memset_erms,
6927         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
6928         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
6929         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
6930         file.
6931         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
6932         Likewise.
6933         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
6934         Likewise.
6935         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
6936         Likewise.
6938 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
6940         [BZ #19776]
6941         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6942         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
6943         memmove-avx512-unaligned-erms.
6944         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
6945         (__libc_ifunc_impl_list): Test
6946         __memmove_chk_avx512_unaligned_2,
6947         __memmove_chk_avx512_unaligned_erms,
6948         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
6949         __memmove_chk_sse2_unaligned_2,
6950         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
6951         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
6952         __memmove_avx512_unaligned_erms, __memmove_erms,
6953         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
6954         __memcpy_chk_avx512_unaligned_2,
6955         __memcpy_chk_avx512_unaligned_erms,
6956         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
6957         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
6958         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
6959         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
6960         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
6961         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
6962         __mempcpy_chk_avx512_unaligned_erms,
6963         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
6964         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
6965         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
6966         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
6967         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
6968         __mempcpy_erms.
6969         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
6970         file.
6971         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
6972         Likwise.
6973         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
6974         Likwise.
6975         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
6976         Likwise.
6978 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
6980         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
6981         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
6982         (La_s390_64_regs): Likewise.
6983         (La_s390_32_retval): Append vector register lrv_v24.
6984         (La_s390_64_retval): Likeweise.
6985         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
6986         Handle extended structs La_s390_32_regs and La_s390_32_retval.
6987         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
6988         Handle extended structs La_s390_64_regs and La_s390_64_retval.
6990 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
6992         [BZ #19916]
6993         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
6994         to create a non-vector/vector version for _dl_runtime_resolve and
6995         _dl_runtime_profile. Move implementation to ...
6996         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
6997         (_dl_runtime_resolve) Save and restore fpr/vrs.
6998         (_dl_runtime_profile) Save and restore vrs and fix some issues
6999         if _dl_call_pltexit is called.
7000         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
7001         Choose the correct resolver function if running on a machine with vx.
7002         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
7003         to create a non-vector/vector version for _dl_runtime_resolve and
7004         _dl_runtime_profile. Move implementation to ...
7005         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
7006         (_dl_runtime_resolve) Save and restore fpr/vrs.
7007         (_dl_runtime_profile) Save and restore vrs and fix some issues
7008         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
7009         Choose the correct resolver function if running on a machine with vx.
7011 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7013         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
7015 2016-03-31  Florian Weimer  <fweimer@redhat.com>
7017         [BZ #19509]
7018         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
7019         skip_map != NULL.
7020         * elf/tst-dlsym-error.c: New file.
7021         * elf/Makefile (tests): Add tst-dlsym-error.
7022         (tst-dlsym-error): Link against libdl.
7024 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
7026         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7027         (__ASSUME_FUTIMESAT): Remove macro.
7028         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
7030 2016-03-29  Florian Weimer  <fweimer@redhat.com>
7032         [BZ #19879]
7033         CVE-2016-3075
7034         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
7035         copy name.
7037 2016-03-29  Florian Weimer  <fweimer@redhat.com>
7039         [BZ #19837]
7040         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
7041         error if parse_line fails.
7043 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
7045         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
7046         (index_cpu_ERMS): Likewise.
7047         (reg_ERMS): Likewise.
7049 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
7051         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
7052         PER_LINUX_FDPIC): Add.
7054 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
7056         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
7057         memcpy-avx512-no-vzeroupper.
7058         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
7059         to ...
7060         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
7061         (MEMCPY): Don't define.
7062         (MEMCPY_CHK): Likewise.
7063         (MEMPCPY): Likewise.
7064         (MEMPCPY_CHK): Likewise.
7065         (MEMPCPY_CHK): Renamed to ...
7066         (__mempcpy_chk_avx512_no_vzeroupper): This.
7067         (MEMPCPY_CHK): Renamed to ...
7068         (__mempcpy_chk_avx512_no_vzeroupper): This.
7069         (MEMCPY_CHK): Renamed to ...
7070         (__memmove_chk_avx512_no_vzeroupper): This.
7071         (MEMCPY): Renamed to ...
7072         (__memmove_avx512_no_vzeroupper): This.
7073         (__memcpy_avx512_no_vzeroupper): New alias.
7074         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
7076 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
7078         [BZ #18858]
7079         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
7080         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
7081         and mempcpy-avx512-no-vzeroupper.
7082         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
7083         New.
7084         (MEMPCPY): Likewise.
7085         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
7086         (MEMPCPY_CHK): New.
7087         (MEMPCPY): Likewise.
7088         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
7089         (MEMPCPY): Likewise.
7090         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
7091         (MEMPCPY): Likewise.
7092         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
7093         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
7094         Likewise.
7095         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
7096         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
7098 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
7099              Amit Pawar  <Amit.Pawar@amd.com>
7101         [BZ #19583]
7102         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
7103         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
7104         processors.  Set Fast_Copy_Backward for AMD Excavator
7105         processors.
7106         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
7107         New.
7108         (index_arch_Fast_Unaligned_Copy): Likewise.
7109         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
7110         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
7112 2016-03-25  Florian Weimer  <fweimer@redhat.com>
7114         [BZ #19791]
7115         * resolv/res_send.c (close_and_return_error): New function.
7116         (send_dg): Initialize *resplen2 after reopen failure.  Call
7117         close_and_return_error for error returns.  On error paths without
7118         __res_iclose, initialze *resplen2 explicitly.  Update comment for
7119         successful return.
7121 2016-03-25  Florian Weimer  <fweimer@redhat.com>
7123         [BZ# 19860]
7124         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
7125         zero if the compiler does not provide the AVX512F bit.
7127 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
7129         [BZ #19848]
7130         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
7131         from 8 to 4.
7132         (__ieee754_powl): Compare integer exponent against 4 not 8.
7133         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
7134         from 8 to 4.
7135         (__ieee754_powl): Compare integer exponent against 4 not 8.
7136         * math/auto-libm-test-in: Add more tests of pow.
7137         * math/auto-libm-test-out: Regenerated.
7138         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
7139         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7141 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
7143         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
7144         Make code unconditional.
7145         [!__NR_utimensat]: Remove conditional code.
7146         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
7147         Make code unconditional.
7148         [!__NR_utimensat]: Remove conditional code.
7149         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
7150         Make code unconditional.
7151         [!__NR_utimensat]: Remove conditional code.
7153 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
7155         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
7156         Make code unconditional.
7158 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
7160         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
7161         call-clobbered %eax on retry path.
7162         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
7164 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
7166         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
7167         Don't set %rcx twice before "rep movsb".
7169 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
7171         [BZ #19583]
7172         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
7173         inline.  Check family before setting family, model and
7174         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
7175         bits here.
7176         (init_cpu_features): Replace HAS_CPU_FEATURE and
7177         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
7178         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
7179         for Intel processors with usable AVX2.  Call get_common_indeces
7180         for other processors with family == NULL.
7181         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
7182         (CPU_FEATURES_ARCH_P): Likewise.
7183         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
7184         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
7186 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7188         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
7189         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
7190         $(shared-thread-library) instead of hardcoding the path to libpthread.
7192 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
7194         * sysdeps/unix/sysv/linux/kernel-features.h
7195         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
7196         * sysdeps/unix/sysv/linux/getdents.c
7197         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
7198         [!have_no_getdents64_defined]: Likewise.
7199         (__GETDENTS): Remove __have_no_getdents64 conditional.
7201 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
7203         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
7204         Remove macro.
7205         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
7206         <kernel-features.h>.
7207         (signalfd) [__NR_signalfd4]: Make code unconditional.
7208         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
7210 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7212         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
7213         style.
7215 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
7217         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
7218         (__pthread_enable_asynccancel): Use JUMPTARGET to call
7219         __pthread_unwind.
7220         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
7221         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
7222         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
7223         (__condvar_cleanup1): Likewise.
7225 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
7227         [BZ #19822]
7228         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
7229         move it to the final $@ location.
7231 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7233         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
7234         access where posix_spawn success and pid argument is null.
7235         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
7236         success case.
7238 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
7240         * sysdeps/mach/hurd/i386/c++-types.data: New file.
7242         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
7244         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
7245         and __fcntl.
7246         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
7247         __fcntl only.
7248         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
7249         adding attribute_hidden to __open and __fcntl.
7251         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
7252         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
7253         depend on libc-modules.h,
7254         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
7256 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
7258         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
7259         Remove macro.
7260         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
7261         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
7262         entry.
7264         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
7265         Remove macro.
7266         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
7267         include <kernel-features.h>.
7268         [!__ASSUME_FALLOCATE]: Remove conditional code.
7269         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
7271 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
7273         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
7274         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
7275         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
7276         (_ZGVdN4v_cos_avx2): Likewise.
7277         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
7278         (_ZGVdN4v_cos): Likewise.
7279         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
7280         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
7281         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
7282         (_ZGVdN4v_exp_avx2): Likewise.
7283         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
7284         (_ZGVdN4v_exp): Likewise.
7285         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
7286         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
7287         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
7288         (_ZGVdN4v_log_avx2): Likewise.
7289         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
7290         (_ZGVdN4v_log): Likewise.
7291         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
7292         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
7293         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
7294         (_ZGVdN4vv_pow_avx2): Likewise.
7295         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
7296         (_ZGVdN4vv_pow): Likewise.
7297         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
7298         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
7299         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
7300         (_ZGVdN4v_sin_avx2): Likewise.
7301         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
7302         (_ZGVdN4v_sin): Likewise.
7303         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
7304         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
7305         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
7306         (_ZGVdN4vvv_sincos_avx2): Likewise.
7307         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
7308         (_ZGVdN4vvv_sincos): Likewise.
7309         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
7310         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
7311         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
7312         (_ZGVbN4v_cosf_sse4): Likewise.
7313         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
7314         (_ZGVdN8v_cosf_avx2): Likewise.
7315         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
7316         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
7317         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
7318         (_ZGVbN4v_expf_sse4): Likewise.
7319         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
7320         (_ZGVdN8v_expf_avx2): Likewise.
7321         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
7322         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
7323         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
7324         (_ZGVbN4v_logf_sse4): Likewise.
7325         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
7326         (_ZGVdN8v_logf_avx2): Likewise.
7327         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
7328         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
7329         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
7330         (_ZGVbN4vv_powf_sse4): Likewise.
7331         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
7332         (_ZGVdN8vv_powf_avx2): Likewise.
7333         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
7334         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
7335         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
7336         (_ZGVbN4vvv_sincosf_sse4): Likewise.
7337         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
7338         (_ZGVdN8vvv_sincosf_avx2): Likewise.
7339         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
7340         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
7341         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
7342         (_ZGVbN4v_sinf_sse4): Likewise.
7343         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
7344         (_ZGVdN8v_sinf_avx2): Likewise.
7345         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
7346         Use JUMPTARGET to call callee.
7347         (WRAPPER_IMPL_SSE2_ff): Likewise.
7348         (WRAPPER_IMPL_SSE2_fFF): Likewise.
7349         (WRAPPER_IMPL_AVX): Likewise.
7350         (WRAPPER_IMPL_AVX_ff): Likewise.
7351         (WRAPPER_IMPL_AVX_fFF): Likewise.
7352         (WRAPPER_IMPL_AVX512): Likewise.
7353         (WRAPPER_IMPL_AVX512_ff): Likewise.
7354         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
7355         Likewise.
7356         (WRAPPER_IMPL_SSE2_ff): Likewise.
7357         (WRAPPER_IMPL_SSE2_fFF): Likewise.
7358         (WRAPPER_IMPL_AVX): Likewise.
7359         (WRAPPER_IMPL_AVX_ff): Likewise.
7360         (WRAPPER_IMPL_AVX_fFF): Likewise.
7361         (WRAPPER_IMPL_AVX512): Likewise.
7362         (WRAPPER_IMPL_AVX512_ff): Likewise.
7363         (WRAPPER_IMPL_AVX512_fFF): Likewise.
7365 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7367         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
7368         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
7369         qualifier.
7370         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
7371         internal_function qualifiers.
7373 2016-03-15  Carlos O'Donell <carlos@redhat.com>
7375         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
7376         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
7377         * math/atest-exp.c (exp_mpn): Mark chk unused.
7378         * math/atest-exp2.c (exp_mpn): Likwise.
7379         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
7380         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
7382 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
7384         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
7385         Remove macro.
7386         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
7387         <kernel-features.h>.
7388         [__NR_ppoll]: Make code unconditional.
7389         [!__ASSUME_PPOLL]: Remove conditional code.
7391         * sysdeps/unix/sysv/linux/kernel-features.h
7392         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
7393         (__ASSUME_ACCEPT4): Likewise.
7394         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7395         Define.
7396         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
7397         Likewise.
7398         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7399         Likewise.
7400         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
7401         Likewise.
7402         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
7403         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
7404         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7405         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
7406         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7407         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7408         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7409         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7410         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7411         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7412         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7413         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7414         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7415         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7416         * sysdeps/unix/sysv/linux/i386/kernel-features.h
7417         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7418         Likewise.
7419         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7420         Likewise.
7421         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
7422         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
7423         0x040300].
7424         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7425         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
7426         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7427         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
7428         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
7429         0x030300].
7430         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
7431         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7432         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
7433         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
7434         0x040300].
7435         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7436         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7437         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7438         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7439         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7440         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
7441         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
7442         0x030300].
7443         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7444         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7445         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7446         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7447         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7448         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7449         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7450         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7451         * sysdeps/unix/sysv/linux/s390/kernel-features.h
7452         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
7453         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
7454         0x040300].
7455         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7456         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7457         * sysdeps/unix/sysv/linux/sh/kernel-features.h
7458         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7459         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7460         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7461         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7462         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7463         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7464         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7465         * sysdeps/unix/sysv/linux/tile/kernel-features.h
7466         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7467         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7468         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7469         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
7470         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7471         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7472         Likewise.
7473         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7474         Likewise.
7476 2016-03-15  Andreas Schwab  <schwab@suse.de>
7478         [BZ #19257]
7479         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
7480         statp->_u._ext.nscount as loop count.
7482 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
7484         * math/test-signgam-finite-c99.c: Also #undef
7485         __LIBC_INTERNAL_MATH_INLINES.
7486         * math/test-signgam-main.c: Likewise.
7488 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
7490         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
7491         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
7492         (MADV_FREE): Likewise.
7493         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
7494         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
7495         EPOLLEXCLUSIVE.
7497 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
7499         * timezone/README: Remove mention of checktab.awk. Mention wiki
7500         SharedSourceFiles.
7502 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
7504         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
7505         WUNTRACED.
7507 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7509         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
7510         order to match the type of p when calling atomic_exchange_acq().
7512 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7514         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
7515         cfi_offset calls.
7516         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
7517         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
7518         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
7519         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
7520         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
7522 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
7524         * timezone/checktab.awk: Removed.
7526 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
7528         * manual/math.texi (Errors in Math Functions): Document relaxed
7529         accuracy goals for IBM long double.
7530         * math/libm-test.inc (test_exceptions): Always allow spurious
7531         "underflow" and "inexact" exceptions for IBM long double.
7533 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
7535         [BZ #19762]
7536         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
7537         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
7538         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
7539         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
7540         (bit_arch_*): This for feature array.
7541         (bit_*): Renamed to ...
7542         (bit_cpu_*): This for cpu array.
7543         (index_*): Renamed to ...
7544         (index_arch_*): This for feature array.
7545         (index_*): Renamed to ...
7546         (index_cpu_*): This for cpu array.
7547         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
7548         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
7549         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
7550         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
7551         bit_##name with index_cpu_##name and bit_cpu_##name.
7552         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
7553         bit_##name with index_arch_##name and bit_arch_##name.
7555 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
7557         [BZ #19792]
7558         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
7559         Terminate FDE before return label.
7561 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
7563         [BZ #19790]
7564         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
7565         (rintl): Define as macro.
7566         [USE_AS_NEARBYINTL] (__rintl): Likewise.
7567         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
7568         of fesetround.  Ensure results are evaluated before end of scope.
7569         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
7570         USE_AS_NEARBYINTL and include s_rintl.c.
7571         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
7572         Disable exception traps in new environment.
7573         (libc_feholdsetround_ppc_ctx): Likewise.
7575 2016-03-08  Roland McGrath  <roland@hack.frob.com>
7577         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
7578         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
7579         (tst_audit10_aux) [__AVX512F__]: ... here.
7581 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
7583         * include/sys/auxv.h: New file.
7585 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
7587         [BZ #19759]
7588         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
7590 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7592         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
7593         operand modifier.
7594         (feclearexcept): Likewise.
7596 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
7598         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
7599         to reflect the entire 32-bit HWCAP.
7600         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
7601         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
7603 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
7605         [BZ #19783]
7606         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
7607         $(test-via-rtld-prefix).
7608         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
7610 2016-03-08  Florian Weimer  <fweimer@redhat.com>
7612         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
7613         union wait.  Report any non-zero exit status as error.
7615 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7617         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
7618         configured with --enable-hardcoded-path-in-tests.
7620 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
7622         [BZ #19677]
7623         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
7624         (__ieee754_remainderl): Put zero low parts in canonical form.
7625         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
7626         file.  Based on
7627         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
7628         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
7629         with wrapper round test-fmodrem-ldbl-128ibm.c.
7630         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
7631         file.
7632         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
7633         Likewise.
7634         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
7635         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
7637 2016-03-07  Florian Weimer  <fweimer@redhat.com>
7639         [BZ #19610]
7640         * elf/ldconfig.c (opt_link): Update comment.
7641         (options): Update help string for option -X.
7642         (search_dir): Unlink stale symbolic link only if updating symbolic
7643         links.
7644         * elf/tst-ldconfig-X.sh: New file.
7645         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
7646         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
7648 2016-03-07  Andreas Schwab  <schwab@suse.de>
7650         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
7651         needed arguments.
7653 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
7655         [BZ #15333]
7656         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
7657         to lstat64.
7659 2016-03-07  Florian Weimer  <fweimer@redhat.com>
7661         * libio/filedoalloc.c (isatty): Remove.
7662         (local_isatty): Add comment.  Call __isatty directly.
7663         (_IO_file_doallocate): Update comment.  Assume _LIBC.
7664         * libio/wfiledoalloc.c (isatty): Remove.
7665         (_IO_wfile_doallocate): Update comment.
7667 2016-03-07  Florian Weimer  <fweimer@redhat.com>
7669         [BZ #19269]
7670         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
7671         tst-audit4-aux.o.
7672         (tst-audit10): Depend on tst-audit10-aux.o.
7673         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
7674         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
7675         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
7676         instead of inline AVX code.
7677         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
7678         instead of inline AVX512 code.
7679         * sysdeps/x86_64/tst-audit4-aux.c: New file
7680         * sysdeps/x86_64/tst-audit10-aux.c: New file
7682         [BZ #19648]
7683         * test-skeleton.c (main): Do not set RLIMIT_DATA.
7685 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7687         [BZ #14750]
7688         [BZ #10354]
7689         [BZ #18433]
7690         * include/sched.h (__clone): Add hidden prototype.
7691         (__clone2): Likewise.
7692         * include/unistd.h (__dup): Likewise.
7693         * posix/Makefile (tests): Add tst-spawn2.
7694         * posix/tst-spawn2.c: New file.
7695         * sysdeps/posix/dup.c (__dup): Add hidden definition.
7696         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
7697         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
7698         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
7699         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
7700         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
7701         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
7702         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
7703         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
7704         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
7705         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
7706         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
7707         Likewise.
7708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
7709         Likewise.
7710         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
7711         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
7712         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
7713         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
7714         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
7715         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
7716         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
7717         * sysdeps/unix/sysv/linux/nptl-signals.h
7718         (____nptl_is_internal_signal): New function.
7719         * sysdeps/unix/sysv/linux/spawni.c: New file.
7721         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
7722         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
7723         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
7724         * posix/tst-execvp2.c (do_test): Likewise.
7725         * posix/tst-execvp3.c (do_test): Likewise.
7726         * posix/tst-execvp4.c (do_test): Likewise.
7727         * posix/tst-execvpe1.c: New file.
7728         * posix/tst-execvpe2.c: Likewise.
7729         * posix/tst-execvpe3.c: Likewise.
7730         * posix/tst-execvpe4.c: Likewise.
7731         * posix/tst-execvpe5.c: Likewise.
7732         * posix/tst-execvpe6.c: Likewise.
7734         [BZ #19534]
7735         * posix/execl.c (execl): Remove dynamic memory allocation.
7736         * posix/execle.c (execle): Likewise.
7737         * posix/execlp.c (execlp): Likewise.
7739 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
7741         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
7742         Replace .text with .text.avx512.
7743         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
7744         Likewise.
7746 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
7748         * sysdeps/generic/libnsl.abilist: New file.
7749         * sysdeps/generic/libutil.abilist: New file.
7751 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
7753         [BZ #19762]
7754         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
7755         HAS_ARCH_FEATURE with Fast_Rep_String.
7756         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
7757         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
7758         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
7759         Likewise.
7760         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
7761         Likewise.
7762         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
7763         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
7764         Likewise.
7765         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
7766         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
7767         Likewise.
7769 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
7771         [BZ #19745]
7772         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
7773         with *%rax in call.
7775 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
7777         [BZ #19745]
7778         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
7779         with *__libc_start_main@GOTPCREL(%rip) in call.
7781 2016-03-04  Roland McGrath  <roland@hack.frob.com>
7783         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
7784         inside conditional for nonempty $(CXX).
7786         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
7787         nonempty.
7789         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
7790         to test for empty $(CXX) rather than $(CXX) of "no".
7792 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
7794         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
7796 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
7797             H.J. Lu  <hongjiu.lu@intel.com>
7799         [BZ #18880]
7800         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
7801         instead of Slow_BSF, and also check for Fast_Copy_Backward to
7802         enable __memcpy_ssse3_back.
7804 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
7806         [BZ #19758]
7807         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
7808         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
7810 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
7812         [BZ #19490]
7813         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
7814         (__fentry__): Likewise.
7816 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
7818         * gmon/Makefile (noprof): Add $(sysdep_noprof).
7819         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
7821 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
7823         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
7824         __mcount_internal directly.
7825         (C_LABEL(__fentry__)): Likewise.
7826         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
7827         directly.
7829 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
7831         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
7832         (__start_context): Call __setcontext directly.
7834 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
7836         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7837         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
7838         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
7839         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
7840         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7841         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
7842         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
7843         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
7844         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7845         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
7846         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
7847         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
7848         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7849         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
7850         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
7851         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7852         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
7853         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7854         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
7855         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
7856         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
7857         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7858         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
7859         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
7860         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
7861         Remove conditional code.
7862         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7863         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
7864         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
7865         * sysdeps/unix/sysv/linux/sh/kernel-features.h
7866         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
7867         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
7868         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
7869         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7870         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
7871         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
7872         * sysdeps/unix/sysv/linux/tile/kernel-features.h
7873         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
7875 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
7877         * NEWS (2.23): Fix typo in bug 19048 text.
7879 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
7881         [BZ #14259]
7882         * Makeconfig: Rename msgcatdir to localedir.
7883         Rename inst_msgcatdir to inst_localedir.
7884         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
7885         * config.make.in: Add localedir.
7886         * elf/Makefile ($(objpfx)sotruss): Use localedir.
7887         (ldd-rewrite): Likewise.
7888         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
7889         (install-others): Use inst_localedir.
7890         (CPPFLAGS): Use localedir.
7891         * locale/Makefile (locale-CPPFLAGS): Likewise.
7892         * po/Makefile (mo-installed): Use inst_localedir.
7894         [BZ #19575]
7895         * localedata/charmaps/GB18030: Update comments regarding PAU to
7896         non-PUA mappings.
7898 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
7900         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
7901         test for header.
7902         * sysdeps/unix/sysv/linux/configure: Regenerated.
7903         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
7904         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
7905         Remove conditional code.
7906         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
7908         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
7909         Define to 3.2.0.
7910         (arch_minimum_kernel): Likewise.
7911         * sysdeps/unix/sysv/linux/configure: Regenerated.
7912         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
7913         Define to 2.6.32.
7914         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
7915         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
7916         (arch_minimum_kernel): Define to 2.6.32.
7917         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
7918         * README: Document Linux 3.2 requirement.
7919         * manual/install.texi (Linux): Document Linux 3.2 headers
7920         requirement.
7921         * INSTALL: Regenerated.
7923 2016-02-24  Andreas Schwab  <schwab@suse.de>
7925         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
7926         if !NO_LONG_DOUBLE.
7928 2016-02-22  Roland McGrath  <roland@hack.frob.com>
7930         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
7931         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
7933 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
7935         [BZ #19512]
7936         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
7938 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
7940         * posix/tst-dir.c: Include libc-internal.h.
7942 2016-02-20  Florian Weimer  <fweimer@redhat.com>
7944         [BZ #19056]
7945         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
7946         * manual/filesys.texi (Reading/Closing Directory): Mention
7947         deprecaion.
7948         * posix/tst-dir.c (main): Disable deprecation warning in test.
7950 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
7952         [BZ #19679]
7953         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
7954         Renamed to ...
7955         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
7956         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
7957         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
7958         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
7959         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
7960         * sysdeps/x86_64/dl-trampoline.h
7961         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
7962         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
7964 2016-02-19  Mark Wielaard  <mjw@redhat.com>
7966         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
7968 2016-02-19  Mark Wielaard  <mjw@redhat.com>
7970         * elf/elf.h (R_386_GOT32X): New.
7971         (R_386_NUM): Update.
7972         (R_X86_64_GOTPCRELX: New.
7973         (R_X86_64_REX_GOTPCRELX): New.
7974         (R_X86_64_NUM): Update.
7976 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
7978         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
7980 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
7982         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
7983         assign attr->stackaddr to it, and adjust it down when
7984         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
7985         [_STACK_GROWS_UP]: Delete assert.
7986         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
7987         Implement stack grows up logic.
7988         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
7989         stack grows up logic.
7991 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7993         * NEWS: Update with 2.24 template.
7995 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
7997         [BZ #19678]
7998         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
7999         Ensure +0.0 is returned when taking the next value below the least
8000         positive value.
8002 2016-02-19  Florian Weimer  <fweimer@redhat.com>
8004         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
8005         available.  Do not define NO_THREADS.
8006         * malloc/malloc.c: Do not check NO_THREADS.
8007         * malloc/arena.c: Likewise.
8009 2016-02-19  Florian Weimer  <fweimer@redhat.com>
8011         * malloc/malloc.c (__libc_mallinfo): Update comment.
8012         (struct malloc_par): Remove max_total_mem member, it was always 0.
8013         (int_mallinfo): Store 0 into usmblks (no functional change).
8014         * malloc/hooks.c (struct malloc_state): Document that
8015         max_total_mem is always 0.
8016         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
8017         always 0.
8018         * manual/memory.texi (Statistics of Malloc): Likewise.
8020 2016-02-19  Florian Weimer  <fweimer@redhat.com>
8022         * malloc/malloc.c (sysmalloc): Do not update arena_max.
8023         * malloc/arena.c (arena_max): Remove.
8024         (heap_trim, _int_new_arena): Do not update arena_max.
8026 2016-02-19  Florian Weimer  <fweimer@redhat.com>
8028         * resolv/res_init.c (res_ninit): Update comment.
8030 2016-02-19  Florian Weimer  <fweimer@redhat.com>
8032         [BZ #19505]
8033         * posix/spawn_int.h: Add headers and include guard.
8034         (__spawn_valid_fd): New function.
8035         * posix/spawn_faction_addopen.c
8036         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
8037         * posix/spawn_faction_addclose.c
8038         (posix_spawn_file_actions_addclose): Likewise.
8039         * posix/spawn_faction_adddup2.c
8040         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
8041         second file descriptor.
8042         * posix/spawn_valid_fd.c: New file.
8043         * posix/tst-posix_spawn-fd.c: New file.
8044         * posix/Makefile (routines): Add spawn_valid_fd.
8045         (tests): Add tst-posix_spawn-fd.
8047 2016-02-19  Florian Weimer  <fweimer@redhat.com>
8049         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
8050         (do_test): Limit the number of arenas, so that we can use fewer
8051         outer threads.  Limit timeout to 3 seconds, in preparation for a
8052         larger TIMEOUT value.
8054 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
8056         [BZ #19674]
8057         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
8058         sign in overflowing and underflowing results when overflow or
8059         underflow is detected early.  Include sign in result before rather
8060         than after scaling.
8062         [BZ #19603]
8063         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
8064         (__ieee754_remainderl): Adjust sign of integer version of low part
8065         when taking absolute value of high part.
8066         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
8067         * math/libm-test.inc (remainder_test_data): Add another test.
8068         (remquo_test_data): Likewise.
8070 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
8072         [BZ #19602]
8073         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
8074         equal high parts and both low parts zero specially.
8075         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
8076         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
8077         Add test-fmodl-ldbl-128ibm.
8079         [BZ #19595]
8080         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
8081         common logic for all cases of shifting subnormal results.  Do not
8082         insert sign bit in shifted mantissa.  Always pass -1023 as biased
8083         exponent to ldbl_insert_mantissa in subnormal case.
8085         [BZ #19594]
8086         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
8087         on high and low parts then adjust result and use
8088         ldbl_canonicalize_int if needed.
8090         [BZ #19593]
8091         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
8092         on high part and __floor or __ceil on low part then use
8093         ldbl_canonicalize_int if needed.
8095         [BZ #19592]
8096         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
8097         high and low parts then use ldbl_canonicalize_int if needed.
8099         [BZ #17899]
8100         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
8101         New function.
8102         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
8103         on high and low parts then use ldbl_canonicalize_int if needed.
8105 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8107         * configure: Regenerated.
8109         * po/libc.pot: Regenerated.
8111         * po/be.po: Updated translation.
8112         * po/bg.po: Likewise.
8113         * po/ca.po: Likewise.
8114         * po/cs.po: Likewise.
8115         * po/da.po: Likewise.
8116         * po/el.po: Likewise.
8117         * po/eo.po: Likewise.
8118         * po/es.po: Likewise.
8119         * po/fi.po: Likewise.
8120         * po/fr.po: Likewise.
8121         * po/gl.po: Likewise.
8122         * po/hr.po: Likewise.
8123         * po/hu.po: Likewise.
8124         * po/ia.po: Likewise.
8125         * po/id.po: Likewise.
8126         * po/it.po: Likewise.
8127         * po/ja.po: Likewise.
8128         * po/lt.po: Likewise.
8129         * po/nb.po: Likewise.
8130         * po/nl.po: Likewise.
8131         * po/pt_BR.po: Likewise.
8132         * po/rw.po: Likewise.
8133         * po/sk.po: Likewise.
8134         * po/sl.po: Likewise.
8135         * po/sv.po: Likewise.
8136         * po/tr.po: Likewise.
8137         * po/zh_CN.po: Likewise.
8138         * po/zh_TW.po: Likewise.
8140         * version.h (RELEAES): Set to "development".
8141         (VERSION): Set to 2.23.90.
8143         * version.h (RELEASE): Set to "stable".
8144         (VERSION): Set to 2.23.
8145         * include/feature.h (__GLIBC_MINOR__): Set to 23.
8147         * NEWS: Updated fixed bugs.
8149 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
8150             Wilco Dijkstra  <wdijkstr@arm.com>
8152         [BZ #19462]
8153         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
8154         (_STRING_INLINE_unaligned): This.
8155         * include/string.h: Include <string_private.h>.
8156         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
8157         _STRING_INLINE_unaligned.
8158         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
8159         (_STRING_INLINE_unaligned): New.
8160         * sysdeps/aarch64/string_private.h: New file.
8161         * sysdeps/generic/string_private.h: Likewise.
8162         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
8163         * sysdeps/s390/string_private.h: Likewise.
8164         * sysdeps/x86/string_private.h: Likewise.
8165         * sysdeps/m68k/m680x0/m68020/bits/string.h
8166         (_STRING_ARCH_unaligned): Renamed to ...
8167         (_STRING_INLINE_unaligned): This.
8168         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
8169         to ...
8170         (_STRING_INLINE_unaligned): This.
8171         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
8172         to ...
8173         (_STRING_INLINE_unaligned): This.
8174         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
8175         to ...
8176         (_STRING_INLINE_unaligned): This.
8178 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
8179             H.J. Lu  <hongjiu.lu@intel.com>
8181         [BZ #19590]
8182         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
8183         relocation.
8185 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
8187         [BZ #18665]
8188         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
8189         *herrno_p.
8190         (gaih_getanswer): Document functional behviour. Return tryagain
8191         if any result is tryagain.
8192         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
8193         when freed.
8194         * resolv/res_send.c: Add copyright text.
8195         (__libc_res_nsend): Document that MAXPACKET is expected.
8196         (send_vc): Document. Remove buffer reuse.
8197         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
8198         size of the buffer. Add Dprint for truncated UDP buffer.
8200 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
8202         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
8203         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
8204         * INSTALL: Regenerate.
8206 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
8207             Jonathan Wakely  <jwakely@redhat.com>
8208             Carlos O'Donell  <carlos@redhat.com>
8210         [BZ 19439]
8211         * math/Makefile (tests): Add test-math-isinff.
8212         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
8213         * math/bits/mathcalls.h [__USE_MISC]: Use
8214         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
8215         functions not in C++11 and which don't conflict e.g. isinff,
8216         isinfl etc.
8217         * math/test-math-isinff.cc: New file.
8219 2016-02-12  Florian Weimer  <fweimer@redhat.com>
8221         * misc/bug18240.c (do_test): Set RLIMIT_AS.
8223 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
8225         [BZ #19529]
8226         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
8228 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8230         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
8232 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
8234         [BZ #19550]
8235         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
8236         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
8237         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
8238         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
8239         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
8240         New syscall entry.
8241         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
8242         New syscall entry.
8243         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
8244         syscall entry.
8246 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
8248         [BZ #18240]
8249         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
8250         unsigned int wraparound.
8252 2016-01-27  Florian Weimer  <fweimer@redhat.com>
8254         [BZ #18240]
8255         * misc/bug18240.c: New test.
8256         * misc/Makefile (tests): Add it.
8258 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
8259             Joseph Myers  <joseph@codesourcery.com>
8261         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
8262         load in branch delay slot when less than a word of input left.
8264 2016-01-27  Andreas Schwab  <schwab@suse.de>
8266         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
8267         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
8268         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
8269         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
8271 2016-01-26  David S. Miller  <davem@davemloft.net>
8273         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
8275 2016-01-25  David S. Miller  <davem@davemloft.net>
8277         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
8278         __sqrtl_finite.
8279         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
8280         instead using versioned_symbol.
8281         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
8282         of entries.
8284         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
8285         __sqrtl_finite to GLIBC_2.23
8287 2016-01-25  Ricchard Henderson  <rth@redhat.com>
8289         * sysdeps/alpha/fpu/libm-test-ulps: Update.
8291 2016-01-25  Andreas Schwab  <schwab@suse.de>
8293         [BZ #17514]
8294         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
8295         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
8296         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
8297         * nptl/tst-mutex-errorcheck.c: New file.
8299 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8301         [BZ #18560]
8302         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
8303         (IPCOP_semop): Likewise.
8304         (IPCOP_semget): Likewise.
8305         (IPCOP_semctl): Likewise.
8306         (IPCOP_msgsnd): Likewise.
8307         (IPCOP_msgrcv): Likewise.
8308         (IPCOP_msgget): Likewise.
8309         (IPCOP_msgctl): Likewise.
8310         (IPCOP_shmat): Likewise.
8311         (IPCOP_shmdt): Likewise.
8312         (IPCOP_shmget): Likewise.
8313         (IPCOP_shmctl): Likewise.
8315 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
8317         * string/tst-endian.c: Include <libc-internal.h>.
8318         (do_test): Ignore tautological-compare warnings around
8319         "htobeXX (beXXtoh (i)) != i" and
8320         "htoleXX (leXXtoh (i)) != i" if-statements.
8322 2016-01-24  David S. Miller  <davem@davemloft.net>
8324         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
8325         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
8326         alias.
8327         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
8328         __sqrtl_finite.
8330         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8332 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
8334         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
8335         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
8336         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
8338 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8340         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
8341         (thread_func): Use new function to simplify barrier check.
8342         (do_test): Use new function to simplify checking barrier exit
8343         code, and actually join the child thread.
8345 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8347         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
8348         semicolon.
8349         (__libc_tend): Likewise.
8350         (__libc_tabort): Likewise.
8352 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
8354         * sysdeps/nios2/libm-test-ulps: Update.
8355         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
8356         (__gtsf2): Likewise.
8357         (__unorddf2): Likewise.
8358         (__unordsf2): Likewise.
8359         (__ledf2): Likewise.
8361 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
8363         * nis/nis_table.c (__follow_path): Disable diagnostic for
8364         uninitialized variable that is a false positive for gcc 4.7.
8365         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
8367 2016-01-20  Roland McGrath  <roland@hack.frob.com>
8369         * sysdeps/nacl/lowlevellock-futex.h
8370         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
8371         Always evaluate PRIVATE argument.
8373 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
8375         [BZ #19490]
8376         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
8377         (pthread_cond_broadcast): Use ENTRY/END
8378         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
8379         (pthread_cond_signal): Likewise.
8380         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
8381         Likewise.
8382         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
8383         Likewise.
8384         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
8385         Likewise.
8387 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
8389         * sysdeps/ieee754/dbl-64/s_finite.c
8390         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
8391         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
8392         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
8393         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
8394         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
8396         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
8397         (__gtsf2): Add as optional for libc.so.
8398         (__unordsf2): Likewise.
8399         (__signbit): Remove for libc.so.
8400         (__signbitl): Likewise.
8402 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
8404         * iconvdata/bug-iconv11.c (test_ibm93x):
8405         Use %zu printf format specifier for size_t argument.
8407 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
8409         * math/gen-libm-test.pl (parse_ulps): Do not reduce
8410         already-recorded ulps.
8411         * sysdeps/arm/libm-test-ulps: Regenerated.
8412         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
8413         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8414         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
8416 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
8417             Paul Pluzhnikov  <ppluzhnikov@google.com>
8419         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
8420         assembler not supporting AVX-512.
8422 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
8424         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
8426 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
8428         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
8429         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8431         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8433         * sysdeps/arm/libm-test-ulps: Regenerated.
8435 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
8437         [BZ #19451]
8438         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
8440 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
8442         [BZ #19486]
8443         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
8444         * sysdeps/generic/fix-fp-int-convert-overflow.h
8445         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
8446         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
8447         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
8448         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
8449         Likewise.
8450         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
8451         Avoid conversions to long int where inexact exceptions
8452         could be raised.
8453         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
8454         Likewise.
8455         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
8456         Avoid conversions to long long int where inexact exceptions
8457         could be raised.
8458         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
8459         Likewise.
8461 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
8463         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
8464         * configure: Regenerated.
8466 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
8468         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
8470 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
8472         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
8473         outside of comment.
8475 2016-01-15  Torvald Riegel  <triegel@redhat.com>
8477         * nptl/tst-barrier1.c: Add description on first line.
8478         * nptl/tst-barrier2.c: Likewise.
8479         * nptl/tst-barrier3.c: Likewise.
8480         * nptl/tst-barrier4.c: Likewise.
8481         * nptl/tst-barrier5.c: Likewise.
8483 2016-01-15  Torvald Riegel  <triegel@redhat.com>
8485         [BZ #18868]
8486         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
8488 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
8490         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
8491         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
8492         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
8493         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
8494         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
8495         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
8496         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
8497         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
8498         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
8499         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
8500         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
8502 2016-01-15  Torvald Riegel  <triegel@redhat.com>
8504         [BZ #13065]
8505         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
8506         new implementation.
8507         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
8508         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
8509         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
8510         (BARRIER_IN_THRESHOLD): New macro.
8511         * nptl/pthread_barrierattr_setpshared.c
8512         (pthread_barrierattr_setpshared): Clean up.
8513         * nptl/tst-barrier4.c: Correct comment.
8514         * nptl/tst-barrier5.c: New file.
8515         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
8516         (gen-as-const-headers): Remove lowlevelbarrier.sym.
8517         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
8518         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
8519         * nptl/lowlevelbarrier.sym: Remove.
8520         * nptl/DESIGN-barrier.txt: Remove.
8521         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
8522         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
8523         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
8524         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
8525         error.
8526         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
8527         implementation.
8529 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8531         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
8532         (do_child): Mask SIGRTMIN while thr is running.
8534 2016-01-15  Martin Sebor  <msebor@redhat.com>
8536         [BZ #19432]
8537         * iconvdata/Makefile: Add bug-iconv11.
8538         * iconvdata/bug-iconv11.c: New test.
8539         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
8540         * iconvdata/ibm933.c: Same.
8541         * iconvdata/ibm935.c: Same.
8542         * iconvdata/ibm937.c: Same.
8543         * iconvdata/ibm939.c: Same.
8545 2016-01-15  Martin Sebor  <msebor@redhat.com>
8547         [BZ #19443]
8548         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
8549         [DEBUG] (_ufc_set_bits): Declare used.
8550         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
8551         [DEBUG] (print_all): Declare used.
8552         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
8553         operands of the ternary ?: expression to target type.
8554         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
8555         calling the undeclared abort.
8556         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
8558 2016-01-15  Martin Sebor  <msebor@redhat.com>
8560         [BZ #18755]
8561         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
8562         warnings.
8563         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
8564         (__gai_create_helper_thread): Same.
8565         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
8566         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
8567         to suppress -Wmaybe-uninitialized warnings.
8569 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
8571         [BZ #19465]
8572         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
8573         inside if.
8574         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8575         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8576         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8578 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
8580         [BZ #19466]
8581         * time/tst-mktime2.c (time_t_max): Removed.
8582         (time_t_min): Likewise.
8583         (TYPE_SIGNED): New.
8584         (TYPE_MINIMUM): Likewise.
8585         (TYPE_MAXIMUM): Likewise.
8586         (TIME_T_MIN): Likewise.
8587         (TIME_T_MAX): Likewise.
8588         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
8589         and TIME_T_MIN.
8590         (do_test): Likewise.
8592 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
8594         [BZ #19467]
8595         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
8596         index_Fast_Unaligned_Load flag for Excavator family CPUs.
8598 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
8600         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
8602 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
8604         * benchtests/Makefile (PYTHON): Define.
8605         (bench-func): Use $(PYTHON) to run python scripts.
8606         ($(objpfx)bench-%.c): Likewise.
8608 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
8610         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
8611         leading slash when `file_name' is "/".
8613 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
8615         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
8616         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
8617         Likewise.
8618         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
8619         Likewise.
8620         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
8621         Likewise.
8622         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
8623         enum constant and macro.
8624         (PTRACE_SETSIGMASK): Likewise.
8625         (PTRACE_SECCOMP_GET_FILTER): Likewise.
8626         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
8627         (PTRACE_GETSIGMASK): Likewise.
8628         (PTRACE_SETSIGMASK): Likewise.
8629         (PTRACE_SECCOMP_GET_FILTER): Likewise.
8630         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
8631         Likewise.
8632         (PTRACE_SETSIGMASK): Likewise.
8633         (PTRACE_SECCOMP_GET_FILTER): Likewise.
8634         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
8635         (PTRACE_GETSIGMASK): Likewise.
8636         (PTRACE_SETSIGMASK): Likewise.
8637         (PTRACE_SECCOMP_GET_FILTER): Likewise.
8638         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
8639         Likewise.
8640         (PTRACE_SETSIGMASK): Likewise.
8641         (PTRACE_SECCOMP_GET_FILTER): Likewise.
8642         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
8643         Likewise.
8644         (PTRACE_SETSIGMASK): Likewise.
8645         (PTRACE_SECCOMP_GET_FILTER): Likewise.
8646         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
8647         Likewise.
8648         (PTRACE_SETSIGMASK): Likewise.
8649         (PTRACE_SECCOMP_GET_FILTER): Likewise.
8651 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
8652             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8654         [BZ #19439]
8655         * math/bits/mathcalls.h
8656         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
8657         prototype.
8658         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
8660 2016-01-11  Andreas Schwab  <schwab@suse.de>
8662         [BZ #19253]
8663         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
8664         cache when TZDEFRULES was used.
8665         * time/tst-tzname.c: New file.
8666         * time/Makefile (test): Add tst-tzname.
8667         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
8668         * timezone/Makefile (test-zones): Add $(posixrules-file).
8669         ($(testdata)/$(posixrules-file)): New rule.
8671 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
8673         Fix doc quoting problems with Texinfo 5
8674         Without this change, in the info file output, Texinfo 5 quotes code
8675         in text with undirected single quotes 'like this' and generates
8676         code examples that with many PDF readers cannot be cut out of PDFs
8677         and pasted into code.
8678         * manual/libc.texinfo: Configure the libc manual like the GNU
8679         Emacs manual, by using @documentencoding and setting
8680         txicodequoteundirected and txicodequotebacktick.  This way,
8681         Texinfo 5 quotes code in text with directed single quotes ‘like
8682         this’ and produces examples that can be cut out of PDFs.  This
8683         change causes Texinfo 5 to generate info files that contain UTF-8
8684         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
8685         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
8687 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8689         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
8690         __libc_tabort, __libc_tend): New wrappers that enforce compiler
8691         barriers to their respective compiler built-ins.
8692         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
8693         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
8694         * sysdeps/powerpc/sysdep.h: Likewise.
8695         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
8696         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
8697         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
8699 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
8701         * scripts/config.guess: Revert previous shebang change.
8702         * scripts/config.sub: Likewise.
8703         * scripts/mkinstalldirs: Likewise.
8705 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8707         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
8708         PPC_FEATURE2_HAS_IEEE128.
8709         * sysdeps/powerpc/dl-procinfo.c:
8710         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
8712 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
8714         [BZ #19415]
8715         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
8716         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
8717         (_dl_lookup_address): Rewrite using function resolver trampoline.
8718         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
8719         two bits in address.
8721 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
8723         * longlong.h: Change !__SHMEDIA__ to
8724         (!defined (__SHMEDIA__) || !__SHMEDIA__).
8725         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
8727 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
8728             Joseph Myers  <joseph@codesourcery.com>
8729             Mark Shinwell  <shinwell@codesourcery.com>
8730             Andrew Stubbs  <ams@codesourcery.com>
8731             Rich Felker <dalias@libc.org>
8733         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
8735 2016-01-07  Richard Henderson  <rth@redhat.com>
8737         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
8739 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
8741         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
8742         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
8743         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
8744         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
8745         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
8747 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
8748             Joseph Myers  <joseph@codesourcery.com>
8750         * timezone/private.h: Update from tzcode 2015g.
8751         * timezone/tzfile.h: Likewise.
8752         * timezone/tzselect.ksh: Likewise.
8753         * timezone/zdump.c: Likewise.
8754         * timezone/zic.c: Likewise.
8755         * timezone/ialloc.c: Remove file.
8756         * timezone/scheck.c: Likewise.
8757         * timezone/Makefile (extra-objs): Remove variable.
8758         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
8759         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
8760         -Wno-maybe-uninitialized.
8761         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
8762         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
8763         (CFLAGS-ialloc.c): Remove variable.
8764         (CFLAGS-scheck.c): Likewise.
8765         * timezone/README: Update list of files from tzcode.
8767 2016-01-07  Khem Raj  <raj.khem@gmail.com>
8769         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
8770         instead of __fxprintf when _LIBC is undefined.
8772 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
8774         * catgets/test-gencat.sh: Remove space after shebang.
8775         * conform/GlibcConform.pm: Likewise.
8776         * conform/check-header-lists.sh: Likewise.
8777         * conform/conformtest.pl: Likewise.
8778         * conform/linknamespace.pl: Likewise.
8779         * conform/list-header-symbols.pl: Likewise.
8780         * debug/catchsegv.sh: Likewise.
8781         * elf/genrtldtbl.awk: Likewise.
8782         * elf/tst-pathopt.sh: Likewise.
8783         * elf/tst-rtld-load-self.sh: Likewise.
8784         * grp/tst_fgetgrent.sh: Likewise.
8785         * iconvdata/gen-8bit-gap-1.sh: Likewise.
8786         * iconvdata/gen-8bit-gap.sh: Likewise.
8787         * iconvdata/gen-8bit.sh: Likewise.
8788         * iconvdata/run-iconv-test.sh: Likewise.
8789         * intl/tst-gettext.sh: Likewise.
8790         * intl/tst-gettext2.sh: Likewise.
8791         * intl/tst-gettext4.sh: Likewise.
8792         * intl/tst-gettext6.sh: Likewise.
8793         * intl/tst-translit.sh: Likewise.
8794         * io/ftwtest-sh: Likewise.
8795         * libio/test-freopen.sh: Likewise.
8796         * locale/gen-translit.pl: Likewise.
8797         * malloc/tst-mtrace.sh: Likewise.
8798         * manual/check-safety.sh: Likewise.
8799         * manual/libc-texinfo.sh: Likewise.
8800         * manual/tsort.awk: Likewise.
8801         * manual/xtract-typefun.awk: Likewise.
8802         * nptl/tst-cancel-wrappers.sh: Likewise.
8803         * nptl/tst-tls6.sh: Likewise.
8804         * posix/globtest.sh: Likewise.
8805         * posix/tst-getconf.sh: Likewise.
8806         * posix/wordexp-tst.sh: Likewise.
8807         * scripts/check-c++-types.sh: Likewise.
8808         * scripts/check-local-headers.sh: Likewise.
8809         * scripts/config.guess: Likewise.
8810         * scripts/config.sub: Likewise.
8811         * scripts/cpp: Likewise.
8812         * scripts/cross-test-ssh.sh: Likewise.
8813         * scripts/documented.sh: Likewise.
8814         * scripts/evaluate-test.sh: Likewise.
8815         * scripts/gen-libc-abis: Likewise.
8816         * scripts/gen-sorted.awk: Likewise.
8817         * scripts/list-fixed-bugs.py: Likewise.
8818         * scripts/merge-test-results.sh: Likewise.
8819         * scripts/mkinstalldirs: Likewise.
8820         * scripts/rellns-sh: Likewise.
8821         * scripts/test-installation.pl: Likewise.
8822         * scripts/update-copyrights: Likewise.
8823         * stdio-common/tst-printf.sh: Likewise.
8824         * stdio-common/tst-unbputc.sh: Likewise.
8825         * stdlib/tst-fmtmsg.sh: Likewise.
8826         * stdlib/tst-setcontext3.sh: Likewise.
8827         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
8828         * sysdeps/unix/make-syscalls.sh: Likewise.
8830 2016-01-06  John David Anglin  <dave.anglin@bell.net>
8832         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
8833         asm stw with atomic_exchange_rel.  Add explanatory comment.
8834         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
8835         Likewise.
8837 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
8839         [BZ #19122]
8840         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
8841         * sysdeps/generic/dl-unistd.h: New file.
8842         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
8844 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
8846          [BZ #19122]
8847          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
8848          * sysdeps/generic/dl-mman.h: New file.
8849          * sysdeps/mach/hurd/dl-mman.h: Likewise.
8851 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
8853         * manual/texinfo.tex: Update to version 2016-01-04.21 with
8854         trailing whitespace removed.
8855         * scripts/config.guess: Update to version 2016-01-01.
8856         * scripts/config.sub: Update to version 2016-01-01.
8857         * scripts/move-if-change: Update from gnulib.
8859 2016-01-04  Anton Blanchard  <anton@samba.org>
8861         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
8862         for array indices.
8863         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
8865 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
8867         * NEWS: Update copyright dates.
8868         * catgets/gencat.c (print_version): Likewise.
8869         * csu/version.c (banner): Likewise.
8870         * debug/catchsegv.sh: Likewise.
8871         * debug/pcprofiledump.c (print_version): Likewise.
8872         * debug/xtrace.sh (do_version): Likewise.
8873         * elf/ldconfig.c (print_version): Likewise.
8874         * elf/ldd.bash.in: Likewise.
8875         * elf/pldd.c (print_version): Likewise.
8876         * elf/sotruss.sh: Likewise.
8877         * elf/sprof.c (print_version): Likewise.
8878         * iconv/iconv_prog.c (print_version): Likewise.
8879         * iconv/iconvconfig.c (print_version): Likewise.
8880         * locale/programs/locale.c (print_version): Likewise.
8881         * locale/programs/localedef.c (print_version): Likewise.
8882         * login/programs/pt_chown.c (print_version): Likewise.
8883         * malloc/memusage.sh (do_version): Likewise.
8884         * malloc/memusagestat.c (print_version): Likewise.
8885         * malloc/mtrace.pl: Likewise.
8886         * manual/libc.texinfo: Likewise.
8887         * nptl/version.c (banner): Likewise.
8888         * nscd/nscd.c (print_version): Likewise.
8889         * nss/getent.c (print_version): Likewise.
8890         * nss/makedb.c (print_version): Likewise.
8891         * posix/getconf.c (main): Likewise.
8892         * scripts/test-installation.pl: Likewise.
8893         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
8895         * All files with FSF copyright notices: Update copyright dates
8896         using scripts/update-copyrights.
8897         * intl/plural.c: Regenerated.
8898         * locale/programs/charmap-kw.h: Likewise.
8899         * locale/programs/locfile-kw.h: Likewise.
8901 2016-01-02  Helge Deller  <deller@gmx.de>
8903         [BZ #19285]
8904         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
8905         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
8906         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
8907         (MADV_xxK_PAGES): Remove.
8909 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
8911         [BZ #15421]
8912         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
8913         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
8914         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
8915         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
8917 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
8919         [BZ #19408]
8920         * sysdeps/unix/sysv/linux/personality.c: New file.
8921         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
8922         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
8923         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
8924         (sysdep_routines): Add personality.
8925         (tests): Add tst-personality.
8926         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
8927         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
8928         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
8929         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
8930         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
8931         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
8932         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
8933         Likewise.
8934         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
8935         Likewise.
8936         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
8937         Likewise.
8938         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
8939         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
8940         Likewise.
8942 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
8944         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
8945         (PATH_ARM_SYSTYPE): Remove.
8946         (PATH_CPUINFO): Likewise.
8947         (IO_BASE_FOOTBRIDGE): Likewise.
8948         (IO_SHIFT_FOOTBRIDGE): Likewise.
8949         (struct platform): Likewise.
8950         (init_iosys): Remove compatibility code for 2.4 kernels.
8951         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
8953 2015-12-29  Florian Weimer  <fweimer@redhat.com>
8955         * malloc/tst-malloc-thread-fail.c: New file.
8956         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
8957         (tst-malloc-thread-fail): Link against libpthread.
8959 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
8961         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
8962         (get_parser): New function.
8963         (main): New function.
8965 2015-12-29  Rob Wu  <rob@robwu.nl>
8967         [BZ #19369]
8968         * resolv/res_init.c (__res_vinit): Reset defdname before use.
8970 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
8972         [BZ #19270]
8973         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
8975 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
8977         [BZ #15421]
8978         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
8980 2015-12-23  Torvald Riegel  <triegel@redhat.com>
8982         [BZ #13690]
8983         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
8984         after releasing it.
8985         (__lll_robust_unlock): Likewise.
8986         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
8987         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
8988         (lll_robust_unlock): Likewise.
8989         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
8990         Prevent warnings in callers.
8992 2015-12-23  Florian Weimer  <fweimer@redhat.com>
8994         * malloc/arena.c (list_lock): Update comment.
8996 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8998         * sysdeps/powerpc/hwcapinfo.c: Export symbol
8999         __parse_hwcap_and_convert_at_platform to libc.a.
9001 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9003         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
9004         platform and feature support for POWER9.
9005         * sysdeps/powerpc/dl-procinfo.h: Likewise.
9006         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
9007         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
9008         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
9009         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
9010         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
9011         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
9012         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
9014 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9016         Harmonize generic stdio-lock support with nptl
9018         This fixes build when _IO_funlockfile is a macro, fixes build where
9019         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
9020         stack unwind.
9022         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
9023         _IO_release_lock ): Use cleanup attribute on new
9024         _IO_acquire_lock_file variable instead of assuming that
9025         _IO_release_lock will be called.
9026         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
9027         _IO_acquire_lock_needs_exceptions_enabled.
9028         (_IO_acquire_lock_clear_flags2): New macro.
9030 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9032         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
9034 2015-12-21  Florian Weimer  <fweimer@redhat.com>
9036         [BZ #19182]
9037         * malloc/arena.c (list_lock): Document lock ordering requirements.
9038         (free_list_lock): New lock.
9039         (ptmalloc_lock_all): Comment on free_list_lock.
9040         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
9041         (detach_arena): Update comment.  free_list_lock is now needed.
9042         (_int_new_arena): Use free_list_lock around detach_arena call.
9043         Acquire arena lock after list_lock.  Add comment, including FIXME
9044         about incorrect synchronization.
9045         (get_free_list): Switch to free_list_lock.
9046         (reused_arena): Acquire free_list_lock around detach_arena call
9047         and attached threads counter update.  Add two FIXMEs about
9048         incorrect synchronization.
9049         (arena_thread_freeres): Switch to free_list_lock.
9050         * malloc/malloc.c (struct malloc_state): Update comments to
9051         mention free_list_lock.
9053 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
9055         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
9056         Remove functions.
9057         (sloww, sloww1): Accept argument to offset quadrant.
9058         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
9059         quadrant.
9060         (__sin, __cos): Consolidate common code into new functions.
9061         (reduce_sincos_1, do_sincos_1): New functions.
9062         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
9064         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
9065         code to new functions.
9066         (reduce_sincos_2, do_sincos_2): New functions.
9067         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
9069         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
9070         common code for sincos.
9071         (__cos) [!IN_SINCOS]: Likewise.
9072         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
9073         New function.
9074         (__sincos): Use it.
9076 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
9078         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
9079         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
9080         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
9082 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
9084         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
9085         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
9086         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
9087         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
9088         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9089         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
9090         index_Prefer_No_VZEROUPPER): New feature.
9091         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
9092         Prefer_No_VZEROUPPER for Knights Landing.
9094 015-12-18  Torvald Riegel  <triegel@redhat.com>
9096         * math/atest-exp2.c (mp_exp_m1): Remove.
9098 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9100         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
9101         syscalls.
9102         (__SYSCALL0): New macro.
9103         (__SYSCALL1): Likewise.
9104         (__SYSCALL2): Likewise.
9105         (__SYSCALL3): Likewise.
9106         (__SYSCALL4): Likewise.
9107         (__SYSCALL5): Likewise.
9108         (__SYSCALL6): Likewise.
9109         (__SYSCALL_CONCAT_X): Likewise.
9110         (__SYSCALL_CONCAT): Likewise.
9111         (__SYSCALL_DIST): Likewise.
9112         (__SYSCALL_CALL): Likewise.
9114 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
9116         [BZ #19363]
9117         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
9119 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9121         [BZ #19375]
9122         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
9123         negative subnormals.
9125 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
9127         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
9128         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
9129         (INTERNAL_SYSCALL_NCS): Use it.
9130         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
9132 2015-12-16  Florian Weimer  <fweimer@redhat.com>
9134         [BZ #19243]
9135         * malloc/arena.c (get_free_list): Remove assert and adjust
9136         reference count handling.  Add comment about reused_arena
9137         interaction.
9138         (reused_arena): Add comments abount get_free_list interaction.
9139         * malloc/tst-malloc-thread-exit.c: New file.
9140         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
9141         (tst-malloc-thread-exit): Link against libpthread.
9143 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
9145         [BZ #19367]
9146         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
9147         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
9148         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
9149         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
9150         (index_Prefer_MAP_32BIT_EXEC): Likewise.
9152 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
9154         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
9155         Silvermont optimizations for Knights Landing.
9157 2015-12-15  Andreas Schwab  <schwab@suse.de>
9159         [BZ #17197]
9160         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
9161         immediately after emitting SI.
9162         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
9163         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
9164         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
9165         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
9166         * iconvdata/bug-iconv10.c: New file.
9167         * iconvdata/Makefile (tests): Add bug-iconv10.
9168         ($(objpfx)bug-iconv10.out): New rule.
9170 2015-12-15  Florian Weimer  <fweimer@redhat.com>
9172         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
9173         aliasing violation.
9175 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
9177         [BZ #18472]
9178         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
9179         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
9180         conditionals for them.
9181         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
9182         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
9183         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
9184         sys/kdaemon.h.
9185         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
9186         compat-only syscall, obsoleted in glibc 2.23.
9187         (create_module): Likewise.
9188         (get_kernel_syms): Likewise.
9189         (query_module): Likewise.
9190         (uselib): Likewise.
9191         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
9193 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
9195         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
9196         <linux/version.h>.
9197         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
9198         conditional code.
9199         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
9200         and ioshift_name initialization.
9202 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
9204         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
9205         Fix indentation.
9207 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
9209         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
9211 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
9213         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
9215 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
9216             Jakub Wilk  <jwilk@debian.org>
9218         [BZ #19347]
9219         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
9220         to change the group of the device to the tty group.
9222 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
9224         Split large string section; add truncation advice
9225         * manual/examples/strncat.c: Remove.
9226         This example was misleading, as the code would have undefined
9227         behavior if "hello" was longer than SIZE.  Anyway, the manual
9228         shouldn't encourage strncpy+strncat for this sort of thing.
9229         * manual/string.texi (Copying Strings and Arrays): Split into
9230         three sections Copying Strings and Arrays, Concatenating Strings,
9231         and Truncating Strings, as this section was way too long.  All
9232         cross-referenced changed.  Add advice about string-truncation
9233         functions.  Remove misleading strncat example.
9235 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
9237         * manual/nss.texi (NSS Modules Interface): Document
9238         NSS_STATUS_NOTFOUND and SUCCESS.
9240 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
9242         [BZ 18568]
9243         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
9244         201505L, for Unicode 8.
9246 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
9248         * locale/C-translit.h: Regenerate.
9250 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
9252         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
9253         and U+0153.
9255 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
9257         [BZ #19351]
9258         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
9259         expanding log(1+z), compare z rather than its square with epsilon
9260         to determine when to avoid evaluating the expansion.
9262         [BZ #19350]
9263         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
9264         Increase overflow threshold.
9266         [BZ #19349]
9267         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
9268         when small.
9270         * sysdeps/unix/sysv/linux/i386/kernel-features.h
9271         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
9272         New macro.
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/m68k/kernel-features.h
9308         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
9309         Likewise.
9310         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
9311         Likewise.
9312         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
9313         Likewise.
9314         [__LINUX_KERNEL_VERSION >= 0x040300]
9315         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
9316         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
9317         Likewise.
9318         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
9319         Likewise.
9320         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
9321         Likewise.
9322         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
9323         Likewise.
9324         [__LINUX_KERNEL_VERSION >= 0x040300]
9325         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
9326         [__LINUX_KERNEL_VERSION >= 0x040300]
9327         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
9328         [__LINUX_KERNEL_VERSION >= 0x040300]
9329         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
9330         [__LINUX_KERNEL_VERSION >= 0x040300]
9331         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
9332         [__LINUX_KERNEL_VERSION >= 0x040300]
9333         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
9334         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
9335         Likewise.
9336         [__LINUX_KERNEL_VERSION >= 0x040300]
9337         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
9338         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
9339         Likewise.
9340         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
9341         Likewise.
9342         [__LINUX_KERNEL_VERSION >= 0x040300]
9343         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
9344         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
9345         Likewise.
9346         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
9347         Likewise.
9348         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9349         (__ASSUME_SOCKET_SYSCALL): Likewise.
9350         (__ASSUME_BIND_SYSCALL): Likewise.
9351         (__ASSUME_CONNECT_SYSCALL): Likewise.
9352         (__ASSUME_LISTEN_SYSCALL): Likewise.
9353         (__ASSUME_ACCEPT_SYSCALL): Likewise.
9354         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
9355         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
9356         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
9357         (__ASSUME_SEND_SYSCALL): Likewise.
9358         (__ASSUME_SENDTO_SYSCALL): Likewise.
9359         (__ASSUME_RECV_SYSCALL): Likewise.
9360         (__ASSUME_RECVFROM_SYSCALL): Likewise.
9361         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
9362         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
9363         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
9364         (__ASSUME_SENDMSG_SYSCALL): Likewise.
9365         (__ASSUME_RECVMSG_SYSCALL): Likewise.
9366         * sysdeps/unix/sysv/linux/sh/kernel-features.h
9367         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
9368         Likewise.
9369         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
9370         Likewise.
9371         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
9372         Likewise.
9373         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
9374         Likewise.
9375         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
9376         Likewise.
9377         [__LINUX_KERNEL_VERSION >= 0x020625]
9378         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
9379         [__LINUX_KERNEL_VERSION >= 0x020625]
9380         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
9381         [__LINUX_KERNEL_VERSION >= 0x020625]
9382         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
9383         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
9384         Likewise.
9385         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
9386         Likewise.
9387         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
9388         Likewise.
9389         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
9390         Likewise.
9391         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
9392         Likewise.
9393         [__LINUX_KERNEL_VERSION >= 0x020625]
9394         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
9395         [__LINUX_KERNEL_VERSION >= 0x020625]
9396         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
9397         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
9398         Likewise.
9399         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
9400         Likewise.
9402 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
9404         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
9405         record the current if the current ABI and CPU support the FP64
9406         extension.
9407         (has-modd-spreg): Define to record the current if the current ABI and
9408         CPU support 32-bit floating point values in odd FPU registers.
9409         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
9410         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
9411         $(has-modd-spreg) equals yes.
9412         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
9413         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
9414         $(has-modd-spreg) equal yes.
9416 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
9418         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
9419         basename.
9421 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
9423         * benchtests/Makefile (bench-math): Move ffs and ffsll...
9424         (bench-string): ... here.
9425         (bench): Add bench-string.
9426         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
9427         to *-benchset to reflect what they are.
9428         (benchset): Adjust.
9430         * benchtests/sincos-inputs: Add inputs from sin-inputs and
9431         cos-inputs.
9433 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
9435         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
9436         __attribute__ ((__simd__)) for vector math function declarations.
9438 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
9440         Fix typo in strncat, wcsncat manual entries
9441         * manual/string.texi (Copying and Concatenation): Fix typos in
9442         sample implementations of strncat and wcsncat, by having them use
9443         the old value of the destination length, not the new one.
9445 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
9447         [BZ #16961]
9448         [BZ #16962]
9449         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
9450         string on the stack for strtod.
9451         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
9452         a string on the stack for strtof.
9453         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
9454         constructing a string on the stack for strtold.
9455         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
9456         __strtold_nan to GLIBC_PRIVATE.
9457         * math/test-nan-overflow.c: New file.
9458         * math/test-nan-payload.c: Likewise.
9459         * math/Makefile (tests): Add test-nan-overflow and
9460         test-nan-payload.
9462 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
9464         Consistency about byte vs character in string.texi
9465         * manual/string.texi (String and Array Utilities):
9466         Distinguish more carefully among bytes, multibyte characters,
9467         and wide characters.  Use "byte" when talking about C 'char',
9468         to distinguish it more clearly from multibyte characters.
9469         Say "wide character" or "multibyte character" instead of
9470         "character", when a wide or multibyte character is intended.
9471         Similarly for "multibyte string" versus "string".
9472         Define these terms more carefully.
9474 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
9476         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
9477         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
9478         Likewise.
9479         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
9480         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
9481         * sysdeps/sh/math_private.h: New file.
9482         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
9483         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
9484         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
9485         long double function name.
9486         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
9487         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
9488         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
9489         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
9490         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
9491         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
9492         Remove __finitel, __isinfl, and __isnanl.
9493         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
9494         Likewise.
9495         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
9496         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9497         Remove __finitel.
9498         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9499         Likewise.
9500         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9502 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
9504         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
9505         installed libmvec_nonshared.a.
9507 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9509         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
9510         (sysdep_routines): Likewise.
9511         (sysdep-rtld-routines): Likewise.
9512         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
9513         [$(subdir) = nptl](tests-static): test-get_hwcap-static
9514         * sysdeps/powerpc/Versions: Added new
9515         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
9516         * sysdeps/powerpc/hwcapinfo.c: New file.
9517         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
9518         and parse hwcap, hwcap2 and platform number information.
9519         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
9520         to store HWCAP+HWCAP2 and platform number.
9521         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
9522         for HWCAP+HWCAP2 and platform number in the TCB.
9523         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
9524         the HWCAP, HWCAP2 and platform number in the TCB.
9525         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
9526         (TLS_INIT_TP): Included calls to add the hwcap and
9527         at_platform values in the TCB in TP initialization.
9528         (TLS_DEFINE_INIT_TP): Likewise.
9529         (THREAD_GET_HWCAP): New macro.
9530         (THREAD_SET_HWCAP): Likewise.
9531         (THREAD_GET_AT_PLATFORM): Likewise.
9532         (THREAD_SET_AT_PLATFORM): Likewise.
9533         * sysdeps/powerpc/powerpc32/dl-machine.h:
9534         (dl_platform_init): New function that calls
9535         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
9536         powerpc32.
9537         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
9538         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
9539         this functionality, static linking case.
9540         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
9541         linking case.
9542         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
9543         __parse_hwcap_and_convert_at_platform for the static linking case.
9544         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
9545         Included the new __parse_hwcap_and_convert_at_platform symbol in the
9546         ABI list for GLIBC 2.23.
9547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
9548         Likewise.
9549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
9550         Likewise.
9552 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
9554         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
9555         * configure: Regenerate.
9556         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
9557         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
9559 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
9561         * iconvdata/ibm930.c: Add comment explaining encoding uses.
9562         * iconvdata/ibm933.c: Likewise.
9563         * iconvdata/ibm935.c: Likewise.
9564         * iconvdata/ibm937.c: Likewise.
9565         * iconvdata/ibm939.c: Likewise.
9567 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9569         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
9570         pthread_join.
9571         * nptl/tst-cancel21.c (tf): Likewise.
9573 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
9575         [BZ #19313]
9576         * bits/typesizes.h (__CPU_MASK_TYPE): New.
9577         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
9578         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
9579         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
9580         Likewise.
9581         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
9582         Likewise.
9583         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
9584         Likewise.
9585         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
9586         Likewise.
9587         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
9588         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
9589         unsigned long int with __CPU_MASK_TYPE.
9591 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
9593         * sysdeps/aarch64/libm-test-ulps: Regenerated.
9595 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
9597         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
9598         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
9599         t512.x.
9600         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
9602 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
9604         [BZ #19214]
9605         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
9606         argument to return extended model.  Update family and model
9607         with extended family and model when family == 0x0f.
9608         (init_cpu_features): Updated.
9610 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9612         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
9613         signed off_t, so 32bit bigger than 2GiB values are fine actually.
9615         * sysdeps/mach/hurd/mmap64.c: New file.
9617 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
9619         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
9620         rights for its main user thread in NEWTASK.
9622 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
9624         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
9625         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
9627 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
9629         [BZ #14259]
9630         * Makeconfig: Rename localedir to complocaledir.
9631         Rename inst_localedir to inst_complocaledir.
9632         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
9633         * config.make.in: Use complocaledir and libc_cv_complocaledir.
9634         * configure.ac: Use libc_cv_complocaledir.
9635         * configure: Regenerate.
9636         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
9637         -DCOMPLOCALEDIR.
9638         * locale/findlocale.c: Use COMPLOCALEDIR.
9639         * locale/loadarchive.c: Likewise.
9640         * locale/programs/locale.c: Likewise.
9641         * locale/programs/localedef.c: Likewise.
9642         * locale/programs/locarchive.c: Likewise.
9643         * localedata/Makefile: Use inst_complocaledir.
9644         * sysdeps/gnu/configure: Regenerate.
9645         * sysdeps/hppa/configure: Regenerate.
9646         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
9647         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
9648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
9649         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
9650         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
9651         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
9652         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
9654 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
9656         [BZ #19058]
9657         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
9658         AS_NEEDED.
9659         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
9660         workaround.
9661         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
9662         libmvec-static-only-routines): Added new file.
9663         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
9665 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9667         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
9668         of interrupted RPC instead of restoring it.
9670         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
9671         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
9672         libc_hidden_def.
9673         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
9674         into initialized data instead of common. Define rtld_hidden_data_def.
9675         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
9676         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
9677         libc_hidden_def.
9678         (if_freenameindex): Add libc_hidden_weak.
9679         (if_nameindex): Add libc_hidden_weak.
9680         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
9681         __open64.
9682         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
9683         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
9684         * sysdeps/mach/nanosleep.c: Include <time.h>
9685         (__nanosleep): Rename to __libc_nanosleep.
9686         (__nanosleep): Add weak_alias.
9687         (nanosleep): Update alias.
9689 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
9691         * stdlib/strtod_nan.c: New file.
9692         * stdlib/strtod_nan_double.h: Likewise.
9693         * stdlib/strtod_nan_float.h: Likewise.
9694         * stdlib/strtod_nan_main.c: Likewise.
9695         * stdlib/strtod_nan_narrow.h: Likewise.
9696         * stdlib/strtod_nan_wide.h: Likewise.
9697         * stdlib/strtof_nan.c: Likewise.
9698         * stdlib/strtold_nan.c: Likewise.
9699         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
9700         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
9701         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
9702         * wcsmbs/wcstod_nan.c: Likewise.
9703         * wcsmbs/wcstof_nan.c: Likewise.
9704         * wcsmbs/wcstold_nan.c: Likewise.
9705         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
9706         strtold_nan.
9707         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
9708         wcstof_nan.
9709         * include/stdlib.h (__strtof_nan): Declare and use
9710         libc_hidden_proto.
9711         (__strtod_nan): Likewise.
9712         (__strtold_nan): Likewise.
9713         (__wcstof_nan): Likewise.
9714         (__wcstod_nan): Likewise.
9715         (__wcstold_nan): Likewise.
9716         * include/wchar.h (____wcstoull_l_internal): Declare.
9717         * stdlib/strtod_l.c: Do not include <ieee754.h>.
9718         (____strtoull_l_internal): Remove declaration.
9719         (STRTOF_NAN): Define macro.
9720         (SET_MANTISSA): Remove macro.
9721         (STRTOULL): Likewise.
9722         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
9723         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
9724         (STRTOF_NAN): Define macro.
9725         (SET_MANTISSA): Remove macro.
9726         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
9727         (SET_MANTISSA): Remove macro.
9728         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
9729         macro.
9730         (SET_MANTISSA): Remove macro.
9731         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
9732         macro.
9733         (SET_MANTISSA): Remove macro.
9734         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
9735         (SET_MANTISSA): Remove macro.
9736         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
9737         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
9738         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
9740         [BZ #19266]
9741         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
9742         upper case and lower case letters inside NAN(), not using TOLOWER.
9743         * stdlib/tst-strtod-nan-locale-main.c: New file.
9744         * stdlib/tst-strtod-nan-locale.c: Likewise.
9745         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
9746         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
9747         Depend on $(gen-locales).
9748         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
9749         * wcsmbs/tst-wcstod-nan-locale.c: New file.
9750         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
9751         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
9752         Depend on $(gen-locales).
9753         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
9755 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
9757         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
9759         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
9760         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
9761         __finitel, __isinfl, and __isnanl.
9762         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
9763         Likewise.
9764         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
9765         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
9766         __finitel.
9767         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9768         Likewise.
9769         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9771 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
9773         * malloc/memusage.c (me): Remove redundant getenv call.
9775 2015-10-24  Florian Weimer  <fweimer@redhat.com>
9777         [BZ #19143]
9778         [BZ #19164]
9779         * nptl/check-cpuset.h: Remove.
9780         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
9781         Remove CPU set size check.
9782         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
9783         Likewise.
9784         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
9785         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
9786         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
9787         (__pthread_setaffinity_new): Remove CPU set size check.
9788         * sysdeps/unix/sysv/linux/sched_setaffinity.c
9789         (__kernel_cpumask_size): Remove.
9790         (__sched_setaffinity_new): Remove CPU set size check.
9791         * manual/threads.texi (Default Thread Attributes): Remove stale
9792         reference to check_cpuset_attr, determine_cpumask_size in comment.
9793         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
9794         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
9795         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
9796         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
9797         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
9798         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
9799         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
9800         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
9801         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
9802         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
9803         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
9804         skeleton test file.
9805         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
9806         tst-affinity-pid.
9808 2015-11-24  Florian Weimer  <fweimer@redhat.com>
9810         * scripts/update-abilist.sh: New file.
9811         * Makefile (+subdir_targets): Add subdir_update-all-abi.
9812         * Makerules (update-all-abi-%, update-all-abi)
9813         (subdir_update-all-abi): New targets.
9814         * elf/Makefile (update-all-abi): New target.
9816 2015-11-24  Florian Weimer  <fweimer@redhat.com>
9818         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
9819         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
9820         (__libc_lock_define_initialized): Use it.
9821         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
9822         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
9823         * malloc/malloc.c (main_arena): Likewise.
9824         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
9825         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
9827 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
9829         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
9830         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
9831         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
9832         (PTRACE_O_MASK): Update value.
9833         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
9834         New value in enum __ptrace_setoptions.
9835         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
9836         (PTRACE_O_MASK): Update value.
9837         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
9838         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
9839         (PTRACE_O_MASK): Update value.
9840         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
9841         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
9842         (PTRACE_O_MASK): Update value.
9843         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
9844         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
9845         (PTRACE_O_MASK): Update value.
9846         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
9847         New value in enum __ptrace_setoptions.
9848         (PTRACE_O_MASK): Update value.
9849         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
9850         New value in enum __ptrace_setoptions.
9851         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
9852         (PTRACE_O_MASK): Update value.
9854         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
9855         New macro.
9856         (PACKET_AUXDATA): Likewise.
9857         (PACKET_ORIGDEV): Likewise.
9858         (PACKET_VERSION): Likewise.
9859         (PACKET_HDRLEN): Likewise.
9860         (PACKET_RESERVE): Likewise.
9861         (PACKET_TX_RING): Likewise.
9862         (PACKET_LOSS): Likewise.
9863         (PACKET_VNET_HDR): Likewise.
9864         (PACKET_TX_TIMESTAMP): Likewise.
9865         (PACKET_TIMESTAMP): Likewise.
9866         (PACKET_FANOUT): Likewise.
9867         (PACKET_TX_HAS_OFF): Likewise.
9868         (PACKET_QDISC_BYPASS): Likewise.
9869         (PACKET_ROLLOVER_STATS): Likewise.
9870         (PACKET_FANOUT_DATA): Likewise.
9871         (PACKET_MR_UNICAST): Likewise.
9873         [BZ #19242]
9874         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
9875         (TOUPPER): Likewise.
9876         * stdlib/tst-strtol-locale-main.c: New file.
9877         * stdlib/tst-strtol-locale.c: Likewise.
9878         * stdlib/Makefile (tests): Add tst-strtol-locale.
9879         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
9880         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
9881         Depend on $(gen-locales).
9882         * wcsmbs/tst-wcstol-locale.c: New file.
9883         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
9884         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
9885         tr_TR.ISO-8859-9.
9886         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
9887         Depend on $(gen-locales).
9889 2015-11-20  Roland McGrath  <roland@hack.frob.com>
9891         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
9892         __glibc_likely instead of __builtin_expect.  After falling back to
9893         dyncode_create in a non-ET_DYN case, use the allocate_code_data
9894         system interface to register the code pages as occupied.
9896 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
9898         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
9899         [!ARM_MATH_PRIVATE_H].
9900         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
9901         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
9902         [!HPPA_MATH_PRIVATE_H].
9903         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
9904         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
9905         to [!I386_MATH_PRIVATE_H].
9906         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
9907         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
9908         Change guard to [!M68K_MATH_PRIVATE_H].
9909         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
9910         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
9911         guard to [!MICROBLAZE_MATH_PRIVATE_H].
9912         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
9913         macro.
9914         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
9915         [!MIPS_MATH_PRIVATE_H].
9916         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
9917         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
9918         [!NIO2_MATH_PRIVATE_H].
9919         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
9920         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
9921         [!TILE_MATH_PRIVATE_H].
9922         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
9924         [BZ #15421]
9925         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
9926         initialize with 0 and define as weak alias of __signgam.
9927         * include/math.h [!_ISOMAC] (__signgam): Declare.
9928         * math/Makefile (libm-calls): Add w_lgamma_compat.
9929         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
9930         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
9931         test-signgam-ullong-init.
9932         (tests-static): Add test-signgam-uchar-static,
9933         test-signgam-uchar-init-static, test-signgam-uint-static,
9934         test-signgam-uint-init-static, test-signgam-ullong-static and
9935         test-signgam-ullong-init-static.
9936         (CFLAGS-test-signgam-uchar.c): New variable.
9937         (CFLAGS-test-signgam-uchar-init.c): Likewise.
9938         (CFLAGS-test-signgam-uchar-static.c): Likewise.
9939         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
9940         (CFLAGS-test-signgam-uint.c): Likewise.
9941         (CFLAGS-test-signgam-uint-init.c): Likewise.
9942         (CFLAGS-test-signgam-uint-static.c): Likewise.
9943         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
9944         (CFLAGS-test-signgam-ullong.c): Likewise.
9945         (CFLAGS-test-signgam-ullong-init.c): Likewise.
9946         (CFLAGS-test-signgam-ullong-static.c): Likewise.
9947         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
9948         * math/Versions (libm): Add GLIBC_2.23.
9949         * math/lgamma-compat.h: New file.
9950         * math/test-signgam-main.c: Likewise.
9951         * math/test-signgam-uchar-init-static.c: Likewise.
9952         * math/test-signgam-uchar-init.c: Likewise.
9953         * math/test-signgam-uchar-static.c: Likewise.
9954         * math/test-signgam-uchar.c: Likewise.
9955         * math/test-signgam-uint-init-static.c: Likewise.
9956         * math/test-signgam-uint-init.c: Likewise.
9957         * math/test-signgam-uint-static.c: Likewise.
9958         * math/test-signgam-uint.c: Likewise.
9959         * math/test-signgam-ullong-init-static.c: Likewise.
9960         * math/test-signgam-ullong-init.c: Likewise.
9961         * math/test-signgam-ullong-static.c: Likewise.
9962         * math/test-signgam-ullong.c: Likewise.
9963         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
9964         wrapper of w_lgamma_main.c.
9965         * math/w_lgamma_compat.c: New file.
9966         * math/w_lgamma_compatf.c: Likewise.
9967         * math/w_lgamma_compatl.c: Likewise.
9968         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
9969         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
9970         defining compatibility symbols.
9971         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
9972         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
9973         wrapper of w_lgammaf_main.c.
9974         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
9975         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
9976         defining compatibility symbols.
9977         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
9978         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
9979         wrapper of w_lgammal_main.c.
9980         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
9981         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
9982         defining compatibility symbols.
9983         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
9984         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
9985         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
9986         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
9987         <lgamma-compat.h>.
9988         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
9989         (__ieee754_gamma): Define as alias.
9990         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
9991         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
9992         <lgamma-compat.h>.
9993         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
9994         (__ieee754_gammaf): Define as alias.
9995         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
9996         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
9997         <lgamma-compat.h>.
9998         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
9999         (__ieee754_gammal): Define as alias.
10000         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
10001         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
10002         <math/w_lgamma_compat.c>.
10003         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
10004         Define as alias of __lgamma_compat and use in defining lgammal.
10005         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
10006         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
10007         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
10008         (USE_AS_COMPAT): New macro.
10009         (LGAMMA_OLD_VER): Undefine and redefine.
10010         (lgammal): Do not define here.
10011         (gammal): Only define here if [GAMMA_ALIAS].
10012         * conform/linknamespace.pl (@whitelist): Remove signgam.
10013         * sysdeps/nacl/libm.abilist: Update.
10014         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10015         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10016         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10017         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10018         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10019         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10020         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10021         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10022         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10023         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10024         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10025         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10026         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10027         Likewise.
10028         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10029         Likewise.
10030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10031         Likewise.
10032         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
10033         Likewise.
10034         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10035         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10036         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10037         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10038         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10039         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
10040         Likewise.
10041         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10042         Likewise.
10043         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10044         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10045         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10047 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10049         [BZ #16364]
10050         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
10051         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
10053 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
10055         * sysdeps/s390/fpu/bits/mathinline.h:
10056         Use __asm__ [__volatile__] instead of asm [volatile].
10057         * sysdeps/s390/abort-instr.h: Likewise.
10058         * sysdeps/s390/atomic-machine.h: Likewise.
10059         * sysdeps/s390/bits/string.h: Likewise.
10060         * sysdeps/s390/dl-tls.h: Likewise.
10061         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
10062         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
10063         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
10064         * sysdeps/s390/fpu/fesetround.c: Likewise.
10065         * sysdeps/s390/fpu/fpu_control.h: Likewise.
10066         * sysdeps/s390/fpu/s_fma.c: Likewise.
10067         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
10068         * sysdeps/s390/memusage.h: Likewise.
10069         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
10070         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
10071         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
10072         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
10073         * sysdeps/s390/nptl/tls.h: Likewise.
10074         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
10075         * sysdeps/s390/s390-32/backtrace.c: Likewise.
10076         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
10077         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
10078         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
10079         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
10080         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
10081         * sysdeps/s390/s390-64/backtrace.c: Likewise.
10082         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
10083         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
10084         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
10085         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
10086         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
10087         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
10088         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
10089         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
10090         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
10091         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
10092         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
10093         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10094         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
10095         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10096         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
10098 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10099             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10101         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
10102         Add lwarx hint, and use macro for acquire instruction.
10103         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
10104         Likewise.
10105         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
10106         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
10107         update to use new atomic macros.
10109 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10111         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
10112         (__lll_trylock_elision): Fix setting of adapt_count.
10113         * sysdeps/unix/sysv/linux/powerpc/htm.h
10114         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
10115         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
10116         (_ABORT_SYSCALL): Renumber, and clarify definition.
10117         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
10119 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10121         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
10122         after system headers to prevent MIN/MAX redefinition.  Define
10123         HAVE_ALLOCA to preserve builtin alloca usage.
10125 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
10127         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
10128         static and don't set or restore rounding.
10129         (__cos)[IN_SINCOS]: Likewise.
10130         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
10131         (__sincos): Set and restore rounding mode.  Remove check for infinite
10132         or NaN input.
10134         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
10136         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
10137         as used.
10139 2015-11-16  Florian Weimer  <fweimer@redhat.com>
10141         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
10143 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
10145         * config.make.in (have-glob-dat-reloc): New.
10146         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
10147         target supports GLOB_DAT relocaton. AC_SUBST.
10148         * configure: Regenerated.
10149         * elf/Makefile (tests): Add tst-prelink.
10150         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
10151         (tst-prelink-ENV): New.
10152         ($(objpfx)tst-prelink-conflict.out): Likewise.
10153         ($(objpfx)tst-prelink-cmp.out): Likewise.
10154         * sysdeps/x86/tst-prelink.c: Moved to ...
10155         * elf/tst-prelink.c: Here.
10156         * sysdeps/x86/tst-prelink.exp: Moved to ...
10157         * elf/tst-prelink.exp: Here.
10158         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
10159         (tst-prelink-ENV): Removed.
10160         ($(objpfx)tst-prelink-conflict.out): Likewise.
10161         ($(objpfx)tst-prelink-cmp.out): Likewise.
10162         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
10164 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
10166         [BZ #14551]
10167         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
10168         (__mpn_construct_long_double): If high part overflows to infinity,
10169         set errno and recompute overflowed result of the correct sign.
10170         * sysdeps/ieee754/ldbl-128ibm/Makefile
10171         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
10172         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
10173         $(libm).
10174         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
10176 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
10178         [BZ #15479]
10179         [BZ #19238]
10180         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
10181         floating-point state after first operation on input.  Restore full
10182         state rather than just rounding mode.
10183         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
10184         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
10185         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
10187         [BZ #19235]
10188         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
10189         add 0.5 to integer arguments.
10190         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
10191         Likewise.
10192         (.LC2): New object.
10194 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
10196         * scripts/pylintrc (reports): Set to no.
10198 2015-11-10  Roland McGrath  <roland@hack.frob.com>
10200         * elf/dl-load.c (open_verify): Take new argument FD.
10201         Skip __open call if passed FD is not -1.
10202         (_dl_map_object, open_path): Update callers.
10203         * elf/dl-sysdep-open.h: New file.
10204         * elf/dl-load.c: Include it.
10205         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
10206         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
10207         * sysdeps/nacl/dl-sysdep-open.h: New file.
10208         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
10209         from libc to rtld.
10211 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
10213         [BZ #19228]
10214         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
10215         and restore full floating-point state.
10216         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
10217         Likewise.
10218         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
10219         Likewise.
10220         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
10221         Likewise.
10222         * math/test-nearbyint-except-2.c: New file.
10223         * math/Makefile (tests): Add test-nearbyint-except-2.
10225 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
10227         [BZ #19178]
10228         * sysdeps/x86/Makefile (tests): Add tst-prelink.
10229         (tst-prelink-ENV): New.
10230         ($(objpfx)tst-prelink-conflict.out): Likewise.
10231         ($(objpfx)tst-prelink-cmp.out): Likewise.
10232         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
10233         * sysdeps/x86/tst-prelink.c: New file.
10234         * sysdeps/x86/tst-prelink.exp: Likewise.
10236 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
10238         * math/auto-libm-test-in: Add another test of pow.
10239         * math/auto-libm-test-out: Regenerated.
10240         * math/libm-test.inc (pow_test_data): Add another test.
10242 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10244         [BZ #19219]
10245         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
10246         weak_alias to nearbyintl.
10248 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
10250         * sysdeps/aarch64/bits/string.h: New file.
10251         (_STRING_ARCH_unaligned): Define.
10253 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
10255         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
10256         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
10257         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
10258         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
10259         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
10261 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
10263         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
10264         for original name of the DSO.  Add it to the name list of the DSO
10265         if it is actually given.
10266         (_dl_map_object): Keep track of whether an audit module rewrote
10267         the file name.  If yes, pass the original name to
10268         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
10269         debugging is enabled, log the change of the file name.
10270         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
10271         _dl_map_object_from_fd.
10272         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
10273         * elf/tst-audit11.c: New file
10274         * elf/tst-auditmod11.c: New file.
10275         * elf/tst-audit11mod1.c: New file.
10276         * elf/tst-audit11mod2.c: New file.
10277         * elf/tst-audit11mod2.map: New file.
10278         * elf/tst-audit12.c: New file
10279         * elf/tst-auditmod12.c: New file.
10280         * elf/tst-audit12mod1.c: New file.
10281         * elf/tst-audit12mod2.c: New file.
10282         * elf/tst-audit12mod2.map: New file.
10283         * elf/tst-audit12mod3.c: New file.
10285 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
10287         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
10288         Don't create weak aliases,
10289         because versioned symbols are created later.
10290         * sysdeps/s390/s390-32/setjmp.S
10291         (setjmp, _setjmp): Remove weak and rename to an unique name
10292         in SHARED case due to existing versioned symbols.
10293         * sysdeps/s390/s390-64/setjmp.S: Likewise.
10294         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
10295         (getcontext): Create weak alias only in non SHARED case.
10296         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
10298 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
10300         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
10301         (__ASSUME_*_SYSCALL) Define new macros.
10302         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
10303         Remove socketcall syscalls.
10304         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
10305         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
10306         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
10307         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
10308         * sysdeps/unix/sysv/linux/send.c (__libc_send):
10309         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
10311 2015-11-09  Florian Weimer  <fweimer@redhat.com>
10313         [BZ #12926]
10314         Terminate process on invalid netlink response.
10315         * sysdeps/unix/sysv/linux/netlinkaccess.h
10316         (__netlink_assert_response): Declare.
10317         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
10318         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
10319         (sysdep_routines): Add netlink_assert_response.
10320         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
10321         __netlink_assert_response.
10322         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
10323         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
10324         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
10325         __netlink_assert_response.
10327 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
10329         [BZ #19178]
10330         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
10331         (RTYPE_CLASS_PLT): Likewise.
10332         (RTYPE_CLASS_COPY): Likewise.
10333         (RTYPE_CLASS_TLS): Likewise.
10334         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
10335         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
10336         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
10337         DL_DEBUG_PRELINK.
10339 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
10341         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
10342         calls with argument -0.5.
10343         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
10345         * configure.ac (libc_cv_z_nodelete): Remove configure test.
10346         (libc_cv_z_nodlopen): Likewise.
10347         (libc_cv_z_initfirst): Likewise.
10348         * configure: Regenerated.
10350 2015-11-06  Florian Weimer  <fweimer@redhat.com>
10352         Simplify abilist format to be line-based.
10353         * scripts/abilist.awk: Collect descriptors in the descs variable.
10354         (emit): Write descs variable and sort it
10355         externally, with sort.
10356         * sysdeps/**/*.abilist: Convert to new format.
10358 2015-11-06  Mark Wielaard  <mjw@redhat.com>
10360         [BZ #11460]
10361         * io/Makefile (routines): Add fts64.
10362         (tests): Add tst-fts and tst-fts-lfs.
10363         (CFLAGS-fts64.c): New.
10364         * io/Versions (GLIBC_2.23): New.
10365         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
10366         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
10367         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
10368         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
10369         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
10370         (FTSENT64): Likewise.
10371         (fts64_children): Likewise.
10372         (fts64_close): Likewise.
10373         (fts64_open): Likewise.
10374         (fts64_read): Likewise.
10375         (fts64_set): Likewise.
10376         * io/fts64.c: New file.
10377         * io/tst-fts.c: New test.
10378         * io/tst-fts-lfs.c: Likewise.
10379         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
10380         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
10381         fts64_set.
10382         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
10383         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
10384         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
10385         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
10386         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
10387         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
10388         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
10389         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
10390         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
10391         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
10392         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
10393         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
10394         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
10395         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
10396         Likewise.
10397         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
10398         Likewise.
10399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
10400         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
10401         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
10402         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
10403         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
10404         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
10405         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
10406         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
10407         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
10408         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
10409         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
10410         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
10411         * sysdeps/wordsize-64/fts.c: New file.
10412         * sysdeps/wordsize-64/fts64.c: Likewise.
10413         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
10414         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
10415         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
10416         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
10418 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
10420         * math/libm-test.inc (NON_FINITE): New macro.
10421         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
10422         * math/gen-libm-test.pl (show_exceptions): Add argument
10423         $non_finite.
10424         (parse_args): Update call to show_exceptions.
10425         * math/test-math-finite.h: New file.
10426         * math/test-math-no-finite.h: Likewise.
10427         * math/test-double-finite.c: Likewise.
10428         * math/test-float-finite.c: Likewise.
10429         * math/test-ldouble-finite.c: Likewise.
10430         * math/test-double.c: Include "test-math-no-finite.h".
10431         * math/test-float.c: Include "test-math-no-finite.h".
10432         * math/test-ldouble.c: Include "test-math-no-finite.h".
10433         * math/test-math-inline.h (TEST_FINITE): New macro.
10434         * math/test-math-vector.h (TEST_FINITE): Likewise.
10435         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
10436         (libm-tests): Add test-float-finite and test-double-finite.
10437         ($(objpfx)test-float-finite.o): New dependency on
10438         $(objpfx)libm-test.stmp.
10439         ($(objpfx)test-double-finite.o): Likewise.
10440         ($(objpfx)test-ldouble-finite.o): Likewise.
10441         (libm-test-no-inline-cflags): New variable.
10442         (libm-test-finite-cflags): Likewise.
10443         (CFLAGS-test-float-finite.c): Likewise.
10444         (CFLAGS-test-double-finite.c): Likewise.
10445         (CFLAGS-test-ldouble-finite.c): Likewise.
10446         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
10447         (CFLAGS-test-double.c): Likewise.
10448         (CFLAGS-test-ldouble.c): Likewise.
10450 2015-11-05  Roland McGrath  <roland@hack.frob.com>
10452         * io/fcntl.c (__fcntl): Add ... to prototype.
10453         * misc/ioctl.c (__ioctl): Likewise.
10454         * misc/syscall.c (syscall): Likewise.
10456 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
10458         * scripts/list-fixed-bugs.py: New file.
10460         [BZ #19213]
10461         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
10462         returned for argument 1.
10463         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
10464         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
10465         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
10466         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
10467         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
10468         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
10470         [BZ #19211]
10471         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
10472         __USE_XOPEN], not if [!__USE_ISOC99].
10473         (lgammaf): Likewise.
10474         (lgammal): Likewise.
10475         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
10476         (gammaf): Likewise.
10477         (gammal): Likewise.
10478         * math/test-signgam-finite-c11.c: New file.
10479         * math/test-signgam-finite-c99.c: Likewise.
10480         * math/test-signgam-finite.c: Likewise.
10481         * math/Makefile (tests): Add test-signgam-finite,
10482         test-signgam-finite-c99 and test-signgam-finite-c11.
10483         (CFLAGS-test-signgam-finite.c): New variable.
10484         (CFLAGS-test-signgam-finite-c99.c): Likewise.
10485         (CFLAGS-test-signgam-finite-c11.c): Likewise.
10487         [BZ #19212]
10488         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
10489         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
10490         500].
10491         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
10492         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
10493         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
10494         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
10495         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
10496         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
10497         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
10498         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
10499         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
10500         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
10502         [BZ #19209]
10503         * math/bits/math-finite.h (ldexp): Remove declaration.
10504         (ldexpf): Likewise.
10505         (ldexpl): Likewise.
10507         [BZ #19205]
10508         * math/bits/math-finite.h (acosf): Condition declaration on
10509         [__USE_ISOC99].
10510         (acosl): Likewise.
10511         (acoshf): Likewise.
10512         (acoshl): Likewise.
10513         (asinf): Likewise.
10514         (asinl): Likewise.
10515         (atan2f): Likewise.
10516         (atan2l): Likewise.
10517         (atanhf): Likewise.
10518         (atanhl): Likewise.
10519         (coshf): Likewise.
10520         (coshl): Likewise.
10521         (expf): Likewise.
10522         (expl): Likewise.
10523         (fmodf): Likewise.
10524         (fmodl): Likewise.
10525         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
10526         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
10527         (j0l): Likewise.
10528         (y0f): Likewise.
10529         (y0l): Likewise.
10530         (j1f): Likewise.
10531         (j1l): Likewise.
10532         (y1f): Likewise.
10533         (y1l): Likewise.
10534         (jnf): Likewise.
10535         (jnl): Likewise.
10536         (ynf): Likewise.
10537         (ynl): Likewise.
10538         (lgammaf_r): Condition declaration on [__USE_ISOC99].
10539         (lgammal_r): Likewise.
10540         (__lgamma_r_finite): New declaration.
10541         (__lgammaf_r_finite): Likewise.
10542         (__lgammal_r_finite): Likewise.
10543         (lgamma): Use __lgamma_r_finite.
10544         (lgammaf): Condition definition on [__USE_ISOC99].  Use
10545         __lgammaf_r_finite.
10546         (lgammal): Condition definition on [__USE_ISOC99].  Use
10547         __lgammal_r_finite.
10548         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
10549         __lgamma_r_finite.
10550         (gammaf): Condition definition on [__USE_ISOC99].  Use
10551         __lgammaf_r_finite.
10552         (gammal): Condition definition on [__USE_ISOC99].  Use
10553         __lgammal_r_finite.
10554         (logf): Condition declaration on [__USE_ISOC99].
10555         (logl): Likewise.
10556         (log10f): Likewise.
10557         (log10l): Likewise.
10558         (ldexpf): Likewise.
10559         (ldexpl): Likewise.
10560         (powf): Likewise.
10561         (powl): Likewise.
10562         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
10563         __USE_ISOC99].
10564         (remainderf): Condition declaration on [__USE_ISOC99].
10565         (remainderl): Likewise.
10566         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
10567         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
10568         (scalbl): Likewise.
10569         (sinhf): Condition declaration on [__USE_ISOC99].
10570         (sinhl): Likewise.
10571         (sqrtf): Likewise.
10572         (sqrtl): Likewise.
10574 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
10576         * sysdeps/arm/atomic-machine.h
10577         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
10578         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
10579         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
10580         Remove conditional code.
10581         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
10582         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
10583         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
10584         Change conditional to [__ASSEMBLER__].
10585         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
10586         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
10587         [!__ASSEMBLER__].
10588         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
10589         code.
10590         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
10591         conditional macro definitions.
10592         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
10593         (__arch_compare_and_exchange_val_16_acq): Likewise.
10594         (__arch_compare_and_exchange_val_32_acq): Likewise.
10595         (atomic_exchange_and_add): Likewise.
10596         (atomic_add): Likewise.
10597         (atomic_add_negative): Likewise.
10598         (atomic_add_zero): Likewise.
10599         (atomic_bit_set): Likewise.
10600         (atomic_bit_test_set): Likewise.
10601         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
10602         code unconditional.
10603         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
10605         * math/test-math-errno.h: New file.
10606         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
10607         empty.
10608         (TEST_ERRNO): New macro.
10609         (TEST_EXCEPTIONS): Likewise.
10610         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
10611         (TEST_EXCEPTIONS): Likewise.
10612         * math/test-math-vector.h (TEST_ERRNO): Likewise.
10613         * math/test-double.c: Include "test-math-errno.h".
10614         * math/test-float.c: Likewise.
10615         * math/test-ldouble.c: Likewise.
10616         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
10617         code unconditional.
10618         (test_exceptions): Only run code if TEST_EXCEPTIONS.
10619         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
10620         unconditional.
10621         (test_errno): Only run code if TEST_ERRNO.
10622         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
10624 2015-11-04  Florian Weimer  <fweimer@redhat.com>
10626         * nptl/tst-once5.cc: Remove attribution.
10628 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
10630         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
10631         sqrt, tan, tanh, y0, y1 and yn.
10632         * math/auto-libm-test-out: Regenerated.
10633         * math/libm-test.inc (scalb_test_data): Add more tests.
10634         (scalbn_test_data): Likewise.
10635         (scalbln_test_data): Likewise.
10636         (signbit_test_data): Likewise.
10637         (sin_test_data): Likewise.
10638         (sincos_test_data): Likewise.
10639         (sinh_test_data): Likewise.
10640         (sqrt_test_data): Likewise.
10641         (tan_test_data): Likewise.
10642         (tanh_test_data): Likewise.
10643         (tgamma_test_data): Likewise.
10644         (y0_test_data): Likewise.
10645         (y1_test_data): Likewise.
10646         (yn_test_data): Likewise.
10647         (significand_test_data): Likewise.
10648         * sysdeps/i386/fpu/libm-test-ulps: Update.
10650 2015-11-03  David Kastrup  <dak@gnu.org>
10652         [BZ #18604]
10653         * assert/assert.h (assert): Don't macro-expand failed assertion
10654         expression in error message.
10655         * malloc/malloc.c (assert): Likewise.
10657 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
10659         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
10660         test.
10661         * configure: Regenerated.
10663 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
10665         * math/libm-test.inc (modf_test_data): Add more tests.
10666         (nearbyint_test_data): Likewise.
10667         (nextafter_test_data): Likewise.
10668         (nexttoward_test_data): Likewise.
10669         (pow_test_data): Likewise.
10670         (remainder_test_data): Likewise.
10671         (remquo_test_data): Likewise.
10672         (rint_test_data): Likewise.
10674         [BZ #19201]
10675         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
10676         Check for zero remainder in case of large exponents and ensure
10677         correct sign of result in that case.
10678         * math/libm-test.inc (remainder_test_data): Add more tests.
10680         [BZ #6799]
10681         * math/s_nextafter.c: Include <errno.h>.
10682         (__nextafter): Set errno on overflow and underflow.
10683         * math/s_nexttowardf.c: Include <errno.h>.
10684         (__nexttowardf): Set errno on overflow and underflow.
10685         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
10686         (__nextafterl): Set errno on overflow and underflow.
10687         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
10688         (__nexttoward): Set errno on overflow and underflow.
10689         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
10690         (__nexttowardf): Set errno on overflow and underflow.
10691         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
10692         (__nextafterf): Set errno on overflow and underflow.
10693         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
10694         (__nextafterl): Set errno on overflow and underflow.
10695         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
10696         (__nexttoward): Set errno on overflow and underflow.
10697         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
10698         (__nexttowardf): Set errno on overflow and underflow.
10699         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
10700         (__nextafterl): Set errno on overflow and underflow.
10701         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
10702         (__nexttoward): Set errno on overflow and underflow.
10703         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
10704         (__nexttowardf): Set errno on overflow and underflow.
10705         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
10706         (__nexttoward): Set errno on overflow and underflow.
10707         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
10708         (__nexttowardf): Set errno on overflow and underflow.
10709         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
10710         (__nldbl_nexttowardf): Set errno on overflow and underflow.
10711         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
10712         (__nextafterl): Set errno on overflow and underflow.
10713         * math/libm-test.inc (nextafter_test_data): Do not allow errno
10714         setting to be missing on overflow.  Add more tests.
10715         (nexttoward_test_data): Likewise.
10717         * configure.ac (libc_cv_initfini_array): Remove configure test.
10718         * configure: Regenerated.
10720 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
10722         [BZ #19189]
10723         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
10724         non-finite argument handle arguments with negative sign.
10726         * math/libm-test.inc (j0_test_data): Do not test sign of zero
10727         result from infinite argument.
10728         (j1_test_data): Likewise.
10729         (jn_test_data): Likewise.
10730         (y0_test_data): Likewise.
10731         (y1_test_data): Likewise.
10732         (yn_test_data): Likewise.
10734         [BZ #16171]
10735         * math/w_remainder.c (drem): Define as weak alias of __remainder.
10736         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
10737         * math/w_remainderf.c (dremf): Define as weak alias of
10738         __remainderf.
10739         * math/w_remainderl.c (dreml): Define as weak alias of
10740         __remainderl.
10741         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
10742         __remainder.
10743         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
10744         __remainderf.
10745         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
10746         __remainderl.
10747         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
10748         weak alias of remainderl.
10749         * sysdeps/ieee754/ldbl-opt/w_remainder.c
10750         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
10751         alias of __remainder.
10752         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
10753         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
10754         strong alias of __remainderl.
10755         (dreml): Use long_double_symbol.
10756         * math/Makefile (libm-calls): Remove w_drem.
10757         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
10758         (CFLAGS-nldbl-drem.c): Remove variable.
10759         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
10760         * math/w_drem.c: Remove file.
10761         * math/w_dremf.c: Likewise.
10762         * math/w_dreml.c: Likewise.
10763         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
10764         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
10765         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
10767         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
10768         * sysdeps/i386/configure: Regenerated.
10769         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
10770         * sysdeps/x86_64/configure: Regenerated.
10772         * configure.ac (libc_cv_asm_protected_directive): Remove configure
10773         test.
10774         (libc_cv_visibility_attribute): Likewise.
10775         (libc_cv_protected_data): Test unconditionally.
10776         (libc_cv_broken_visibility_attribute): Remove configure test.
10777         (libc_cv_have_sdata_section): Test unconditionally.
10778         * configure: Regenerated.
10780         * include/libc-internal.h (libc_max_align_t): Remove typedef.
10781         * include/scratch_buffer.h: Include <stddef.h> instead of
10782         <libc-internal.h>.
10783         (struct scratch_buffer): Use max_align_t instead of
10784         libc_max_align_t.
10786 2015-10-29  Florian Weimer  <fweimer@redhat.com>
10788         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
10789         instead of extend_alloca.  Change control flow to avoid a goto.
10790         Remove assert which is trivially always true.
10792 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
10794         [BZ #16068]
10795         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
10796         (FE_ALL_EXCEPT_X86): New macro.
10797         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
10798         FE_ALL_EXCEPT.  Ensure precision control is included in
10799         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
10800         handle "denormal operand exception" and clear FZ and DAZ bits.
10801         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
10802         (FE_ALL_EXCEPT_X86): New macro.
10803         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
10804         FE_ALL_EXCEPT.  Ensure precision control is included in
10805         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
10806         handle "denormal operand exception" and clear FZ and DAZ bits.
10807         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
10808         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
10809         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
10810         test-fenv-x87 and test-fenv-sse-2.
10811         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
10813         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
10814         * math/test-double.h (BUILD_COMPLEX): New macro.
10815         * math/test-float.h (BUILD_COMPLEX): Likewise.
10816         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
10818         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
10819         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
10820         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
10821         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
10822         instead of DBL_DENORM_MIN in comment.
10823         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
10824         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
10825         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
10826         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
10827         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
10828         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
10830 2015-10-28  Florian Weimer  <fweimer@redhat.com>
10832         [BZ# 19048]
10833         * malloc/malloc.c (struct malloc_state): Update comment.  Add
10834         attached_threads member.
10835         (main_arena): Initialize attached_threads.
10836         * malloc/arena.c (list_lock): Update comment.
10837         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
10838         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
10839         (deattach_arena): New function.
10840         (_int_new_arena): Initialize arena reference count and deattach
10841         replaced arena.
10842         (get_free_list, reused_arena): Update reference count and deattach
10843         replaced arena.
10844         (arena_thread_freeres): Update arena reference count and only put
10845         unreferenced arenas on the free list.
10847 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
10849         [BZ #19181]
10850         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
10851         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
10852         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
10853         * math/test-fenv-clear-main.c: New file.
10854         * math/test-fenv-clear.c: Likewise.
10855         * math/Makefile (tests): Add test-fenv-clear.
10856         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
10857         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
10858         test-fenv-clear-sse.
10859         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
10861         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
10862         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
10863         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
10865 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
10867         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
10868         static libc.
10870 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
10872         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
10873         test.
10874         * sysdeps/i386/configure: Regenerated.
10875         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
10876         test.
10877         * sysdeps/x86_64/configure: Regenerated.
10878         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
10879         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10880         memset-avx2 unconditionally instead of conditionally on
10881         [$(config-cflags-avx2) = yes].
10882         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
10883         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
10884         unconditional.
10885         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
10886         * sysdeps/x86_64/multiarch/memset_chk.S
10887         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
10888         to [IS_IN (libc) && SHARED].
10890 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
10892         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
10893         configure test.
10894         * sysdeps/arm/configure: Regenerated.
10895         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
10896         Define variable if not already defined.
10898         [BZ #17404]
10899         * sysdeps/mips/atomic-machine.h
10900         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
10901         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
10902         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
10904         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
10905         unconditional.
10906         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
10907         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
10908         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
10909         unconditional.
10910         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
10911         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
10912         unconditional.
10913         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
10914         * stdlib/setenv.c
10915         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
10916         code unconditional.
10917         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
10918         Remove conditional code.
10919         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
10920         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
10921         unconditional.
10922         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
10923         code.
10924         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
10925         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
10926         unconditional.
10927         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
10928         code.
10929         * sysdeps/ieee754/ldbl-128/k_tanl.c
10930         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
10931         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
10932         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
10933         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
10934         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
10935         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
10936         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
10937         unconditional.
10938         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
10939         code.
10940         * sysdeps/ieee754/ldbl-96/k_tanl.c
10941         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
10942         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
10944         * nptl/tst-initializers1-c11.c: New file.
10945         * nptl/tst-initializers1-gnu11.c: Likewise.
10946         * nptl/Makefile (tests): Add these new tests.
10947         (CFLAGS-tst-initializers1-c11.c): New variable.
10948         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
10950         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
10951         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
10952         instead of -std=gnu99.
10953         * configure.ac (systemtap): Test with -std=gnu11 instead of
10954         -std=gnu99.
10955         * configure: Regenerated.
10956         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
10957         in compilation command in comment.
10959         * sysdeps/nptl/configure.ac: Remove file.
10960         * sysdeps/nptl/configure: Remove generated file.
10961         * configure.ac (libc_cv_forced_unwind): Do not substitute.
10962         * configure: Regenerated.
10963         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
10964         * config.make.in (have-forced-unwind): Remove variable.
10965         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
10966         unconditional.
10967         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
10968         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
10969         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
10970         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
10971         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
10972         unconditional.
10974 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10976         [BZ #19174]
10977         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
10978         .skip_lock_out_of_tbegin_retries.
10979         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
10980         (__lll_lock_elision): Likewise, and respect a value of
10981         try_tbegin <= 0.
10983 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
10985         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
10986         statement.
10988 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
10990         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
10991         variable.
10992         (test-xfail-ISO11/stdalign.h/conform): Likewise.
10993         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
10995         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
10996         of -std=c1x -D_ISOC11_SOURCE.
10998         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
10999         * configure: Regenerated.
11000         * manual/install.texi (Tools for Compilation): Document
11001         requirement for GCC 4.7 or later.
11002         * INSTALL: Regenerated.
11004 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
11006         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
11007         on CNT to a conditional jump to 'puntdata'.
11009 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
11011         * configure.ac (libc_cv_gcc___thread): Remove configure test.
11012         (libc_cv_gcc_tls_model_attr): Likewise.
11013         * configure: Regenerated.
11015         * configure.ac (libc_cv_need_minus_P): Remove configure test.
11016         * configure: Regenerated.
11017         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
11019 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
11021         * configure.ac (old_glibc_headers): Remove configure test.
11022         * configure: Regenerated.
11023         * config.make.in (old-glibc-headers): Remove variable.
11024         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
11025         (install): Remove dependency on remove-old-headers.
11026         (headers2_0): Remove variable.
11027         (remove-old-headers): Remove rule.
11029         * configure.ac (libc_cv_dot_text): Remove configure test.
11030         (libc_cv_asm_set_directive): Use .text instead of
11031         ${libc_cv_dot_text} in configure test.
11032         * configure: Regenerated.
11034 2015-10-26  Florian Weimer  <fweimer@redhat.com>
11036         [BZ #19168]
11037         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11039 2015-10-26  Florian Weimer  <fweimer@redhat.com>
11041         * configure.ac (CXX): Clear the variable if the C++ toolchain does
11042         not support static linking.
11043         * configure: Regenerate.
11045 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
11047         * math/libm-test.inc (check_float_internal): Do not special-case
11048         errors up to 0.5 ulp.
11050         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
11051         log2.
11052         * math/auto-libm-test-out: Regenerated.
11053         * math/libm-test.inc (MAX_EXP): New macro.
11054         (ilogb_test_data): Add more tests.
11055         (isfinite_test_data): Likewise.
11056         (isgreater_test_data): Likewise.
11057         (isgreaterequal_test_data): Likewise.
11058         (isinf_test_data): Likewise.
11059         (isless_test_data): Likewise.
11060         (islessequal_test_data): Likewise.
11061         (islessgreater_test_data): Likewise.
11062         (isnan_test_data): Likewise.
11063         (isnormal_test_data): Likewise.
11064         (issignaling_test_data): Likewise.
11065         (isunordered_test_data): Likewise.
11066         (j0_test_data): Likewise.
11067         (j1_test_data): Likewise.
11068         (jn_test_data): Likewise.
11069         (lgamma_test_data): Likewise.
11070         (log_test_data): Likewise.
11071         (log10_test_data): Likewise.
11072         (log1p_test_data): Likewise.
11073         (log2_test_data): Likewise.
11074         (logb_test_data): Likewise.
11075         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11077         [BZ #18611]
11078         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
11079         avoid excess range and precision on underflow.
11080         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
11081         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
11082         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
11083         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
11084         underflow.
11085         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
11086         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
11087         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
11088         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
11089         * math/auto-libm-test-in: Do not allow missing errno setting for
11090         tests of j1 and jn.
11091         * math/auto-libm-test-out: Regenerated.
11093 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
11095         [BZ #15491]
11096         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
11097         floating-point environment instead of clearing all exceptions.
11098         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
11099         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
11100         merging in "invalid" exceptions from frndint.
11101         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
11102         * math/test-nearbyint-except.c: New file.
11103         * math/Makefile (tests): Add test-nearbyint-except.
11105 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
11107         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
11109         * sysdeps/tile/libm-test-ulps: Regenerated.
11111 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
11114         (__NR_sync_file_range2): Assume it is always defined.
11115         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
11116         (__NR_sync_file_range): Assume it is always defined.
11118 2015-10-22  Andreas Schwab  <schwab@suse.de>
11120         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
11121         INTERNAL_SYSCALL_ERRNO.
11122         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
11123         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
11124         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
11125         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
11126         Likewise.
11127         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
11129 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
11131         * io/tst-fcntl.c (fd): New static variable.
11132         (do_prepare): Open temporary file here....
11133         (do_test): ...not here.
11135         * io/ftwtest-sh: Also trap on exit to remove temporary files.
11137 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
11139         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
11140         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
11141         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
11142         Moved before "#ifdef __ASSEMBLER__".
11144 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
11146         [BZ #19156]
11147         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
11148         arguments very close to 0.
11150 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
11152         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
11153         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
11155 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
11157         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
11158         New.  Defined for GCC 5 and above when not compiling for
11159         profiling.
11160         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
11162         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
11163         Renamed to ...
11164         (CFLAGS-epoll_pwait.o): This.
11165         (CFLAGS-mmap.c): Renamed to ...
11166         (CFLAGS-mmap.o): This.
11167         (CFLAGS-mmap64.c): Renamed to ...
11168         (CFLAGS-mmap64.o): This.
11169         (CFLAGS-epoll_pwait.os): New.
11170         (CFLAGS-mmap.os): Likewise.
11171         (CFLAGS-mmap64.os): Likewise.
11172         (CFLAGS-semtimedop.os): Likewise.
11173         (CFLAGS-semtimedop.c): Renamed to ...
11174         (CFLAGS-semtimedop.o): This.
11176 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11178         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
11179         warning message.
11181 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
11183         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
11184         * Makefile ($(objpfx)c++-types-check.out): Filter out
11185         $(+gccwarn-c) instead of -Wstrict-prototypes.
11187         * io/fts.c (fts_open): Convert to prototype-style function
11188         definition.
11189         * malloc/mcheck.c (mcheck): Likewise.
11190         (mcheck_pedantic): Likewise.
11191         * posix/regexec.c (re_search_2_stub): Likewise.  Use
11192         internal_function.
11193         (re_search_internal): Likewise.
11194         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
11195         prototype-style function definition.
11196         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
11197         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
11198         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
11199         (xdr_utmpptr): Likewise.
11200         (xdr_utmparr): Likewise.
11201         (xdr_utmpidle): Likewise.
11202         (xdr_utmpidleptr): Likewise.
11203         (xdr_utmpidlearr): Likewise.
11205         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
11206         log, log10 and log2.
11207         * math/auto-libm-test-out: Regenerated.
11208         * math/libm-test.inc (fmod_test_data): Add more tests.
11209         (fpclassify_test_data): Likewise.
11210         (frexp_test_data): Likewise.
11211         (hypot_test_data): Likewise.
11212         (ilogb_test_data): Likewise.
11214 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
11216         * debug/fortify_fail.c (__fortify_fail): Convert to
11217         prototype-style function definition.  Use internal_function.
11218         * libio/genops.c (save_for_backup): Convert to prototype-style
11219         function definition.
11220         * libio/wgenops.c (save_for_wbackup): Likewise.
11221         * login/grantpt.c (grantpt): Likewise.
11222         * login/ptsname.c (ptsname): Likewise.
11223         (__ptsname_r): Likewise.
11224         * login/unlockpt.c (unlockpt): Likewise.
11225         * mach/msgserver.c (__mach_msg_server): Likewise.
11226         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
11227         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
11228         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
11229         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
11230         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
11231         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
11232         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
11233         Likewise.
11234         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
11235         internal_function.
11236         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
11237         prototype-style function definition.
11238         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
11239         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
11240         (__pthread_create_2_0): Likewise.
11241         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
11242         * nptl/register-atfork.c (__register_atfork): Likewise.
11243         * posix/glob.c (glob): Likewise.
11244         * posix/regcomp.c (re_comp): Likewise.
11245         * posix/regexec.c (re_exec): Likewise.
11246         * stdlib/add_n.c [__STDC__]: Make code unconditional.
11247         [!__STDC__]: Remove conditional code.
11248         * stdlib/cmp.c [__STDC__]: Make code unconditional.
11249         [!__STDC__]: Remove conditional code.
11250         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
11251         [!__STDC__]: Remove conditional code.
11252         * stdlib/divrem.c [__STDC__]: Make code unconditional.
11253         [!__STDC__]: Remove conditional code.
11254         * stdlib/lshift.c [__STDC__]: Make code unconditional.
11255         [!__STDC__]: Remove conditional code.
11256         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
11257         [!__STDC__]: Remove conditional code.
11258         * stdlib/mul.c [__STDC__]: Make code unconditional.
11259         [!__STDC__]: Remove conditional code.
11260         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
11261         [!__STDC__]: Remove conditional code.
11262         * stdlib/rshift.c [__STDC__]: Make code unconditional.
11263         [!__STDC__]: Remove conditional code.
11264         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
11265         function definition.
11266         (STRTOF): Likewise.
11267         * stdlib/strtod_l.c (__STRTOF): Likewise.
11268         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
11269         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
11270         (__strtol_l): Likewise.
11271         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
11272         [!__STDC__]: Remove conditional code.
11273         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
11274         definition.
11275         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
11276         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
11277         type.
11278         (__strcasecmp): Convert to prototype-style function definition.
11279         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
11280         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
11281         type.
11282         (__strncasecmp): Convert to prototype-style function definition.
11283         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
11284         * sunrpc/xdr.c (xdr_union): Likewise.
11285         * sunrpc/xdr_array.c (xdr_array): Likewise.
11286         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
11287         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
11288         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
11289         Likewise.
11290         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
11291         Likewise.
11292         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
11293         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
11294         Likewise.
11295         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
11296         (LOCALE_PARAM_PROTO): Likewise.
11297         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
11298         argument type.
11299         (ut_argument_spec): Remove macro.
11300         (ut_argument_spec_iso): Rename to ut_argument_spec.
11301         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
11302         prototype-style function definition.
11303         (memcpy_uppcase): Likewise.
11304         (__strftime_internal): Likewise.
11305         (my_strftime): Likewise.
11306         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
11307         (LOCALE_PARAM_DECL): Likewise.
11308         [_LIBC] (LOCALE_PARAM): Include argument type.
11309         (__strptime_internal): Convert to prototype-style function
11310         definition.
11311         (strptime): Likewise.
11312         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
11313         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
11314         type.
11315         (__wcscasecmp): Convert to prototype-style function definition.
11316         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
11317         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
11318         type.
11319         (__wcsncasecmp): Convert to prototype-style function definition.
11321         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
11322         function definition.
11323         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
11324         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
11325         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
11326         * elf/dl-minimal.c (_itoa): Likewise.
11327         * hurd/hurdmalloc.c (malloc): Likewise.
11328         (free): Likewise.
11329         (realloc): Likewise.
11330         * inet/inet6_option.c (inet6_option_space): Likewise.
11331         (inet6_option_init): Likewise.
11332         (inet6_option_append): Likewise.
11333         (inet6_option_alloc): Likewise.
11334         (inet6_option_next): Likewise.
11335         (inet6_option_find): Likewise.
11336         * io/ftw.c (FTW_NAME): Likewise.
11337         (NFTW_NAME): Likewise.
11338         (NFTW_NEW_NAME): Likewise.
11339         (NFTW_OLD_NAME): Likewise.
11340         * libio/iofwide.c (_IO_fwide): Likewise.
11341         * libio/strops.c (_IO_str_init_static_internal): Likewise.
11342         (_IO_str_init_static): Likewise.
11343         (_IO_str_init_readonly): Likewise.
11344         (_IO_str_overflow): Likewise.
11345         (_IO_str_underflow): Likewise.
11346         (_IO_str_count): Likewise.
11347         (_IO_str_seekoff): Likewise.
11348         (_IO_str_pbackfail): Likewise.
11349         (_IO_str_finish): Likewise.
11350         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
11351         (_IO_wstr_overflow): Likewise.
11352         (_IO_wstr_underflow): Likewise.
11353         (_IO_wstr_count): Likewise.
11354         (_IO_wstr_seekoff): Likewise.
11355         (_IO_wstr_pbackfail): Likewise.
11356         (_IO_wstr_finish): Likewise.
11357         * locale/programs/localedef.c (normalize_codeset): Likewise.
11358         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
11359         (add_locales_to_archive): Likewise.
11360         (delete_locales_from_archive): Likewise.
11361         * malloc/malloc.c (__libc_mallinfo): Likewise.
11362         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
11363         * misc/tsearch.c (__tfind): Likewise.
11364         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
11365         * nptl/pthread_attr_getdetachstate.c
11366         (__pthread_attr_getdetachstate): Likewise.
11367         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
11368         Likewise.
11369         * nptl/pthread_attr_getinheritsched.c
11370         (__pthread_attr_getinheritsched): Likewise.
11371         * nptl/pthread_attr_getschedparam.c
11372         (__pthread_attr_getschedparam): Likewise.
11373         * nptl/pthread_attr_getschedpolicy.c
11374         (__pthread_attr_getschedpolicy): Likewise.
11375         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
11376         Likewise.
11377         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
11378         Likewise.
11379         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
11380         Likewise.
11381         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
11382         Likewise.
11383         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
11384         (__pthread_attr_init_2_0): Likewise.
11385         * nptl/pthread_attr_setdetachstate.c
11386         (__pthread_attr_setdetachstate): Likewise.
11387         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
11388         Likewise.
11389         * nptl/pthread_attr_setinheritsched.c
11390         (__pthread_attr_setinheritsched): Likewise.
11391         * nptl/pthread_attr_setschedparam.c
11392         (__pthread_attr_setschedparam): Likewise.
11393         * nptl/pthread_attr_setschedpolicy.c
11394         (__pthread_attr_setschedpolicy): Likewise.
11395         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
11396         Likewise.
11397         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
11398         Likewise.
11399         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
11400         Likewise.
11401         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
11402         Likewise.
11403         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
11404         Likewise.
11405         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
11406         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
11407         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
11408         use internal_function.
11409         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
11410         prototype-style function definition.
11411         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
11412         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
11413         internal_function.
11414         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
11415         Convert to prototype-style function definition.
11416         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
11417         Likewise.
11418         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
11419         Likewise.
11420         (__pthread_mutex_unlock): Likewise.
11421         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
11422         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
11423         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
11424         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
11425         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
11426         * nss/makedb.c (process_input): Likewise.
11427         * posix/fnmatch.c (__strchrnul): Likewise.
11428         (__wcschrnul): Likewise.
11429         (fnmatch): Likewise.
11430         * posix/fnmatch_loop.c (FCT): Likewise.
11431         * posix/glob.c (globfree): Likewise.
11432         (__glob_pattern_type): Likewise.
11433         (__glob_pattern_p): Likewise.
11434         * posix/regcomp.c (re_compile_pattern): Likewise.
11435         (re_set_syntax): Likewise.
11436         (re_compile_fastmap): Likewise.
11437         (regcomp): Likewise.
11438         (regerror): Likewise.
11439         (regfree): Likewise.
11440         * posix/regexec.c (regexec): Likewise.
11441         (re_match): Likewise.
11442         (re_search): Likewise.
11443         (re_match_2): Likewise.
11444         (re_search_2): Likewise.
11445         (re_search_stub): Likewise.  Use internal_function
11446         (re_copy_regs): Likewise.
11447         (re_set_registers): Convert to prototype-style function
11448         definition.
11449         (prune_impossible_nodes): Likewise.  Use internal_function.
11450         * resolv/inet_net_pton.c (inet_net_pton): Convert to
11451         prototype-style function definition.
11452         (inet_net_pton_ipv4): Likewise.
11453         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
11454         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
11455         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
11456         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
11457         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
11458         Make variadic.
11459         * time/strptime_l.c (localtime_r): Convert to prototype-style
11460         function definition.
11461         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
11462         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
11463         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
11464         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
11466         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
11467         definition.
11468         (_ufc_doit_r): Likewise.
11469         * crypt/crypt_util.c (_ufc_copymem): Likewise.
11470         (_ufc_output_conversion_r): Likewise.
11471         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
11472         * inet/rcmd.c (rcmd_af): Likewise.
11473         (rcmd): Likewise.
11474         (ruserok_af): Likewise.
11475         (ruserok): Likewise.
11476         (ruserok2_sa): Likewise.
11477         (ruserok_sa): Likewise.
11478         (iruserok_af): Likewise.
11479         (iruserok): Likewise.
11480         (__ivaliduser): Likewise.
11481         (__validuser2_sa): Likewise.
11482         * inet/rexec.c (rexec_af): Likewise.
11483         (rexec): Likewise.
11484         * inet/ruserpass.c (ruserpass): Likewise.
11485         * locale/programs/xmalloc.c (xcalloc): Likewise.
11486         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
11487         * math/w_drem.c (__drem): Likewise.
11488         * math/w_dremf.c (__dremf): Likewise.
11489         * math/w_dreml.c (__dreml): Likewise.
11490         * misc/daemon.c (daemon): Likewise.
11491         * resolv/res_debug.c (p_fqnname): Likewise.
11492         * stdlib/div.c (div): Likewise.
11493         * string/memcmp.c (memcmp_bytes): Likewise.
11494         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
11495         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
11497         * crypt/cert.c (main): Convert to prototype-style function
11498         definition.
11499         * io/pipe.c (__pipe): Likewise.
11500         * io/pipe2.c (__pipe2): Likewise.
11501         * misc/futimesat.c (futimesat): Likewise.
11502         * misc/utimes.c (__utimes): Likewise.
11503         * posix/execve.c (__execve): Likewise.
11504         * posix/execvp.c (execvp): Likewise.
11505         * posix/execvpe.c (__execvpe): Likewise.
11506         * posix/fexecve.c (fexecve): Likewise.
11507         * socket/socketpair.c (socketpair): Likewise.
11508         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
11509         * stdlib/erand48.c (erand48): Likewise.
11510         * stdlib/erand48_r.c (__erand48_r): Likewise.
11511         * stdlib/jrand48.c (jrand48): Likewise.
11512         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
11513         * stdlib/lcong48.c (lcong48): Likewise.
11514         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
11515         * stdlib/nrand48.c (nrand48): Likewise.
11516         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
11517         * stdlib/seed48.c (seed48): Likewise.
11518         * stdlib/seed48_r.c (__seed48_r): Likewise.
11519         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
11520         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
11521         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
11523 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
11525         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
11526         * configure: Regenerated.
11527         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
11528         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
11529         unconditional.
11530         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
11531         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
11532         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
11533         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
11534         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
11535         unconditional.
11536         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
11538         * posix/Makefile (CFLAGS-regex.c): Remove variable.
11539         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
11541         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
11542         function definition.
11543         * crypt/crypt_util.c (__encrypt_r): Likewise.
11544         * libio/genops.c (_IO_no_init): Likewise.
11545         * libio/iofopncook.c (_IO_fopencookie): Likewise.
11546         (_IO_old_fopencookie): Likewise.
11547         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
11548         * libio/iogetline.c (_IO_getline): Likewise.
11549         (_IO_getline_info): Likewise.
11550         * libio/iogetwline.c (_IO_getwline): Likewise.
11551         (_IO_getwline_info): Likewise.
11552         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
11553         * libio/vswprintf.c (_IO_vswprintf): Likewise.
11554         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
11555         (find_entry): Likewise.
11556         (iterate_table): Likewise.
11557         (lookup): Likewise.
11558         * login/forkpty.c (forkpty): Likewise.
11559         * misc/hsearch_r.c (__hsearch_r): Likewise.
11560         * misc/select.c (__select): Likewise.
11561         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
11562         Likewise.
11563         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
11564         Likewise.
11565         * nptl/old_pthread_cond_timedwait.c
11566         (__pthread_cond_timedwait_2_0): Likewise.
11567         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
11568         * nptl/pthread_barrierattr_getpshared.c
11569         (pthread_barrierattr_getpshared): Likewise.
11570         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
11571         Likewise.
11572         * nptl/pthread_mutex_setprioceiling.c
11573         (pthread_mutex_setprioceiling): Likewise.
11574         * nptl/pthread_mutexattr_getprioceiling.c
11575         (pthread_mutexattr_getprioceiling): Likewise.
11576         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
11577         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
11578         Likewise.
11579         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
11580         Likewise.
11581         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
11582         Likewise.
11583         * socket/recvfrom.c (__recvfrom): Likewise.
11584         * socket/sendto.c (__sendto): Likewise.
11585         * socket/setsockopt.c (__setsockopt): Likewise.
11586         * stdio-common/_itoa.c (_itoa): Likewise.
11587         * stdio-common/_itowa.c (_itowa): Likewise.
11588         * stdio-common/reg-printf.c (__register_printf_specifier):
11589         Likewise.
11590         (__register_printf_function): Likewise.
11591         * stdio-common/tempname.c (__path_search): Likewise.
11592         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
11593         * stdlib/mul_1.c (mpn_mul_1): Likewise.
11594         * stdlib/random_r.c (__initstate_r): Likewise.
11595         * stdlib/setenv.c (__add_to_environ): Likewise.
11596         * stdlib/submul_1.c (mpn_submul_1): Likewise.
11597         * streams/getpmsg.c (getpmsg): Likewise.
11598         * streams/putmsg.c (putmsg): Likewise.
11599         * streams/putpmsg.c (putpmsg): Likewise.
11600         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
11601         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
11602         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
11603         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
11604         * sunrpc/pm_getport.c (pmap_getport): Likewise.
11605         * sunrpc/svc_udp.c (cache_get): Likewise.
11606         * sunrpc/xdr_array.c (xdr_vector): Likewise.
11607         * sysdeps/mach/hurd/getcwd.c
11608         (__canonicalize_directory_name_internal): Likewise.
11609         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
11610         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
11611         * sysdeps/mach/hurd/select.c (__select): Likewise.
11612         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
11613         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
11614         * sysdeps/sparc/nptl/pthread_barrier_init.c
11615         (__pthread_barrier_init): Likewise.
11616         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
11617         (__pthread_cond_timedwait): Likewise.
11618         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
11619         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
11620         Likewise.
11621         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
11622         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
11623         Likewise.
11624         * sysvipc/semtimedop.c (semtimedop): Likewise.
11625         * time/setitimer.c (__setitimer): Likewise.
11626         * time/strftime_l.c (emacs_strftime): Likewise.
11628 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
11630         * config.make.in (have-ssp): Delete.
11631         (stack-protector): New variable.
11632         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
11633         cache test for -fstack-protector-strong.  Export stack_protector to
11634         the best ssp flag.
11635         * configure: Regenerated.
11636         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
11637         * nscd/Makefile (CFLAGS-nscd): Likewise.
11638         * resolv/Makefile (CFLAGS-libresolv): Likewise.
11640 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
11642         [BZ #19122]
11643         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
11644         attribute_hidden.
11646 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11648         [BZ #18743]
11649         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
11650         code to...
11651         (ELIDE_LOCK): ...here.
11652         (__get_new_count): New function with part of the code from
11653         __elide_lock that updates the value of adapt_count after a
11654         transaction abort.
11655         (__elided_trylock): Moved this code to...
11656         (ELIDE_TRYLOCK): ...here.
11658 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
11660         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
11661         * configure: Regenerate.
11662         * INSTALL: Regenerate.
11663         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
11664         and tweak grammar.
11666 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
11668         * login/programs/pt_chown.c: Include signal.h
11669         (main): Clear any signal mask from the parent process.
11671 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
11673         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
11674         * configure: Regenerated.
11675         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
11676         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
11677         $(gnu89-inline-CFLAGS).
11679         * configure.ac (libc_cv_asm_weak_directive): Remove configure
11680         test.
11681         (libc_cv_asm_weakext_directive): Likewise.
11682         * configure: Regenerated.
11683         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
11684         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
11685         * include/libc-symbols.h
11686         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
11687         #error.
11688         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
11689         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
11691         * sysdeps/arm/backtrace.c (__backtrace): Convert to
11692         prototype-style function definition.
11693         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
11694         * sysdeps/i386/ffs.c (__ffs): Likewise.
11695         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
11696         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
11697         Likewise.
11698         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
11699         Likewise.
11700         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
11701         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
11702         Likewise.
11703         * sysdeps/m68k/ffs.c (__ffs): Likewise.
11704         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
11705         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
11706         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
11707         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
11708         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
11709         * sysdeps/mach/hurd/access.c (__access): Likewise.
11710         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
11711         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
11712         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
11713         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
11714         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
11715         (cthread_getspecific): Likewise.
11716         (cthread_setspecific): Likewise.
11717         (__libc_getspecific): Likewise.
11718         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
11719         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
11720         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
11721         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
11722         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
11723         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
11724         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
11725         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
11726         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
11727         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
11728         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
11729         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
11730         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
11731         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
11732         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
11733         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
11734         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
11735         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
11736         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
11737         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
11738         * sysdeps/mach/hurd/link.c (__link): Likewise.
11739         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
11740         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
11741         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
11742         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
11743         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
11744         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
11745         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
11746         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
11747         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
11748         * sysdeps/mach/hurd/rename.c (rename): Likewise.
11749         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
11750         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
11751         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
11752         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
11753         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
11754         * sysdeps/mach/hurd/send.c (__send): Likewise.
11755         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
11756         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
11757         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
11758         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
11759         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
11760         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
11761         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
11762         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
11763         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
11764         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
11765         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
11766         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
11767         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
11768         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
11769         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
11770         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
11771         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
11772         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
11773         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
11774         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
11775         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
11776         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
11777         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
11778         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
11779         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
11780         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
11781         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
11782         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
11783         * sysdeps/posix/alarm.c (alarm): Likewise.
11784         * sysdeps/posix/cuserid.c (cuserid): Likewise.
11785         * sysdeps/posix/dirfd.c (dirfd): Likewise.
11786         * sysdeps/posix/dup.c (__dup): Likewise.
11787         * sysdeps/posix/dup2.c (__dup2): Likewise.
11788         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
11789         (main): Likewise.
11790         * sysdeps/posix/flock.c (__flock): Likewise.
11791         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
11792         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
11793         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
11794         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
11795         * sysdeps/posix/isatty.c (__isatty): Likewise.
11796         * sysdeps/posix/killpg.c (killpg): Likewise.
11797         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
11798         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
11799         * sysdeps/posix/raise.c (raise): Likewise.
11800         * sysdeps/posix/remove.c (remove): Likewise.
11801         * sysdeps/posix/rename.c (rename): Likewise.
11802         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
11803         * sysdeps/posix/seekdir.c (seekdir): Likewise.
11804         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
11805         * sysdeps/posix/sigignore.c (sigignore): Likewise.
11806         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
11807         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
11808         * sysdeps/posix/sigset.c (sigset): Likewise.
11809         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
11810         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
11811         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
11812         * sysdeps/posix/time.c (time): Likewise.
11813         * sysdeps/posix/ttyname.c (getttyname): Likewise.
11814         (ttyname): Likewise.
11815         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
11816         * sysdeps/posix/utime.c (utime): Likewise.
11817         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
11818         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
11819         Likewise.
11820         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
11821         (pthread_spin_trylock): Likewise.
11822         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
11823         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
11824         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
11825         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
11826         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
11827         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
11828         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
11829         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
11830         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
11831         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
11832         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
11833         * sysdeps/s390/ffs.c (__ffs): Likewise.
11834         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
11835         Likewise.
11836         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
11837         Likewise.
11838         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
11839         Likewise.
11840         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
11841         (pthread_barrier_destroy): Likewise.
11842         * sysdeps/sparc/nptl/pthread_barrier_wait.c
11843         (__pthread_barrier_wait): Likewise.
11844         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
11845         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
11846         (__pthread_barrier_wait): Likewise.
11847         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
11848         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
11849         (memcmp_not_common_alignment): Likewise.
11850         (MEMCMP): Likewise.
11851         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
11852         (_wordcopy_fwd_dest_aligned): Likewise.
11853         (_wordcopy_bwd_aligned): Likewise.
11854         (_wordcopy_bwd_dest_aligned): Likewise.
11855         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
11856         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
11857         * sysdeps/unix/bsd/stty.c (stty): Likewise.
11858         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
11859         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
11860         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
11861         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
11862         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
11863         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
11864         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
11865         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
11866         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
11867         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
11868         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
11869         * sysdeps/unix/stime.c (stime): Likewise.
11870         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
11871         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
11872         Likewise.  Use internal_function.
11873         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
11874         Convert to prototype-style function definition.
11875         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
11876         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
11877         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
11878         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
11879         Likewise.  Use internal_function.
11880         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
11881         prototype-style function definition
11882         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
11883         Likewise.
11884         (__getlogin_r): Likewise.
11885         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
11886         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
11887         (__pthread_cond_broadcast): Likewise.
11888         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
11889         (__pthread_cond_destroy): Likewise.
11890         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
11891         (__pthread_cond_init): Likewise.
11892         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
11893         (__pthread_cond_signal): Likewise.
11894         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
11895         (__pthread_cond_wait): Likewise.
11896         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
11897         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
11898         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
11899         Likewise.
11900         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
11901         Likewise.
11902         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
11903         Likewise.
11904         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
11905         Likewise.
11906         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
11907         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
11908         (__ftruncate64): Likewise.
11909         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
11910         (truncate64): Likewise.
11911         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
11912         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
11913         (pthread_getcpuclockid): Likewise.
11914         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
11915         Likewise.
11916         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
11917         Likewise.
11918         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
11919         Likewise.
11920         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
11921         Likewise.
11922         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
11923         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
11924         (__libc_sigaction): Likewise.
11925         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
11926         Likewise.
11927         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
11928         (__sigprocmask): Likewise.
11929         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
11930         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
11931         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
11932         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
11933         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
11934         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
11935         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
11936         Likewise.
11937         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
11938         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
11939         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
11940         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
11941         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
11942         Likewise.
11943         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
11944         (__sigprocmask): Likewise.
11945         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
11946         (cfgetispeed): Likewise.
11947         (cfsetospeed): Likewise.
11948         (cfsetispeed): Likewise.
11949         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
11950         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
11951         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
11952         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
11953         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
11954         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
11955         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
11956         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
11957         Likewise.
11958         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
11959         Likewise.
11960         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
11961         Likewise.
11962         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
11963         Likewise.
11964         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
11966 2015-10-17  Florian Weimer  <fweimer@redhat.com>
11968         sunrpc: Rewrite with explicit TLS access using __thread.
11969         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
11970         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
11971         directly.
11972         (__rpc_thread_variables): Access thread_rpc_vars directly.
11973         Eliminate redundant assignment of the tvp variable.
11975 2015-10-17  Florian Weimer  <fweimer@redhat.com>
11977         malloc: Rewrite with explicit TLS access using __thread.
11978         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
11979         (tsd_setspecific, tsd_getspecific): Remove.
11980         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
11981         (tsd_setspecific, tsd_getspecific): Likewise.
11982         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
11983         (tsd_setspecific, tsd_getspecific): Likewise.
11984         * malloc/arena.c (thread_arena): New TLS variable.
11985         (arena_key): Remove variable.
11986         (arena_get): Use thread_arena.
11987         (arena_lookup): Remove macro.
11988         (malloc_atfork, free_atfork, ptmalloc_lock_all)
11989         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
11990         (_int_new_arena, get_free_list, reused_arena)
11991         (arena_thread_freeres): Use thread_arena.
11992         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
11993         tsd_getspecific, tsd_setspecific from safety annotations.
11994         (Allocating Cleared Space): Remove arena_lookup from safety
11995         annotations.
11997 2015-10-17  Florian Weimer  <fweimer@redhat.com>
11999         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
12000         struct scratch_buffer instead of extend_alloca.
12002 2015-10-17  Florian Weimer  <fweimer@redhat.com>
12004         * sysdeps/unix/sysv/linux/kernel-features.h
12005         (__ASSUME_SOCK_CLOEXEC): Remove.
12006         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
12007         (__have_paccept): Remove unused macro.
12008         * include/unistd.h (__have_sock_cloexec): Remove declaration.
12009         * misc/syslog.c (openlog_internal): Remove fallback code for
12010         !__ASSUME_SOCK_CLOEXEC.
12011         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
12012         missing SOCK_CLOEXEC.
12013         * nscd/connections.c (have_sock_cloexec): Remove definition.
12014         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
12015         * nscd/nscd_helper.c (open_socket): Remove fallback code for
12016         !__ASSUME_SOCK_CLOEXEC.
12017         * resolv/res_send.c (__have_o_nonblock): Remove definition.
12018         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
12019         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
12020         definition.
12021         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
12022         code for !__ASSUME_SOCK_CLOEXEC.
12024 2015-10-17  Florian Weimer  <fweimer@redhat.com>
12026         [BZ #18982]
12027         * manual/stdio.texi (Variable Arguments Output): Add portability
12028         note, explaining that vfprintf clobbers the va_list pointer.
12030 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
12032         * math/libm-test.inc (fabs_test_data): Add more tests.
12033         (fdim_test_data): Likewise.
12034         (fma_test_data): Likewise.
12035         (fmax_test_data): Likewise.
12036         (fmin_test_data): Likewise.
12037         (fmod_test_data): Likewise.
12039 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
12041         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
12042         data.
12044 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
12046         * math/libm-test.inc (ceil_test_data): Add more tests and more
12047         expectations for "inexact".
12048         (floor_test_data): Add more tests.
12049         (round_test_data): Likewise.
12050         (trunc_test_data): Likewise.
12052         * crypt/cert.c (good_bye): Convert to prototype-style function
12053         definition.
12054         (get8): Likewise.
12055         (put8): Likewise.
12056         * crypt/crypt-entry.c (crypt): Likewise.
12057         (__fcrypt): Likewise.
12058         * crypt/crypt_util.c (_ufc_prbits): Likewise.
12059         (_ufc_set_bits): Likewise.
12060         (_ufc_clearmem): Likewise.
12061         (__init_des_r): Likewise.
12062         (shuffle_sb): Likewise.
12063         (shuffle_sb): Likewise.
12064         (_ufc_setup_salt_r): Likewise.
12065         (_ufc_mk_keytab_r): Likewise.
12066         (_ufc_dofinalperm_r): Likewise.
12067         (encrypt): Likewise.
12068         (__setkey_r): Likewise.
12069         (setkey): Likewise.
12070         * crypt/md5.c (md5_init_ctx): Likewise.
12071         (md5_read_ctx): Likewise.
12072         (md5_finish_ctx): Likewise.
12073         (md5_stream): Likewise.
12074         (md5_buffer): Likewise.
12075         (md5_process_bytes): Likewise.
12076         * crypt/sha256.c (__sha256_init_ctx): Likewise.
12077         (__sha256_finish_ctx): Likewise.
12078         (__sha256_process_bytes): Likewise.
12079         * crypt/sha512.c (__sha512_init_ctx): Likewise.
12080         (__sha512_finish_ctx): Likewise.
12081         (__sha512_process_bytes): Likewise.
12082         * ctype/isctype.c (__isctype): Likewise.
12083         * debug/backtrace.c (__backtrace): Likewise.
12084         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
12085         * debug/fgets_chk.c (__fgets_chk): Likewise.
12086         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
12087         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
12088         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
12089         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
12090         * debug/memset_chk.c (__memset_chk): Likewise.
12091         * debug/strcat_chk.c (__strcat_chk): Likewise.
12092         * debug/strncat_chk.c (__strncat_chk): Likewise.
12093         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
12094         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
12095         * dirent/dirfd.c (dirfd): Likewise.
12096         * dirent/getdents.c (__getdirentries): Likewise.
12097         * dirent/getdents64.c (getdirentries64): Likewise.
12098         * dirent/rewinddir.c (__rewinddir): Likewise.
12099         * dirent/seekdir.c (seekdir): Likewise.
12100         * dirent/telldir.c (telldir): Likewise.
12101         * elf/sln.c (makesymlinks): Likewise.
12102         (makesymlink): Likewise.
12103         * gmon/gmon.c (__moncontrol): Likewise.
12104         (__monstartup): Likewise.
12105         (write_hist): Likewise.
12106         (write_call_graph): Likewise.
12107         (write_bb_counts): Likewise.
12108         * grp/setgroups.c (setgroups): Likewise.
12109         * inet/inet_lnaof.c (inet_lnaof): Likewise.
12110         * inet/inet_net.c (inet_network): Likewise.
12111         * inet/inet_netof.c (inet_netof): Likewise.
12112         * inet/rcmd.c (rresvport_af): Likewise.
12113         (rresvport): Likewise.
12114         * io/access.c (__access): Likewise.
12115         * io/chdir.c (__chdir): Likewise.
12116         * io/chmod.c (__chmod): Likewise.
12117         * io/chown.c (__chown): Likewise.
12118         * io/close.c (__close): Likewise.
12119         * io/creat.c (creat): Likewise.
12120         * io/creat64.c (creat64): Likewise.
12121         * io/dup.c (__dup): Likewise.
12122         * io/dup2.c (__dup2): Likewise.
12123         * io/dup3.c (__dup3): Likewise.
12124         * io/euidaccess.c (__euidaccess): Likewise.
12125         * io/faccessat.c (faccessat): Likewise.
12126         * io/fchmod.c (__fchmod): Likewise.
12127         * io/fchmodat.c (fchmodat): Likewise.
12128         * io/fchown.c (__fchown): Likewise.
12129         * io/fchownat.c (fchownat): Likewise.
12130         * io/fcntl.c (__fcntl): Likewise.
12131         * io/flock.c (__flock): Likewise.
12132         * io/fts.c (fts_load): Likewise.
12133         (fts_close): Likewise.
12134         (fts_read): Likewise.
12135         (fts_set): Likewise.
12136         (fts_children): Likewise.
12137         (fts_build): Likewise.
12138         (fts_stat): Likewise.
12139         (fts_sort): Likewise.
12140         (fts_alloc): Likewise.
12141         (fts_lfree): Likewise.
12142         (fts_palloc): Likewise.
12143         (fts_padjust): Likewise.
12144         (fts_maxarglen): Likewise.
12145         (fts_safe_changedir): Likewise.
12146         * io/getwd.c (getwd): Likewise.
12147         * io/isatty.c (__isatty): Likewise.
12148         * io/lchown.c (__lchown): Likewise.
12149         * io/link.c (__link): Likewise.
12150         * io/linkat.c (linkat): Likewise.
12151         * io/lseek.c (__libc_lseek): Likewise.
12152         * io/mkdir.c (__mkdir): Likewise.
12153         * io/mkdirat.c (mkdirat): Likewise.
12154         * io/mkfifo.c (mkfifo): Likewise.
12155         * io/mkfifoat.c (mkfifoat): Likewise.
12156         * io/open.c (__libc_open): Likewise.
12157         * io/open64.c (__libc_open64): Likewise.
12158         * io/readlink.c (__readlink): Likewise.
12159         * io/readlinkat.c (readlinkat): Likewise.
12160         * io/rmdir.c (__rmdir): Likewise.
12161         * io/symlink.c (__symlink): Likewise.
12162         * io/symlinkat.c (symlinkat): Likewise.
12163         * io/ttyname.c (ttyname): Likewise.
12164         * io/ttyname_r.c (__ttyname_r): Likewise.
12165         * io/umask.c (__umask): Likewise.
12166         * io/unlink.c (__unlink): Likewise.
12167         * io/unlinkat.c (unlinkat): Likewise.
12168         * io/utime.c (utime): Likewise.
12169         * libio/clearerr.c (clearerr): Likewise.
12170         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
12171         * libio/feof.c (_IO_feof): Likewise.
12172         * libio/feof_u.c (feof_unlocked): Likewise.
12173         * libio/ferror.c (_IO_ferror): Likewise.
12174         * libio/ferror_u.c (ferror_unlocked): Likewise.
12175         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
12176         * libio/fileno.c (__fileno): Likewise.
12177         * libio/fputc.c (fputc): Likewise.
12178         * libio/fputc_u.c (fputc_unlocked): Likewise.
12179         * libio/fputwc.c (fputwc): Likewise.
12180         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
12181         * libio/freopen.c (freopen): Likewise.
12182         * libio/freopen64.c (freopen64): Likewise.
12183         * libio/fseek.c (fseek): Likewise.
12184         * libio/fseeko.c (fseeko): Likewise.
12185         * libio/fseeko64.c (fseeko64): Likewise.
12186         * libio/ftello.c (__ftello): Likewise.
12187         * libio/ftello64.c (ftello64): Likewise.
12188         * libio/fwide.c (fwide): Likewise.
12189         * libio/genops.c (_IO_un_link): Likewise.
12190         (_IO_link_in): Likewise.
12191         (_IO_least_marker): Likewise.
12192         (_IO_switch_to_main_get_area): Likewise.
12193         (_IO_switch_to_backup_area): Likewise.
12194         (_IO_switch_to_get_mode): Likewise.
12195         (_IO_free_backup_area): Likewise.
12196         (_IO_switch_to_put_mode): Likewise.
12197         (__overflow): Likewise.
12198         (__underflow): Likewise.
12199         (__uflow): Likewise.
12200         (_IO_setb): Likewise.
12201         (_IO_doallocbuf): Likewise.
12202         (_IO_default_underflow): Likewise.
12203         (_IO_default_uflow): Likewise.
12204         (_IO_default_xsputn): Likewise.
12205         (_IO_sgetn): Likewise.
12206         (_IO_default_xsgetn): Likewise.
12207         (_IO_sync): Likewise.
12208         (_IO_default_setbuf): Likewise.
12209         (_IO_default_seekpos): Likewise.
12210         (_IO_default_doallocate): Likewise.
12211         (_IO_init): Likewise.
12212         (_IO_old_init): Likewise.
12213         (_IO_default_sync): Likewise.
12214         (_IO_default_finish): Likewise.
12215         (_IO_default_seekoff): Likewise.
12216         (_IO_sputbackc): Likewise.
12217         (_IO_sungetc): Likewise.
12218         (_IO_set_column): Likewise.
12219         (_IO_set_column): Likewise.
12220         (_IO_adjust_column): Likewise.
12221         (_IO_get_column): Likewise.
12222         (_IO_init_marker): Likewise.
12223         (_IO_remove_marker): Likewise.
12224         (_IO_marker_difference): Likewise.
12225         (_IO_marker_delta): Likewise.
12226         (_IO_seekmark): Likewise.
12227         (_IO_unsave_markers): Likewise.
12228         (_IO_nobackup_pbackfail): Likewise.
12229         (_IO_default_pbackfail): Likewise.
12230         (_IO_default_seek): Likewise.
12231         (_IO_default_stat): Likewise.
12232         (_IO_default_read): Likewise.
12233         (_IO_default_write): Likewise.
12234         (_IO_default_showmanyc): Likewise.
12235         (_IO_default_imbue): Likewise.
12236         (_IO_iter_next): Likewise.
12237         (_IO_iter_file): Likewise.
12238         * libio/getc.c (_IO_getc): Likewise.
12239         * libio/getwc.c (_IO_getwc): Likewise.
12240         * libio/iofclose.c (_IO_new_fclose): Likewise.
12241         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
12242         * libio/iofflush.c (_IO_fflush): Likewise.
12243         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
12244         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
12245         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
12246         * libio/iofgets.c (_IO_fgets): Likewise.
12247         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
12248         * libio/iofgetws.c (fgetws): Likewise.
12249         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
12250         * libio/iofopen64.c (_IO_fopen64): Likewise.
12251         * libio/iofopncook.c (_IO_cookie_read): Likewise.
12252         (_IO_cookie_write): Likewise.
12253         (_IO_cookie_seek): Likewise.
12254         (_IO_cookie_close): Likewise.
12255         (_IO_cookie_seekoff): Likewise.
12256         (_IO_old_cookie_seek): Likewise.
12257         * libio/iofputs.c (_IO_fputs): Likewise.
12258         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
12259         * libio/iofputws.c (fputws): Likewise.
12260         * libio/iofputws_u.c (fputws_unlocked): Likewise.
12261         * libio/iofread.c (_IO_fread): Likewise.
12262         * libio/iofread_u.c (__fread_unlocked): Likewise.
12263         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
12264         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
12265         * libio/ioftell.c (_IO_ftell): Likewise.
12266         * libio/iofwrite.c (_IO_fwrite): Likewise.
12267         * libio/iogetdelim.c (_IO_getdelim): Likewise.
12268         * libio/iogets.c (_IO_gets): Likewise.
12269         * libio/iopadn.c (_IO_padn): Likewise.
12270         * libio/iopopen.c (_IO_new_proc_open): Likewise.
12271         (_IO_new_popen): Likewise.
12272         (_IO_new_proc_close): Likewise.
12273         * libio/ioputs.c (_IO_puts): Likewise.
12274         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
12275         (_IO_seekoff): Likewise.
12276         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
12277         (_IO_seekpos): Likewise.
12278         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
12279         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
12280         * libio/ioungetc.c (_IO_ungetc): Likewise.
12281         * libio/ioungetwc.c (ungetwc): Likewise.
12282         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
12283         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
12284         * libio/iowpadn.c (_IO_wpadn): Likewise.
12285         * libio/libc_fatal.c (__libc_fatal): Likewise.
12286         * libio/memstream.c (__open_memstream): Likewise.
12287         (_IO_mem_sync): Likewise.
12288         (_IO_mem_finish): Likewise.
12289         * libio/oldfileops.c (_IO_old_file_init): Likewise.
12290         (_IO_old_file_close_it): Likewise.
12291         (_IO_old_file_finish): Likewise.
12292         (_IO_old_file_fopen): Likewise.
12293         (_IO_old_file_attach): Likewise.
12294         (_IO_old_file_setbuf): Likewise.
12295         (_IO_old_do_write): Likewise.
12296         (old_do_write): Likewise.
12297         (_IO_old_file_underflow): Likewise.
12298         (_IO_old_file_overflow): Likewise.
12299         (_IO_old_file_sync): Likewise.
12300         (_IO_old_file_seekoff): Likewise.
12301         (_IO_old_file_write): Likewise.
12302         (_IO_old_file_xsputn): Likewise.
12303         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
12304         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
12305         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
12306         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
12307         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
12308         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
12309         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
12310         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
12311         (_IO_old_popen): Likewise.
12312         (_IO_old_proc_close): Likewise.
12313         * libio/oldpclose.c (__old_pclose): Likewise.
12314         * libio/pclose.c (__new_pclose): Likewise.
12315         * libio/peekc.c (_IO_peekc_locked): Likewise.
12316         * libio/putc.c (_IO_putc): Likewise.
12317         * libio/putc_u.c (putc_unlocked): Likewise.
12318         * libio/putchar.c (putchar): Likewise.
12319         * libio/putchar_u.c (putchar_unlocked): Likewise.
12320         * libio/putwc.c (putwc): Likewise.
12321         * libio/putwc_u.c (putwc_unlocked): Likewise.
12322         * libio/putwchar.c (putwchar): Likewise.
12323         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
12324         * libio/rewind.c (rewind): Likewise.
12325         * libio/setbuf.c (setbuf): Likewise.
12326         * libio/setlinebuf.c (setlinebuf): Likewise.
12327         * libio/vasprintf.c (_IO_vasprintf): Likewise.
12328         * libio/vscanf.c (_IO_vscanf): Likewise.
12329         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
12330         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
12331         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
12332         * libio/wgenops.c (_IO_least_wmarker): Likewise.
12333         (_IO_switch_to_main_wget_area): Likewise.
12334         (_IO_switch_to_wbackup_area): Likewise.
12335         (_IO_wsetb): Likewise.
12336         (_IO_wdefault_pbackfail): Likewise.
12337         (_IO_wdefault_finish): Likewise.
12338         (_IO_wdefault_uflow): Likewise.
12339         (__woverflow): Likewise.
12340         (__wuflow): Likewise.
12341         (__wunderflow): Likewise.
12342         (_IO_wdefault_xsputn): Likewise.
12343         (_IO_wdefault_xsgetn): Likewise.
12344         (_IO_wdoallocbuf): Likewise.
12345         (_IO_wdefault_doallocate): Likewise.
12346         (_IO_switch_to_wget_mode): Likewise.
12347         (_IO_free_wbackup_area): Likewise.
12348         (_IO_switch_to_wput_mode): Likewise.
12349         (_IO_sputbackwc): Likewise.
12350         (_IO_sungetwc): Likewise.
12351         (_IO_adjust_wcolumn): Likewise.
12352         (_IO_init_wmarker): Likewise.
12353         (_IO_wmarker_delta): Likewise.
12354         (_IO_seekwmark): Likewise.
12355         (_IO_unsave_wmarkers): Likewise.
12356         * libio/wmemstream.c (open_wmemstream): Likewise.
12357         (_IO_wmem_sync): Likewise.
12358         (_IO_wmem_finish): Likewise.
12359         * locale/nl_langinfo.c (nl_langinfo): Likewise.
12360         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
12361         * locale/programs/simple-hash.c (init_hash): Likewise.
12362         (delete_hash): Likewise.
12363         (insert_entry): Likewise.
12364         (set_entry): Likewise.
12365         (next_prime): Likewise.
12366         (is_prime): Likewise.
12367         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
12368         (xmalloc): Likewise.
12369         (xrealloc): Likewise.
12370         * locale/programs/xstrdup.c (xstrdup): Likewise.
12371         * localedata/collate-test.c (xstrcoll): Likewise.
12372         * localedata/xfrm-test.c (xstrcmp): Likewise.
12373         * login/getlogin_r.c (__getlogin_r): Likewise.
12374         * login/getpt.c (__posix_openpt): Likewise.
12375         * login/login_tty.c (login_tty): Likewise.
12376         * login/setlogin.c (setlogin): Likewise.
12377         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
12378         (mach_msg_destroy_port): Likewise.
12379         (mach_msg_destroy_memory): Likewise.
12380         * malloc/mcheck.c (flood): Likewise.
12381         * misc/acct.c (acct): Likewise.
12382         * misc/brk.c (__brk): Likewise.
12383         * misc/chflags.c (chflags): Likewise.
12384         * misc/chroot.c (chroot): Likewise.
12385         * misc/fchflags.c (fchflags): Likewise.
12386         * misc/fstab.c (getfsspec): Likewise.
12387         (getfsfile): Likewise.
12388         * misc/fsync.c (fsync): Likewise.
12389         * misc/ftruncate.c (__ftruncate): Likewise.
12390         * misc/ftruncate64.c (__ftruncate64): Likewise.
12391         * misc/getdomain.c (getdomainname): Likewise.
12392         (getdomainname): Likewise.
12393         * misc/gethostname.c (__gethostname): Likewise.
12394         * misc/getpass.c (getpass): Likewise.
12395         * misc/getttyent.c (skip): Likewise.
12396         (value): Likewise.
12397         * misc/gtty.c (gtty): Likewise.
12398         * misc/hsearch.c (hsearch): Likewise.
12399         (hcreate): Likewise.
12400         * misc/hsearch_r.c (__hcreate_r): Likewise.
12401         (__hdestroy_r): Likewise.
12402         * misc/ioctl.c (__ioctl): Likewise.
12403         * misc/mkdtemp.c (mkdtemp): Likewise.
12404         * misc/mkostemp.c (mkostemp): Likewise.
12405         * misc/mkostemp64.c (mkostemp64): Likewise.
12406         * misc/mkostemps.c (mkostemps): Likewise.
12407         * misc/mkostemps64.c (mkostemps64): Likewise.
12408         * misc/mkstemp.c (mkstemp): Likewise.
12409         * misc/mkstemp64.c (mkstemp64): Likewise.
12410         * misc/mkstemps.c (mkstemps): Likewise.
12411         * misc/mkstemps64.c (mkstemps64): Likewise.
12412         * misc/mktemp.c (__mktemp): Likewise.
12413         * misc/preadv.c (preadv): Likewise.
12414         * misc/preadv64.c (preadv64): Likewise.
12415         * misc/pwritev.c (pwritev): Likewise.
12416         * misc/pwritev64.c (pwritev64): Likewise.
12417         * misc/readv.c (__readv): Likewise.
12418         * misc/revoke.c (revoke): Likewise.
12419         * misc/setdomain.c (setdomainname): Likewise.
12420         * misc/setegid.c (setegid): Likewise.
12421         * misc/seteuid.c (seteuid): Likewise.
12422         * misc/sethostid.c (sethostid): Likewise.
12423         * misc/sethostname.c (sethostname): Likewise.
12424         * misc/setregid.c (__setregid): Likewise.
12425         * misc/setreuid.c (__setreuid): Likewise.
12426         * misc/sstk.c (sstk): Likewise.
12427         * misc/stty.c (stty): Likewise.
12428         * misc/syscall.c (syscall): Likewise.
12429         * misc/syslog.c (setlogmask): Likewise.
12430         * misc/truncate.c (__truncate): Likewise.
12431         * misc/truncate64.c (truncate64): Likewise.
12432         * misc/ualarm.c (ualarm): Likewise.
12433         * misc/usleep.c (usleep): Likewise.
12434         * misc/ustat.c (ustat): Likewise.
12435         * misc/writev.c (__writev): Likewise.
12436         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
12437         * nptl/old_pthread_cond_broadcast.c
12438         (__pthread_cond_broadcast_2_0): Likewise.
12439         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
12440         Likewise.
12441         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
12442         Likewise.
12443         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
12444         Likewise.
12445         * nptl/pt-raise.c (raise): Likewise.
12446         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
12447         Likewise.
12448         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
12449         * nptl/pthread_barrierattr_destroy.c
12450         (pthread_barrierattr_destroy): Likewise.
12451         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
12452         Likewise.
12453         * nptl/pthread_barrierattr_setpshared.c
12454         (pthread_barrierattr_setpshared): Likewise.
12455         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
12456         Likewise.
12457         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
12458         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
12459         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
12460         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
12461         Likewise.
12462         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
12463         Likewise.
12464         * nptl/pthread_condattr_getpshared.c
12465         (pthread_condattr_getpshared): Likewise.
12466         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
12467         Likewise.
12468         * nptl/pthread_condattr_setpshared.c
12469         (pthread_condattr_setpshared): Likewise.
12470         * nptl/pthread_detach.c (pthread_detach): Likewise.
12471         * nptl/pthread_equal.c (__pthread_equal): Likewise.
12472         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
12473         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
12474         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
12475         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
12476         Likewise.
12477         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
12478         Likewise.
12479         * nptl/pthread_mutex_getprioceiling.c
12480         (pthread_mutex_getprioceiling): Likewise.
12481         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
12482         Likewise.
12483         * nptl/pthread_mutexattr_getprotocol.c
12484         (pthread_mutexattr_getprotocol): Likewise.
12485         * nptl/pthread_mutexattr_getpshared.c
12486         (pthread_mutexattr_getpshared): Likewise.
12487         * nptl/pthread_mutexattr_getrobust.c
12488         (pthread_mutexattr_getrobust): Likewise.
12489         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
12490         Likewise.
12491         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
12492         Likewise.
12493         * nptl/pthread_mutexattr_setprioceiling.c
12494         (pthread_mutexattr_setprioceiling): Likewise.
12495         * nptl/pthread_mutexattr_setprotocol.c
12496         (pthread_mutexattr_setprotocol): Likewise.
12497         * nptl/pthread_mutexattr_setpshared.c
12498         (pthread_mutexattr_setpshared): Likewise.
12499         * nptl/pthread_mutexattr_setrobust.c
12500         (pthread_mutexattr_setrobust): Likewise.
12501         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
12502         Likewise.
12503         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
12504         Likewise.
12505         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
12506         Likewise.
12507         * nptl/pthread_rwlockattr_getkind_np.c
12508         (pthread_rwlockattr_getkind_np): Likewise.
12509         * nptl/pthread_rwlockattr_getpshared.c
12510         (pthread_rwlockattr_getpshared): Likewise.
12511         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
12512         Likewise.
12513         * nptl/pthread_rwlockattr_setkind_np.c
12514         (pthread_rwlockattr_setkind_np): Likewise.
12515         * nptl/pthread_rwlockattr_setpshared.c
12516         (pthread_rwlockattr_setpshared): Likewise.
12517         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
12518         Likewise.
12519         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
12520         Likewise.
12521         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
12522         Likewise.
12523         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
12524         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
12525         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
12526         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
12527         * nptl/sem_close.c (sem_close): Likewise.
12528         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
12529         * nptl/sem_init.c (__old_sem_init): Likewise.
12530         * nptl/sigaction.c (__sigaction): Likewise.
12531         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
12532         * posix/_exit.c (_exit): Likewise.
12533         * posix/alarm.c (alarm): Likewise.
12534         * posix/confstr.c (confstr): Likewise.
12535         * posix/fpathconf.c (__fpathconf): Likewise.
12536         * posix/getgroups.c (__getgroups): Likewise.
12537         * posix/getpgid.c (__getpgid): Likewise.
12538         * posix/group_member.c (__group_member): Likewise.
12539         * posix/pathconf.c (__pathconf): Likewise.
12540         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
12541         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
12542         * posix/setgid.c (__setgid): Likewise.
12543         * posix/setpgid.c (__setpgid): Likewise.
12544         * posix/setuid.c (__setuid): Likewise.
12545         * posix/sleep.c (__sleep): Likewise.
12546         * posix/sysconf.c (__sysconf): Likewise.
12547         * posix/times.c (__times): Likewise.
12548         * posix/uname.c (__uname): Likewise.
12549         * posix/waitid.c (__waitid): Likewise.
12550         * pwd/getpw.c (__getpw): Likewise.
12551         * resolv/base64.c (b64_pton): Likewise.
12552         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
12553         * resolv/gethnamaddr.c (Dprintf): Likewise.
12554         (gethostbyname): Likewise.
12555         (gethostbyname2): Likewise.
12556         (gethostbyaddr): Likewise.
12557         (_sethtent): Likewise.
12558         (_gethtbyname): Likewise.
12559         (_gethtbyname2): Likewise.
12560         (_gethtbyaddr): Likewise.
12561         (map_v4v6_address): Likewise.
12562         (map_v4v6_hostent): Likewise.
12563         (addrsort): Likewise.
12564         (ht_sethostent): Likewise.
12565         (ht_gethostbyname): Likewise.
12566         (ht_gethostbyaddr): Likewise.
12567         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
12568         (inet_net_ntop_ipv4): Likewise.
12569         * resolv/inet_neta.c (inet_neta): Likewise.
12570         * resolv/inet_ntop.c (inet_ntop): Likewise.
12571         (inet_ntop4): Likewise.
12572         (inet_ntop6): Likewise.
12573         * resolv/inet_pton.c (__inet_pton): Likewise.
12574         (inet_pton4): Likewise.
12575         (inet_pton6): Likewise.
12576         * resolv/res_debug.c (loc_aton): Likewise.
12577         (loc_ntoa): Likewise.
12578         * resource/getpriority.c (__getpriority): Likewise.
12579         * resource/getrusage.c (__getrusage): Likewise.
12580         * resource/nice.c (nice): Likewise.
12581         * resource/setpriority.c (__setpriority): Likewise.
12582         * resource/setrlimit64.c (setrlimit64): Likewise.
12583         * resource/vlimit.c (vlimit): Likewise.
12584         * resource/vtimes.c (vtimes): Likewise.
12585         * rt/aio_error.c (aio_error): Likewise.
12586         * rt/aio_return.c (aio_return): Likewise.
12587         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
12588         * signal/kill.c (__kill): Likewise.
12589         * signal/killpg.c (killpg): Likewise.
12590         * signal/raise.c (raise): Likewise.
12591         * signal/sigaction.c (__sigaction): Likewise.
12592         * signal/sigaddset.c (sigaddset): Likewise.
12593         * signal/sigaltstack.c (sigaltstack): Likewise.
12594         * signal/sigandset.c (sigandset): Likewise.
12595         * signal/sigblock.c (__sigblock): Likewise.
12596         * signal/sigdelset.c (sigdelset): Likewise.
12597         * signal/sigempty.c (sigemptyset): Likewise.
12598         * signal/sigfillset.c (sigfillset): Likewise.
12599         * signal/sighold.c (sighold): Likewise.
12600         * signal/sigignore.c (sigignore): Likewise.
12601         * signal/sigintr.c (siginterrupt): Likewise.
12602         * signal/sigisempty.c (sigisemptyset): Likewise.
12603         * signal/sigismem.c (sigismember): Likewise.
12604         * signal/signal.c (signal): Likewise.
12605         * signal/sigorset.c (sigorset): Likewise.
12606         * signal/sigpause.c (__sigpause): Likewise.
12607         * signal/sigpending.c (sigpending): Likewise.
12608         * signal/sigprocmask.c (__sigprocmask): Likewise.
12609         * signal/sigrelse.c (sigrelse): Likewise.
12610         * signal/sigreturn.c (__sigreturn): Likewise.
12611         * signal/sigset.c (sigset): Likewise.
12612         * signal/sigsetmask.c (__sigsetmask): Likewise.
12613         * signal/sigstack.c (sigstack): Likewise.
12614         * signal/sigsuspend.c (__sigsuspend): Likewise.
12615         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
12616         * signal/sysv_signal.c (__sysv_signal): Likewise.
12617         * socket/accept.c (accept): Likewise.
12618         * socket/accept4.c (__libc_accept4): Likewise.
12619         * socket/bind.c (__bind): Likewise.
12620         * socket/connect.c (__connect): Likewise.
12621         * socket/getpeername.c (getpeername): Likewise.
12622         * socket/getsockname.c (__getsockname): Likewise.
12623         * socket/getsockopt.c (getsockopt): Likewise.
12624         * socket/listen.c (__listen): Likewise.
12625         * socket/recv.c (__recv): Likewise.
12626         * socket/recvmsg.c (__recvmsg): Likewise.
12627         * socket/send.c (__send): Likewise.
12628         * socket/sendmsg.c (__sendmsg): Likewise.
12629         * socket/shutdown.c (shutdown): Likewise.
12630         * socket/sockatmark.c (sockatmark): Likewise.
12631         * socket/socket.c (__socket): Likewise.
12632         * stdio-common/ctermid.c (ctermid): Likewise.
12633         * stdio-common/cuserid.c (cuserid): Likewise.
12634         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
12635         * stdio-common/remove.c (remove): Likewise.
12636         * stdio-common/rename.c (rename): Likewise.
12637         * stdio-common/renameat.c (renameat): Likewise.
12638         * stdio-common/tempname.c (__gen_tempname): Likewise.
12639         * stdio-common/xbug.c (InitBuffer): Likewise.
12640         (AppendToBuffer): Likewise.
12641         (ReadFile): Likewise.
12642         * stdlib/a64l.c (a64l): Likewise.
12643         * stdlib/drand48_r.c (drand48_r): Likewise.
12644         * stdlib/getcontext.c (getcontext): Likewise.
12645         * stdlib/getenv.c (getenv): Likewise.
12646         * stdlib/l64a.c (l64a): Likewise.
12647         * stdlib/llabs.c (llabs): Likewise.
12648         * stdlib/lldiv.c (lldiv): Likewise.
12649         * stdlib/lrand48_r.c (lrand48_r): Likewise.
12650         * stdlib/mrand48_r.c (mrand48_r): Likewise.
12651         * stdlib/putenv.c (putenv): Likewise.
12652         * stdlib/random.c (__srandom): Likewise.
12653         (__initstate): Likewise.
12654         (__setstate): Likewise.
12655         * stdlib/random_r.c (__srandom_r): Likewise.
12656         (__setstate_r): Likewise.
12657         (__random_r): Likewise.
12658         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
12659         * stdlib/setcontext.c (setcontext): Likewise.
12660         * stdlib/setenv.c (setenv): Likewise.
12661         (unsetenv): Likewise.
12662         * stdlib/srand48.c (srand48): Likewise.
12663         * stdlib/srand48_r.c (__srand48_r): Likewise.
12664         * stdlib/swapcontext.c (swapcontext): Likewise.
12665         * stdlib/system.c (__libc_system): Likewise.
12666         * stdlib/tst-strtod.c (expand): Likewise.
12667         * stdlib/tst-strtol.c (expand): Likewise.
12668         * stdlib/tst-strtoll.c (expand): Likewise.
12669         * streams/fattach.c (fattach): Likewise.
12670         * streams/fdetach.c (fdetach): Likewise.
12671         * streams/getmsg.c (getmsg): Likewise.
12672         * streams/isastream.c (isastream): Likewise.
12673         * string/ffs.c (__ffs): Likewise.
12674         * string/ffsll.c (ffsll): Likewise.
12675         * string/memcmp.c (memcmp_common_alignment): Likewise.
12676         (memcmp_not_common_alignment): Likewise.
12677         (MEMCMP): Likewise.
12678         * string/memcpy.c (memcpy): Likewise.
12679         * string/memmove.c (MEMMOVE): Likewise.
12680         * string/memset.c (memset): Likewise.
12681         * string/rawmemchr.c (RAWMEMCHR): Likewise.
12682         * string/strchrnul.c (STRCHRNUL): Likewise.
12683         * string/strerror.c (strerror): Likewise.
12684         * string/strndup.c (__strndup): Likewise.
12685         * string/strverscmp.c (__strverscmp): Likewise.
12686         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
12687         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
12688         (clnttcp_freeres): Likewise.
12689         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
12690         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
12691         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
12692         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
12693         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
12694         (xdr_callhdr): Likewise.
12695         * sunrpc/rpcinfo.c (udpping): Likewise.
12696         (tcpping): Likewise.
12697         (pstatus): Likewise.
12698         (pmapdump): Likewise.
12699         (brdcst): Likewise.
12700         (deletereg): Likewise.
12701         (getprognum): Likewise.
12702         (getvers): Likewise.
12703         (get_inet_address): Likewise.
12704         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
12705         * sunrpc/svc_udp.c (svcudp_create): Likewise.
12706         (svcudp_stat): Likewise.
12707         (svcudp_recv): Likewise.
12708         (svcudp_reply): Likewise.
12709         (svcudp_getargs): Likewise.
12710         (svcudp_freeargs): Likewise.
12711         (svcudp_destroy): Likewise.
12712         * sunrpc/xdr.c (xdr_bytes): Likewise.
12713         (xdr_netobj): Likewise.
12714         (xdr_string): Likewise.
12715         (xdr_wrapstring): Likewise.
12716         * sunrpc/xdr_float.c (xdr_float): Likewise.
12717         (xdr_double): Likewise.
12718         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
12719         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
12720         * sysvipc/ftok.c (ftok): Likewise.
12721         * sysvipc/msgctl.c (msgctl): Likewise.
12722         * sysvipc/msgget.c (msgget): Likewise.
12723         * sysvipc/msgrcv.c (msgrcv): Likewise.
12724         * sysvipc/msgsnd.c (msgsnd): Likewise.
12725         * sysvipc/semget.c (semget): Likewise.
12726         * sysvipc/semop.c (semop): Likewise.
12727         * sysvipc/shmat.c (shmat): Likewise.
12728         * sysvipc/shmctl.c (shmctl): Likewise.
12729         * sysvipc/shmdt.c (shmdt): Likewise.
12730         * sysvipc/shmget.c (shmget): Likewise.
12731         * termios/cfmakeraw.c (cfmakeraw): Likewise.
12732         * termios/speed.c (cfgetospeed): Likewise.
12733         (cfgetispeed): Likewise.
12734         (cfsetospeed): Likewise.
12735         (cfsetispeed): Likewise.
12736         * termios/tcflow.c (tcflow): Likewise.
12737         * termios/tcflush.c (tcflush): Likewise.
12738         * termios/tcgetattr.c (__tcgetattr): Likewise.
12739         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
12740         * termios/tcgetsid.c (tcgetsid): Likewise.
12741         * termios/tcsendbrk.c (tcsendbreak): Likewise.
12742         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
12743         * time/adjtime.c (__adjtime): Likewise.
12744         * time/dysize.c (dysize): Likewise.
12745         * time/ftime.c (ftime): Likewise.
12746         * time/getitimer.c (__getitimer): Likewise.
12747         * time/gettimeofday.c (__gettimeofday): Likewise.
12748         * time/gmtime.c (__gmtime_r): Likewise.
12749         (gmtime): Likewise.
12750         * time/localtime.c (__localtime_r): Likewise.
12751         (localtime): Likewise.
12752         * time/offtime.c (__offtime): Likewise.
12753         * time/settimeofday.c (__settimeofday): Likewise.
12754         * time/stime.c (stime): Likewise.
12755         * time/strftime_l.c (tm_diff): Likewise.
12756         (iso_week_days): Likewise.
12757         * time/strptime.c (strptime): Likewise.
12758         * time/time.c (time): Likewise.
12759         * time/timespec_get.c (timespec_get): Likewise.
12760         * time/tzset.c (tzset_internal): Likewise.
12761         (compute_change): Likewise.
12762         (__tz_compute): Likewise.
12763         * wcsmbs/btowc.c (__btowc): Likewise.
12764         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
12765         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
12766         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
12767         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
12768         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
12769         * wcsmbs/wcscat.c (__wcscat): Likewise.
12770         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
12771         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
12772         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
12773         * wcsmbs/wcscspn.c (wcscspn): Likewise.
12774         * wcsmbs/wcsdup.c (wcsdup): Likewise.
12775         * wcsmbs/wcslen.c (__wcslen): Likewise.
12776         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
12777         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
12778         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
12779         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
12780         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
12781         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
12782         * wcsmbs/wcsspn.c (wcsspn): Likewise.
12783         * wcsmbs/wcsstr.c (wcsstr): Likewise.
12784         * wcsmbs/wcstok.c (wcstok): Likewise.
12785         * wcsmbs/wctob.c (wctob): Likewise.
12786         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
12787         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
12788         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
12789         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
12790         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
12791         * wcsmbs/wmemset.c (__wmemset): Likewise.
12792         * wctype/wcfuncs.c (__towlower): Likewise.
12793         (__towupper): Likewise.
12795         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
12796         (lll_unlock_elision): Add adapt_count parameter.
12798 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
12800         * sysdeps/nptl/configure.ac: Do not give errors based on the
12801         results of top-level configure tests.
12802         * sysdeps/nptl/configure: Regenerated.
12804         * configure.ac (libc_cv_Bgroup): Remove configure test.
12805         * configure: Regenerated.
12806         * config.make.in (have-Bgroup): Remove variable.
12808         * configure.ac (sizeof_long_double): Remove configure test.
12809         * configure: Regenerated.
12810         * config.make.in (sizeof-long-double): Remove variable.
12812         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
12813         * configure: Regenerated.
12814         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
12815         variable.
12816         (exceptions): Likewise.
12817         * sysdeps/arm/configure: Regenerated.
12818         * config.make.in (exceptions): Remove variable.
12819         * Makeconfig (uses-callbacks): Use -fexceptions instead of
12820         $(exceptions).
12821         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
12822         (CFLAGS-vdprintf_chk.c): Likewise.
12823         (CFLAGS-printf_chk.c): Likewise.
12824         (CFLAGS-fprintf_chk.c): Likewise.
12825         (CFLAGS-vprintf_chk.c): Likewise.
12826         (CFLAGS-vfprintf_chk.c): Likewise.
12827         (CFLAGS-gets_chk.c): Likewise.
12828         (CFLAGS-fgets_chk.c): Likewise.
12829         (CFLAGS-fgets_u_chk.c): Likewise.
12830         (CFLAGS-fread_chk.c): Likewise.
12831         (CFLAGS-fread_u_chk.c): Likewise.
12832         (CFLAGS-wprintf_chk.c): Likewise.
12833         (CFLAGS-fwprintf_chk.c): Likewise.
12834         (CFLAGS-vwprintf_chk.c): Likewise.
12835         (CFLAGS-vfwprintf_chk.c): Likewise.
12836         (CFLAGS-fgetws_chk.c): Likewise.
12837         (CFLAGS-fgetws_u_chk.c): Likewise.
12838         * libio/Makefile (CFLAGS-fileops.c): Likewise.
12839         (CFLAGS-fputc.c): Likewise.
12840         (CFLAGS-fputwc.c): Likewise.
12841         (CFLAGS-freopen64.c): Likewise.
12842         (CFLAGS-freopen.c): Likewise.
12843         (CFLAGS-fseek.c): Likewise.
12844         (CFLAGS-fseeko64.c): Likewise.
12845         (CFLAGS-fseeko.c): Likewise.
12846         (CFLAGS-ftello64.c): Likewise.
12847         (CFLAGS-ftello.c): Likewise.
12848         (CFLAGS-fwide.c): Likewise.
12849         (CFLAGS-genops.c): Likewise.
12850         (CFLAGS-getc.c): Likewise.
12851         (CFLAGS-getchar.c): Likewise.
12852         (CFLAGS-getwc.c): Likewise.
12853         (CFLAGS-getwchar.c): Likewise.
12854         (CFLAGS-iofclose.c): Likewise.
12855         (CFLAGS-iofflush.c): Likewise.
12856         (CFLAGS-iofgetpos64.c): Likewise.
12857         (CFLAGS-iofgetpos.c): Likewise.
12858         (CFLAGS-iofgets.c): Likewise.
12859         (CFLAGS-iofgetws.c): Likewise.
12860         (CFLAGS-iofputs.c): Likewise.
12861         (CFLAGS-iofputws.c): Likewise.
12862         (CFLAGS-iofread.c): Likewise.
12863         (CFLAGS-iofsetpos64.c): Likewise.
12864         (CFLAGS-iofsetpos.c): Likewise.
12865         (CFLAGS-ioftell.c): Likewise.
12866         (CFLAGS-iofwrite.c): Likewise.
12867         (CFLAGS-iogetdelim.c): Likewise.
12868         (CFLAGS-iogetline.c): Likewise.
12869         (CFLAGS-iogets.c): Likewise.
12870         (CFLAGS-iogetwline.c): Likewise.
12871         (CFLAGS-ioputs.c): Likewise.
12872         (CFLAGS-ioseekoff.c): Likewise.
12873         (CFLAGS-ioseekpos.c): Likewise.
12874         (CFLAGS-iosetbuffer.c): Likewise.
12875         (CFLAGS-iosetvbuf.c): Likewise.
12876         (CFLAGS-ioungetc.c): Likewise.
12877         (CFLAGS-ioungetwc.c): Likewise.
12878         (CFLAGS-oldfileops.c): Likewise.
12879         (CFLAGS-oldiofclose.c): Likewise.
12880         (CFLAGS-oldiofgetpos64.c): Likewise.
12881         (CFLAGS-oldiofgetpos.c): Likewise.
12882         (CFLAGS-oldiofsetpos64.c): Likewise.
12883         (CFLAGS-oldiofsetpos.c): Likewise.
12884         (CFLAGS-peekc.c): Likewise.
12885         (CFLAGS-putc.c): Likewise.
12886         (CFLAGS-putchar.c): Likewise.
12887         (CFLAGS-putwc.c): Likewise.
12888         (CFLAGS-putwchar.c): Likewise.
12889         (CFLAGS-rewind.c): Likewise.
12890         (CFLAGS-wfileops.c): Likewise.
12891         (CFLAGS-wgenops.c): Likewise.
12892         (CFLAGS-oldiofopen.c): Likewise.
12893         (CFLAGS-iofopen.c): Likewise.
12894         (CFLAGS-iofopen64.c): Likewise.
12895         (CFLAGS-oldtmpfile.c): Likewise.
12896         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
12897         (CFLAGS-fprintf.c): Likewise.
12898         (CFLAGS-printf.c): Likewise.
12899         (CFLAGS-vfwprintf.c): Likewise.
12900         (CFLAGS-vfscanf.c): Likewise.
12901         (CFLAGS-vfwscanf.c): Likewise.
12902         (CFLAGS-fscanf.c): Likewise.
12903         (CFLAGS-scanf.c): Likewise.
12904         (CFLAGS-isoc99_vfscanf.c): Likewise.
12905         (CFLAGS-isoc99_vscanf.c): Likewise.
12906         (CFLAGS-isoc99_fscanf.c): Likewise.
12907         (CFLAGS-isoc99_scanf.c): Likewise.
12908         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
12909         (CFLAGS-isoc99_fwscanf.c): Likewise.
12910         (CFLAGS-isoc99_vwscanf.c): Likewise.
12911         (CFLAGS-isoc99_vfwscanf.c): Likewise.
12913         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
12914         after mkstemp64.
12915         * login/tst-utmp.c (do_prepare): Likewise.
12916         * rt/tst-aio.c (do_prepare): Likewise.
12917         * rt/tst-aio64.c (do_prepare): Likewise.
12919 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12921         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
12922         (__lll_lock_elision): Remove adapt_count decrement...
12923         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
12924         (__lll_trylock_elision): Likewise.
12925         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
12926         (__lll_unlock_elision): ... to here. And utilize
12927         new adapt_count parameter.
12928         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
12929         (__lll_unlock_elision): Update to include adapt_count
12930         parameter.
12931         (lll_unlock_elision): Pass pointer to adapt_count
12932         variable.
12934 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12936         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
12937         Add elision adapt_count parameter to list of arguments.
12938         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
12939         (lll_unlock_elision): Update with new parameter list
12940         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
12941         (lll_unlock_elision): Likewise.
12942         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
12943         (lll_unlock_elision): Likewise.
12945 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
12947         [BZ #19122]
12948         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
12949         attribute_hidden.
12951         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
12952         attribute_hidden.
12953         [IS_IN (rtld)] (__strdup): Likewise.
12954         [IS_IN (rtld)] (__strerror_r): Likewise.
12955         [IS_IN (rtld)] (__strsep_g): Likewise.
12956         [IS_IN (rtld)] (memchr): Likewise.
12957         [IS_IN (rtld)] (memcmp): Likewise.
12958         [IS_IN (rtld)] (memcpy): Likewise.
12959         [IS_IN (rtld)] (memmove): Likewise.
12960         [IS_IN (rtld)] (memset): Likewise.
12961         [IS_IN (rtld)] (rawmemchr): Likewise.
12962         [IS_IN (rtld)] (stpcpy): Likewise.
12963         [IS_IN (rtld)] (strchr): Likewise.
12964         [IS_IN (rtld)] (strcmp): Likewise.
12965         [IS_IN (rtld)] (strlen): Likewise.
12966         [IS_IN (rtld)] (strnlen): Likewise.
12967         [IS_IN (rtld)] (strsep): Likewise.
12969         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
12970         attribute_hidden.
12971         [IS_IN (rtld)] (__strtoul_internal): Likewise.
12973         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
12974         attribute_hidden.
12975         [IS_IN (rtld)] (__libc_sigaction): Likewise.
12977         * include/setjmp.h (__longjmp): Add attribute_hidden.
12978         [IS_IN (rtld)] (__sigsetjmp): Likewise.
12980         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
12981         Add attribute_hidden.
12983         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
12984         [IS_IN (rtld)] (__open): Likewise.
12985         [IS_IN (rtld)] (__fcntl): Likewise.
12987         * include/dirent.h (__opendirat): Add attribute_hidden.
12988         (__getdents): Likewise.
12989         (__getdents64): Likewise.
12990         (__alloc_dir): Likewise.
12991         [IS_IN (rtld)] (__closedir): Likewise.
12992         [IS_IN (rtld)] (__fdopendir): Likewise.
12993         [IS_IN (rtld)] (__readdir): Likewise.
12994         [IS_IN (rtld)] (__readdir64): Likewise.
12995         [IS_IN (rtld)] (__rewinddir): Likewise.
12997         * include/dlfcn.h (_dl_catch_error): Moved to ...
12998         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
12999         attribute_hidden.
13001         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
13002         (_itoa_word): Likewise.
13004         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
13005         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
13006         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
13007         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
13008         (_dl_higher_prime_number): Likewise.
13009         (_dl_debug_printf_c): Likewise.
13010         (_dl_signal_cerror): Likewise.
13011         (_dl_receive_error): Likewise.
13012         (_dl_reloc_bad_type): Likewise.
13013         (_dl_resolve_conflicts): Likewise.
13014         (_dl_check_all_versions): Likewise.
13015         (_dl_check_map_versions): Likewise.
13016         (_dl_sort_fini): Likewise.
13017         (_dl_debug_initialize): Likewise.
13018         (_dl_init_paths): Likewise.
13019         (_dl_show_auxv): Likewise.
13020         (_dl_next_ld_env_entry): Likewise.
13021         (_dl_important_hwcaps): Likewise.
13022         (_dl_load_cache_lookup): Likewise.
13023         (_dl_update_slotinfo): Likewise.
13024         (_dl_show_scope): Likewise.
13026         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
13027         attribute_hidden.
13028         (_wordcopy_fwd_dest_aligned): Likewise.
13029         (_wordcopy_bwd_aligned): Likewise.
13030         (_wordcopy_bwd_dest_aligned): Likewise.
13032         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
13033         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
13034         Likewise.
13035         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
13036         Likewise.
13037         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
13039 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
13041         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
13042         GCC 5 requirement.
13044 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
13046         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
13047         test.
13048         * sysdeps/i386/configure: Regenerated.
13049         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
13050         code unconditional.
13052         * configure.ac (libc_cv_asm_previous_directive): Remove configure
13053         test.
13054         (libc_cv_asm_popsection_directive): Likewise.
13055         * configure: Regenerated.
13056         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
13057         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
13058         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
13059         (__make_section_unallocated): Make definition unconditional.
13060         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
13061         Remove conditional definition.
13062         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
13063         (__make_section_unallocated): Likewise.
13065         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
13066         * configure: Regenerated.
13067         * config.make.in (static-libgcc): Remove variable.
13068         * Makerules (build-shlib-helper): Use -static-libgcc instead of
13069         $(static-libgcc).
13070         (build-module-helper): Likewise.
13072         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
13073         * configure: Regenerated.
13075 2015-10-15  Florian Weimer  <fweimer@redhat.com>
13077         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
13078         (struct char_buffer): New type.
13079         (char_buffer_start, char_buffer_size, char_buffer_error)
13080         (char_buffer_rewind, char_buffer_add): New functions.
13081         (ADDW): Remove macro, replaced by the char_buffer_add function.
13082         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
13083         of extend_alloca.  Make control flow more explicit.
13085 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
13087         [BZ #19137]
13088         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
13089         Add -fomit-frame-pointer.
13090         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
13092 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
13094         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
13095         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
13096         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
13097         only if !__GNUC_PREREQ (5,0).
13098         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
13099         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
13100         (INTERNAL_SYSCALL_NCS): Likewise.
13101         (LOADREGS_0): New macro for GCC 5.
13102         (ASMARGS_0): Likewise.
13103         (LOADREGS_1): Likewise.
13104         (ASMARGS_1): Likewise.
13105         (LOADREGS_2): Likewise.
13106         (ASMARGS_2): Likewise.
13107         (LOADREGS_3): Likewise.
13108         (ASMARGS_3): Likewise.
13109         (LOADREGS_4): Likewise.
13110         (ASMARGS_4): Likewise.
13111         (LOADREGS_5): Likewise.
13112         (ASMARGS_5): Likewise.
13113         (LOADREGS_6): Likewise.
13114         (ASMARGS_6): Likewise.
13116 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
13118         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
13119         -fomit-frame-pointer.
13120         (CFLAGS-mmap64.c): Likewise.
13121         (CFLAGS-semtimedop.c): Likewise.
13122         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
13123         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
13124         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
13125         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
13127 2015-10-15  Florian Weimer  <fweimer@redhat.com>
13129         [BZ #18928]
13130         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
13131         _dl_pointer_guard member.
13132         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
13133         initializer.
13134         (security_init): Always set up pointer guard.
13135         (process_envvars): Do not process LD_POINTER_GUARD.
13137 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
13139         [BZ #19134]
13140         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
13141         (.LC2): Likewise.
13142         (.LC3): Likewise.
13143         (__lround): Do not add 0.5 to integer or out-of-range arguments.
13145 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13147         [BZ #19129]
13148         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
13149         r0 and r1.
13151 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
13153         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
13155 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
13157         * include/stap-probe.h: Fix macro definition formatting.
13159 2015-10-14  Florian Weimer  <fweimer@redhat.com>
13161         [BZ #19074]
13162         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
13163         load and store num_ifs.
13165 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
13167         [BZ #18822]
13168         * sysdeps/unix/sysv/linux/sched_getaffinity.c
13169         (__sched_getaffinity_new): Add libc_hidden_proto and
13170         libc_hidden_def.
13172 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
13174         [BZ #19007]
13175         * scripts/localplt.awk: Also allow GOT references.
13176         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
13177         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
13178         with "+ REL R_386_GLOB_DAT".
13179         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
13180         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
13182 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
13184         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
13185         INLINE_SYSCALL_ERROR_RETURN_VALUE.
13186         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
13187         Likewise.
13188         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
13189         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
13190         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
13191         INTERNAL_SYSCALLINTERNAL_SYSCALL and
13192         INLINE_SYSCALL_ERROR_RETURN_VALUE.
13193         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
13194         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
13195         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
13196         Likewise.
13197         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
13199 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
13201         [BZ #19125]
13202         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
13203         <math_private.h> and <stdint.h>.
13204         (__llround): Avoid conversions to and from long long int, and
13205         subtractions, where those might raise spurious exceptions.
13206         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
13207         <math_private.h> and <stdint.h>.
13208         (__llroundf): Avoid conversions to and from long long int, and
13209         subtractions, where those might raise spurious exceptions.
13211 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
13213         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
13214         INLINE_SYSCALL_ERROR_RETURN_VALUE.
13215         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
13216         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
13217         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
13218         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
13219         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
13220         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
13221         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
13222         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
13223         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
13224         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
13225         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
13226         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
13227         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
13228         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
13229         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
13230         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
13231         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
13232         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
13233         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
13234         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
13235         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
13236         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
13237         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
13238         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
13239         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
13240         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
13241         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
13242         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
13243         (__xstat64_conv): Likewise.
13244         (__xstat32_conv): Likewise.
13246 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
13248         * sysdeps/unix/sysv/linux/sysdep.h: New file.
13249         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
13250         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
13251         <sysdeps/unix/sysv/linux/sysdep.h>.
13252         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
13253         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
13254         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
13255         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
13256         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
13257         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
13258         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
13259         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
13260         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
13261         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
13262         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13263         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13264         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13265         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
13266         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
13267         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13268         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
13269         (sysdep-dl-routines): Add sysdep.
13270         [$(subdir) == nptl] (libpthread-routines): Likewise.
13271         [$(subdir) == rt] (librt-routines): Likewise.
13272         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
13273         PIC when branching to SYSCALL_ERROR_LABEL.
13274         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
13275         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
13276         <sysdeps/unix/sysv/linux/sysdep.h>.
13277         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
13278         (SYSCALL_ERROR_ERRNO): Removed.
13279         (SYSCALL_ERROR_HANDLER): Changed to empty.
13280         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
13281         (__syscall_error): New prototype.
13282         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
13283         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
13285 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
13287         [BZ #19124]
13288         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
13289         (_dl_runtime_resolve_avx512): Make it a hidden alias of
13290         _dl_runtime_resolve_avx.
13291         (_dl_runtime_profile_avx512): Make it a hidden alias of
13292         _dl_runtime_profile_avx.
13294 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
13296         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
13297         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
13298         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
13299         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
13301         [BZ #16422]
13302         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
13303         New configure test.
13304         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
13305         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
13306         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
13307         <math_private.h> and <stdint.h>.
13308         (__llrint): Avoid conversions to long long int where those might
13309         raise spurious exceptions.
13310         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
13311         <math_private.h> and <stdint.h>.
13312         (__llrintf): Avoid conversions to long long int where those might
13313         raise spurious exceptions.
13315 2015-10-12  Andreas Schwab  <schwab@suse.de>
13317         [BZ #18969]
13318         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
13319         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
13320         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
13321         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
13322         $(gen-locales).
13323         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
13324         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
13325         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
13326         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
13327         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
13328         $(gen-locales).
13329         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
13330         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
13331         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
13332         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
13333         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
13334         ($(objpfx)tst-ftell-active-handler.out)
13335         ($(objpfx)tst-ftell-append.out)
13336         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
13337         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
13338         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
13339         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
13340         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
13341         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
13342         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
13343         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
13344         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
13345         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
13346         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
13347         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
13348         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
13349         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
13350         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
13351         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
13352         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
13353         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
13354         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
13355         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
13356         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
13357         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
13358         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
13359         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
13360         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
13361         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
13362         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
13363         $(gen-locales).
13364         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
13365         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
13366         $(gen-locales).
13367         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
13368         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
13369         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
13370         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
13371         $(gen-locales).
13372         * libio/tst_wprintf2.c (main): Use explicit locale.
13373         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
13375 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13377         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
13378         __msg_sig_post.
13379         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
13381 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
13383         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
13384         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13386         * sysdeps/arm/libm-test-ulps: Regenerated.
13388         [BZ #15470]
13389         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
13391         [BZ #16399]
13392         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
13393         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
13394         and <fix-fp-int-convert-overflow.h>.
13395         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
13396         FIX_DBL_LLONG_CONVERT_OVERFLOW.
13397         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
13398         and <fix-fp-int-convert-overflow.h>.
13399         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
13400         FIX_DBL_LLONG_CONVERT_OVERFLOW.
13401         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
13402         <fix-fp-int-convert-overflow.h>.
13403         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
13404         FIX_DBL_LLONG_CONVERT_OVERFLOW.
13405         * sysdeps/ieee754/dbl-64/s_lround.c: Include
13406         <fix-fp-int-convert-overflow.h>.
13407         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
13408         FIX_DBL_LLONG_CONVERT_OVERFLOW.
13409         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
13410         and <fix-fp-int-convert-overflow.h>.
13411         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
13412         FIX_DBL_LLONG_CONVERT_OVERFLOW.
13413         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
13414         <limits.h> and <fix-fp-int-convert-overflow.h>.
13415         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
13416         FIX_DBL_LLONG_CONVERT_OVERFLOW.
13417         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
13418         and <fix-fp-int-convert-overflow.h>.
13419         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
13420         FIX_DBL_LLONG_CONVERT_OVERFLOW.
13421         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
13422         and <fix-fp-int-convert-overflow.h>.
13423         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
13424         FIX_DBL_LLONG_CONVERT_OVERFLOW.
13425         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
13427 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
13429         [BZ #18589]
13430         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
13431         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
13432         $(gen-locales).
13434 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13435             Phil Blundell <pb@pbcl.net>
13437         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
13438         * nptl/tst-cancel26.c: New file.
13439         * nptl/tst-cancel27.c: Likewise.
13441 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
13443         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
13444         __ILP32__ isn't defined.
13445         (lrint): Likewise.
13446         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
13447         (lrintf): Likewise.
13448         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
13449         (lrintl): Likewise.
13450         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
13451         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
13452         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
13454 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13456         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
13457         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
13459         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
13460         file.
13461         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
13462         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
13464 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
13466         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
13467         configure test.
13468         * sysdeps/i386/configure: Regenerated.
13469         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
13470         configure test.
13471         * sysdeps/x86_64/configure: Regenerated.
13472         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
13473         Make code unconditional.
13475         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
13476         test.
13477         * sysdeps/i386/configure: Regenerated.
13478         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
13479         test.
13480         * sysdeps/x86_64/configure: Regenerated.
13481         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
13482         Make code unconditional.
13483         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
13484         Likewise.
13485         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
13486         Likewise.
13487         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
13488         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
13489         code unconditional.
13490         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
13491         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
13492         code unconditional.
13493         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
13494         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
13495         code unconditional.
13496         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
13497         code unconditional.
13498         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
13499         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
13500         code unconditional.
13501         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
13502         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
13503         code unconditional.
13504         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
13505         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
13506         code unconditional.
13507         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
13508         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
13509         code unconditional.
13510         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
13511         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
13513         [BZ #19095]
13514         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
13515         mantissa to long int before shifting left.
13517 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
13519         [BZ #19094]
13520         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
13521         <limits.h>.
13522         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
13523         when result overflows but exception would not result from cast.
13524         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
13525         <limits.h>.
13526         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
13527         when result overflows but exception would not result from cast.
13528         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
13529         <limits.h>.
13530         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
13531         when result overflows but exception would not result from cast.
13532         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
13533         <limits.h>.
13534         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
13535         when result overflows but exception would not result from cast.
13536         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
13537         <limits.h>.
13538         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
13539         when result overflows but exception would not result from cast.
13540         * math/libm-test.inc (lrint_test_data): Add more tests.
13541         (llrint_test_data): Likewise.
13543 2015-10-08  Roland McGrath  <roland@hack.frob.com>
13545         [BZ #18872]
13546         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
13547         Move out from under [$(run-built-tests) = yes] conditional.
13548         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
13549         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
13551 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
13553         [BZ #18589]
13554         * string/Makefile (tests): Add bug-strcoll2.
13555         (LOCALES): Add cs_CZ.UTF-8.
13556         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
13558         [BZ #18589]
13559         * string/bug-strcoll2.c: New file.
13560         * locale/categories.def: Revert commit
13561         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
13562         * locale/langinfo.h: Likewise.
13563         * locale/localeinfo.h: Likewise.
13564         * locale/C-collate.c: Likewise.
13565         * locale/programs/ld-collate.c (collate_output): Likewise.
13566         * string/strcoll_l.c (STRDIFF): Likewise.
13567         (STRCOLL): Likewise.
13568         * wcsmbs/wcscoll_l.c: Likewise.
13570 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
13572         * math/libm-test.inc (lround_test_data): Do not expect the absence
13573         of "inexact" for some tests with non-integer arguments.
13574         (llround_test_data): Likewise.
13576         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
13577         test.
13578         (libc_cv_cc_sse2avx): Likewise.
13579         * sysdeps/i386/configure: Regenerated.
13580         * sysdeps/i386/i686/multiarch/Makefile
13581         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
13582         [$(subdir) = math].
13583         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
13584         code unconditional.
13585         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
13586         Likewise.
13587         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
13588         Likewise.
13589         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
13590         Likewise.
13591         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
13592         test.
13593         (libc_cv_cc_sse2avx): Likewise.
13594         * sysdeps/x86_64/configure: Regenerated.
13595         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
13596         unconditional.
13597         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
13598         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
13599         unconditional.
13600         (_dl_runtime_profile)
13601         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
13602         conditional code.
13603         * sysdeps/x86_64/fpu/multiarch/Makefile
13604         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
13605         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
13606         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
13607         * sysdeps/x86_64/fpu/multiarch/e_exp.c
13608         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
13609         * sysdeps/x86_64/fpu/multiarch/e_log.c
13610         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
13611         * sysdeps/x86_64/fpu/multiarch/s_atan.c
13612         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
13613         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
13614         Likewise.
13615         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
13616         Likewise.
13617         * sysdeps/x86_64/fpu/multiarch/s_sin.c
13618         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
13619         * sysdeps/x86_64/fpu/multiarch/s_tan.c
13620         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
13621         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
13622         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
13623         (HAVE_SSE2AVX_SUPPORT): Likewise.
13625 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
13627         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
13628         instead of #pragma optimize.
13630 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
13632         [BZ #17195]
13633         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
13634         as is similarly done in systrim and _int_free already.
13636 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13638         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
13640 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
13642         [BZ #19088]
13643         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
13644         <limits.h>.
13645         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
13646         overflows but exception would not result from cast.
13647         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
13648         and <limits.h>.
13649         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
13650         overflows but exception would not result from cast.
13651         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
13652         <limits.h>.
13653         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
13654         overflows but exception would not result from cast.
13655         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
13656         <limits.h>.
13657         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
13658         overflows but exception would not result from cast.
13659         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
13660         <limits.h>.
13661         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
13662         overflows but exception would not result from cast.
13663         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
13664         <limits.h>.
13665         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
13666         overflows but exception would not result from cast.
13667         * math/libm-test.inc (lround_test_data): Add more tests.
13668         (llround_test_data): Likewise.
13670 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
13672         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
13673         (CFLAGS-ialloc.c): Ditto.
13674         (CFLAGS-scheck.c): Ditto.
13676 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
13678         [BZ #19086]
13679         * manual/filesys.texi (Storage Allocation): Fix argument order for
13680         posix_fallocate64.
13682 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
13684         [BZ #19085]
13685         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
13686         exponent below 48 inside case for non-overflowing exponent.
13687         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
13689 2015-10-07  Florian Weimer  <fweimer@redhat.com>
13691         * iconvdata/cp737.h (from_idx): Add const.
13692         * iconvdata/cp775.h (from_idx): Likewise.
13694 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
13696         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
13697         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
13698         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
13700         [BZ #19079]
13701         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
13702         file, conditioned on [!_LP64].
13703         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
13704         [!_LP64] (__lround): Do not define as function or alias.
13705         [!_LP64] (lround): Likewise.
13706         [!_LP64] (__lroundl): Likewise.
13707         [!_LP64] (lroundl): Likewise.
13708         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
13709         macro.
13710         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
13711         Likewise.
13713 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
13715         * math/libm-test.inc (lrint_test_data): Add more tests.
13716         (llrint_test_data): Likewise.
13717         (lround_test_data): Likewise.
13718         (llround_test_data): Likewise.
13720         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
13721         (llrint_test_data): Add tests used for lrint.
13723         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
13724         test.
13725         * sysdeps/i386/configure: Regenerated.
13726         * sysdeps/i386/i686/multiarch/Makefile
13727         [$(config-cflags-sse4) = yes]: Make code unconditional.
13728         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
13729         Likewise.
13730         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
13731         Likewise.
13732         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
13733         test.
13734         * sysdeps/x86_64/configure: Regenerated.
13735         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
13736         Make code unconditional.
13737         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
13738         Likewise.
13739         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
13740         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
13742         * scripts/rpm2dynsym.sh: Remove file.
13744 2015-10-06  Florian Weimer  <fweimer@redhat.com>
13746         * configure.ac (libc_cv_cxx_thread_local): Define.
13747         * configure: Regenerate.
13748         * config.make.in (have-cxx-thread_local): Define.
13749         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
13750         (LDLIBS-tst-thread_local1): Define.
13751         (tests): Add tst-thread_local1.
13752         [have-cxx-thread_local != yes] (tests-unsupported): Add
13753         tst-thread_local1.
13754         * nptl/tst-thread_local1.cc: New file.
13756 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
13758         [BZ #19078]
13759         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
13760         (u_thres): Likewise.
13761         (__expl): Determine whether to call __kernel_standard_l based on
13762         value of result, not argument.
13764         * math/libm-test.inc (scalb_test_data): Add more expectations for
13765         the "inexact" exception.
13767         [BZ #19077]
13768         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
13769         0.0L for argument 1.0L.
13771         [BZ #19076]
13772         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
13773         constant 0.0L when computing infinite result.
13775 2015-10-06  Florian Weimer  <fweimer@redhat.com>
13777         [BZ #10432]
13778         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
13779         malloc_usable_size.
13781 2015-10-06  Florian Weimer  <fweimer@redhat.com>
13783         [BZ #19018]
13784         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
13785         Mangle function pointer before storing it.
13786         (__call_tls_dtors): Demangle function pointer before calling it.
13788 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
13790         [BZ #19012]
13791         * iconv/gconv_db.c (gen_steps): Check for additional errors.
13792         Clean up on failure.
13794 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
13796         [BZ #19071]
13797         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
13798         long int variable to store possibly incremented high part of
13799         mantissa.
13800         * math/libm-test.inc (lround_test_data): Add tests used for
13801         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
13802         for tests requiring 64-bit long.  Do not condition tests on
13803         [TEST_FLOAT] unnecessarily.
13804         (llround_test_data): Add tests used for lround.  Add another
13805         expectation for the "inexact" exception.  Do not condition tests
13806         on [TEST_FLOAT] unnecessarily.
13808         [BZ #887]
13809         [BZ #19049]
13810         [BZ #19050]
13811         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
13812         * sysdeps/ieee754/dbl-64/e_log10.c: Include
13813         <fix-int-fp-convert-zero.h>.
13814         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13815         * sysdeps/ieee754/dbl-64/e_log2.c: Include
13816         <fix-int-fp-convert-zero.h>.
13817         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13818         * sysdeps/ieee754/dbl-64/s_erf.c: Include
13819         <fix-int-fp-convert-zero.h>.
13820         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13821         * sysdeps/ieee754/dbl-64/s_logb.c: Include
13822         <fix-int-fp-convert-zero.h>.
13823         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13824         * sysdeps/ieee754/flt-32/e_log10f.c: Include
13825         <fix-int-fp-convert-zero.h>.
13826         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13827         * sysdeps/ieee754/flt-32/e_log2f.c: Include
13828         <fix-int-fp-convert-zero.h>.
13829         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13830         * sysdeps/ieee754/flt-32/s_erff.c: Include
13831         <fix-int-fp-convert-zero.h>.
13832         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13833         * sysdeps/ieee754/flt-32/s_logbf.c: Include
13834         <fix-int-fp-convert-zero.h>.
13835         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13836         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
13837         <fix-int-fp-convert-zero.h>.
13838         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13839         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
13840         <fix-int-fp-convert-zero.h>.
13841         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13842         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
13843         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
13844         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
13845         file.
13846         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
13848 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
13850         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
13852 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
13854         [BZ #19059]
13855         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
13856         overflowing computation.
13857         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
13858         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
13859         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
13860         Likewise.
13861         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
13862         Likewise.
13863         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
13864         Likewise.
13865         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
13866         Likewise.
13867         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
13868         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
13869         Likewise.
13870         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
13871         Likewise.
13872         * math/libm-test.inc (nexttoward_test_data): Add more tests.
13874         * nss/rewrite_field.c (__nss_rewrite_field): Use
13875         internal_function.
13876         * nss/valid_field.c (__nss_valid_field): Likewise.
13877         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
13879 2015-10-02  Florian Weimer  <fweimer@redhat.com>
13881         [BZ #18724]
13882         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
13883         (__nss_invalid_field_characters, __nss_valid_field)
13884         (__nss_valid_list_field, __nss_rewrite_field): Declare.
13885         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
13886         tst-field.c: New file.
13887         * nss/Makefile (routines): Add valid_field, rewrite_field.
13888         (tests-static): Define unconditionally.
13889         (tests): Include tests-static.
13890         [build-static-nss] (tests-static): Use append.
13891         [build-static-nss] (tests): Remove modification.
13892         * nss/getent.c (print_group): Call putgrent.  Report error.
13893         (print_gshadow): Call putsgent.  Report error.
13894         (print_passwd): Call putpwent.  Report error.
13895         (print_shadow): Call putspent.  Report error.
13896         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
13897         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
13898         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
13899         name, password, directory, shell fields for valid syntax.  Rewrite
13900         GECOS field to match syntax.
13901         * pwd/Makefile (tests): Add tst-putpwent.
13902         * pwd/tst-putpwent.c: New file.
13903         * grp/putgrent.c (putgrent): Convert to ISO function definition.
13904         Check grName, grpasswd, gr_mem fields for valid syntax.
13905         Change loop variable i to size_t.
13906         * grp/Makefile (tests): Add tst-putgrent.
13907         * grp/tst-putgrent.c: New file.
13908         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
13909         valid syntax.
13910         * shadow/Makefile (tests): Add tst-putspent.
13911         * shadow/tst-putspent.c: New file.
13912         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
13913         sg_mem fields for valid syntax.
13914         * gshadow/Makefile (tests): Add tst-putsgent.
13915         * gshadow/tst-putsgent.c: New file.
13917 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
13919         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
13920         assembly instructions.
13922 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
13924         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
13925         prefix from operands.
13927 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
13929         [BZ #16347]
13930         [BZ #19046]
13931         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
13932         <libc-internal.h>.
13933         (MAXLGM): Do not use diagnostic control macros.
13934         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
13935         threshold for ldbl-128ibm.
13936         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
13937         instead of multiplying by log then subtracting.
13938         * math/auto-libm-test-in: Add more tests of lgamma.
13939         * math/auto-libm-test-out: Regenerated.
13941         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
13942         (TYPE_HEX_DIG): Likewise.
13943         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
13944         precisions when printing floating-point numbers.
13945         (check_float_internal): Likewise.
13947 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
13949         [BZ #16620]
13950         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
13951         of log (10) rounded downward to 48 bits.
13952         (log10_low): Use corresponding low part of log (10).
13954         [BZ #19032]
13955         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
13956         compute result as (x - x) / (x - x) not as 0 / 0.
13957         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
13958         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
13960         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
13961         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
13962         and expm1.
13963         * math/auto-libm-test-out: Regenerated.
13964         * math/libm-test.inc (acos_test_data): Add more tests.
13965         (asin_test_data): Likewise.
13966         (asinh_test_data): Likewise.
13967         (atan_test_data): Likewise.
13968         (atanh_test_data): Likewise.
13969         (atan2_test_data): Likewise.
13970         (cbrt_test_data): Likewise.
13971         (ceil_test_data): Likewise.
13972         (copysign_test_data): Likewise.
13973         (cos_test_data): Likewise.
13974         (cosh_test_data): Likewise.
13975         (erf_test_data): Likewise.
13976         (erfc_test_data): Likewise.
13977         (exp_test_data): Likewise.
13978         (exp10_test_data): Likewise.
13979         (exp2_test_data): Likewise.
13980         (expm1_test_data): Likewise.
13981         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13983 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
13985         [BZ #19006]
13986         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
13987         to ...
13988         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
13989         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
13990         to ...
13991         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
13992         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
13993         to ...
13994         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
13995         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
13996         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
13997         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
13998         to ...
13999         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
14000         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
14001         Moved to ...
14002         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
14003         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
14004         Moved to ...
14005         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
14006         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
14007         to ...
14008         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
14009         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
14010         Moved to ...
14011         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
14012         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
14013         to ...
14014         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
14015         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
14016         Removed.
14017         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
14018         Likewise.
14019         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
14020         Likewise.
14021         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
14022         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
14023         Likewise.
14024         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
14025         Likewise.
14026         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
14027         Likewise.
14028         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
14029         Likewise.
14030         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
14031         Likewise.
14032         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
14033         Likewise.
14034         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
14035         Likewise.
14036         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
14037         Likewise.
14038         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
14039         Likewise.
14040         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
14041         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
14042         Likewise.
14043         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
14044         Likewise.
14045         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
14046         Likewise.
14047         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
14048         Likewise.
14049         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
14050         Likewise.
14051         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
14052         Replace ../i486/pthread_cond_timedwait.S with
14053         ../pthread_cond_timedwait.S.
14055 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
14057         * math/libm-test.inc (acos_test_data): Refine expectations for
14058         errno and "inexact" exceptions.
14059         (acosh_test_data): Likewise.
14060         (asin_test_data): Likewise.
14061         (asinh_test_data): Likewise.
14062         (atan_test_data): Likewise.
14063         (atanh_test_data): Likewise.
14064         (atan2_test_data): Likewise.
14065         (cbrt_test_data): Likewise.
14066         (ceil_test_data): Likewise.
14067         (copysign_test_data): Likewise.
14068         (cosh_test_data): Likewise.
14069         (erf_test_data): Likewise.
14070         (erfc_test_data): Likewise.
14071         (exp_test_data): Likewise.
14072         (exp10_test_data): Likewise.
14073         (exp2_test_data): Likewise.
14074         (expm1_test_data): Likewise.
14075         (fabs_test_data): Likewise.
14076         (floor_test_data): Likewise.
14077         (fma_test_data): Likewise.
14078         (fmax_test_data): Likewise.
14079         (fmin_test_data): Likewise.
14080         (fmod_test_data): Likewise.
14081         (fpclassify_test_data): Likewise.
14082         (frexp_test_data): Likewise.
14083         (hypot_test_data): Likewise.
14084         (ilogb_test_data): Likewise.
14085         (isgreater_test_data): Likewise.
14086         (isgreaterequal_test_data): Likewise.
14087         (isinf_test_data): Likewise.
14088         (isless_test_data): Likewise.
14089         (islessequal_test_data): Likewise.
14090         (islessgreater_test_data): Likewise.
14091         (isnan_test_data): Likewise.
14092         (isnormal_test_data): Likewise.
14093         (issignaling_test_data): Likewise.
14094         (isunordered_test_data): Likewise.
14095         (j0_test_data): Likewise.
14096         (j1_test_data): Likewise.
14097         (jn_test_data): Likewise.
14098         (lgamma_test_data): Likewise.
14099         (lrint_test_data): Likewise.
14100         (llrint_test_data): Likewise.
14101         (log_test_data): Likewise.
14102         (log10_test_data): Likewise.
14103         (log1p_test_data): Likewise.
14104         (log2_test_data): Likewise.
14105         (logb_test_data): Likewise.
14106         (lround_test_data): Likewise.
14107         (llround_test_data): Likewise.
14108         (modf_test_data): Likewise.
14109         (nearbyint_test_data): Likewise.
14110         (nextafter_test_data): Likewise.
14111         (nexttoward_test_data): Likewise.
14112         (pow_test_data): Likewise.
14113         (remainder_test_data): Likewise.
14114         (remquo_test_data): Likewise.
14115         (rint_test_data): Likewise.
14116         (round_test_data): Likewise.
14117         (signbit_test_data): Likewise.
14118         (sinh_test_data): Likewise.
14119         (sqrt_test_data): Likewise.
14120         (tanh_test_data): Likewise.
14121         (tgamma_test_data): Likewise.
14122         (trunc_test_data): Likewise.
14123         (y0_test_data): Likewise.
14124         (y1_test_data): Likewise.
14125         (yn_test_data): Likewise.
14126         (significand_test_data): Likewise.
14128 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
14130         * manual/filesys.texi (Storage Allocation): Document that
14131         posix_fallocate emulation fails when fd is open with O_WRONLY.
14133 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
14135         [BZ #19016]
14136         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
14137         allow more cases with X^2 + Y^2 >= 0.5.
14138         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
14139         normal element in sum instead of special-casing based on values of
14140         arguments.
14141         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
14142         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
14143         -1 as normal element in sum instead of special-casing based on
14144         values of arguments.
14145         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
14146         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
14147         (__x2y2m1): Update comment.
14148         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
14149         as normal element in sum instead of special-casing based on values
14150         of arguments.
14151         * math/s_clog.c (__clog): Handle more cases using log1p without
14152         hypot.
14153         * math/s_clog10.c (__clog10): Likewise.
14154         * math/s_clog10f.c (__clog10f): Likewise.
14155         * math/s_clog10l.c (__clog10l): Likewise.
14156         * math/s_clogf.c (__clogf): Likewise.
14157         * math/s_clogl.c (__clogl): Likewise.
14158         * math/auto-libm-test-in: Add more tests of clog and clog10.
14159         * math/auto-libm-test-out: Regenerated.
14160         * sysdeps/i386/fpu/libm-test-ulps: Update.
14161         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14163 2015-09-28  Martin Sebor  <msebor@redhat.com>
14165         [BZ #18969]
14166         * string/Makefile (LOCALES): Define.
14167         (gen-locales.mk): Include.
14168         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
14169         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
14170         * string/tst-strxfrm2.c (do_test): Print the name of the locale
14171         on setlocale failure.
14173 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
14175         [BZ #18985]
14176         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
14177         (__strftime_internal): Likewise.
14178         * time/tst-strftime.c (do_bz18985): New test.
14179         (do_test): Call it.
14181 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
14183         [BZ #18956]
14184         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
14185         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
14186         extracting high part.
14187         * math/auto-libm-test-in: Add another test of pow.
14188         * math/auto-libm-test-out: Regenerated.
14189         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14191 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
14193         [BZ #18825]
14194         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
14195         New macro.
14196         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
14197         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
14198         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
14199         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
14200         DBL_NARROW_EVAL, reloading the PIC register as needed.
14201         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
14202         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
14203         FLT_NARROW_EVAL.  Use separate return path for case when first
14204         argument is NaN.
14205         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
14206         DEFINE_LDBL_MIN.
14207         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
14208         PIC register.
14209         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
14210         math_check_force_underflow_nonneg.
14211         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
14212         underflow for subnormal result.
14213         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
14214         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
14215         math_check_force_underflow_nonneg.
14216         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
14217         math_check_force_underflow.
14218         * sysdeps/x86_64/fpu/x86_64-math-asm.h
14219         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
14220         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
14221         DEFINE_LDBL_MIN.
14222         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
14223         * math/auto-libm-test-in: Add more tests of pow.
14224         * math/auto-libm-test-out: Regenerated.
14226 2015-09-25  Florian Weimer  <fweimer@redhat.com>
14228         * nss/bug17079.c (init_test_items): Add diagnostic for
14229         inconsistent entries.
14230         (test_buffer_size): Skip inconsistent entries.
14232 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
14234         [BZ #13304]
14235         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
14236         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
14237         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
14239         [BZ #13304]
14240         * sysdeps/microblaze/s_fma.c: New file.
14241         * sysdeps/microblaze/s_fmaf.c: Likewise.
14242         * sysdeps/microblaze/sfp-machine.h: Likewise.
14244 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
14246         [BZ #17250]
14247         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
14248         member.
14250 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
14252         [BZ #18803]
14253         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
14254         (MO): New macro.
14255         (__ieee754_hypot) [PIC]: Load PIC register.
14256         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
14257         DBL_NARROW_EVAL.
14258         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
14259         math_check_force_underflow_nonneg in case where result might be
14260         tiny.
14261         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
14262         Likewise.
14263         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
14264         Likewise.
14265         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
14266         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
14267         * math/auto-libm-test-in: Add more tests of hypot.
14268         * math/auto-libm-test-out: Regenerated.
14270 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
14272         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
14274 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
14276         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
14277         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
14278         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
14279         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
14280         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
14281         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
14282         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
14284         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
14285         LOAD_PIC_REG.
14287         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
14288         (FLT_CHECK_FORCE_UFLOW): Likewise.
14289         (DBL_CHECK_FORCE_UFLOW): Likewise.
14290         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
14291         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
14292         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
14293         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
14294         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
14295         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
14296         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
14297         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
14298         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
14299         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14300         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
14301         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
14302         (flt_min): Replace with use of DEFINE_FLT_MIN.
14303         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
14304         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
14305         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14306         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
14307         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
14308         (flt_min): Replace with use of DEFINE_FLT_MIN.
14309         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
14310         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
14311         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14312         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
14313         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
14314         (flt_min): Replace with use of DEFINE_FLT_MIN.
14315         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
14316         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
14317         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
14318         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
14319         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
14320         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
14321         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
14322         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
14323         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14324         (__atan): Use DBL_CHECK_FORCE_UFLOW.
14325         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
14326         (flt_min): Replace with use of DEFINE_FLT_MIN.
14327         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
14328         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
14329         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14330         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
14331         main computation.
14332         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
14333         (flt_min): Replace with use of DEFINE_FLT_MIN.
14334         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
14335         main computation.
14336         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
14337         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14338         (MO): New macro.
14339         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
14340         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
14341         (flt_min): Replace with use of DEFINE_FLT_MIN.
14342         (MO): New macro.
14343         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
14344         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
14345         (__log1pl): Use MO.
14347         [BZ #19003]
14348         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
14349         $(config-cflags-nofma).
14351 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14353         * sysdeps/aarch64/libm-test-ulps: Regenerated.
14355 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
14357         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
14358         (TWO127): Likewise.
14360         * sysdeps/generic/math_private.h (fabs_tg): New macro.
14361         (min_of_type): Likewise.
14362         (math_check_force_underflow): Likewise.
14363         (math_check_force_underflow_nonneg): Likewise.
14364         (math_check_force_underflow_complex): Likewise.
14365         * math/e_exp2l.c (__ieee754_exp2l): Use
14366         math_check_force_underflow_nonneg.
14367         * math/k_casinh.c (__kernel_casinh): Likewise.
14368         * math/k_casinhf.c (__kernel_casinhf): Likewise.
14369         * math/k_casinhl.c (__kernel_casinhl): Likewise.
14370         * math/s_catan.c (__catan): Use
14371         math_check_force_underflow_complex.
14372         * math/s_catanf.c (__catanf): Likewise.
14373         * math/s_catanh.c (__catanh): Likewise.
14374         * math/s_catanhf.c (__catanhf): Likewise.
14375         * math/s_catanhl.c (__catanhl): Likewise.
14376         * math/s_catanl.c (__catanl): Likewise.
14377         * math/s_ccosh.c (__ccosh): Likewise.
14378         * math/s_ccoshf.c (__ccoshf): Likewise.
14379         * math/s_ccoshl.c (__ccoshl): Likewise.
14380         * math/s_cexp.c (__cexp): Likewise.
14381         * math/s_cexpf.c (__cexpf): Likewise.
14382         * math/s_cexpl.c (__cexpl): Likewise.
14383         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
14384         * math/s_clog10.c (__clog10): Likewise.
14385         * math/s_clog10f.c (__clog10f): Likewise.
14386         * math/s_clog10l.c (__clog10l): Likewise.
14387         * math/s_clogf.c (__clogf): Likewise.
14388         * math/s_clogl.c (__clogl): Likewise.
14389         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
14390         * math/s_csinf.c (__csinf): Likewise.
14391         * math/s_csinh.c (__csinh): Likewise.
14392         * math/s_csinhf.c (__csinhf): Likewise.
14393         * math/s_csinhl.c (__csinhl): Likewise.
14394         * math/s_csinl.c (__csinl): Likewise.
14395         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
14396         * math/s_csqrtf.c (__csqrtf): Likewise.
14397         * math/s_csqrtl.c (__csqrtl): Likewise.
14398         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
14399         * math/s_ctanf.c (__ctanf): Likewise.
14400         * math/s_ctanh.c (__ctanh): Likewise.
14401         * math/s_ctanhf.c (__ctanhf): Likewise.
14402         * math/s_ctanhl.c (__ctanhl): Likewise.
14403         * math/s_ctanl.c (__ctanl): Likewise.
14404         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
14405         instead of volatile.
14406         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
14407         math_check_force_underflow.
14408         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
14409         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
14410         volatile when forcing underflow.
14411         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
14412         math_check_force_underflow_nonneg.
14413         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
14414         Likewise.
14415         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
14416         math_check_force_underflow.
14417         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
14418         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
14419         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
14420         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
14421         math_check_force_underflow_nonneg.
14422         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
14423         math_check_force_underflow.
14424         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
14425         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
14426         instead of volatile.
14427         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
14428         math_check_force_underflow.
14429         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
14430         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
14431         math_check_force_underflow_nonneg.
14432         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
14433         math_check_force_underflow.
14434         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
14435         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
14436         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
14437         math_check_force_underflow_nonneg.
14438         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
14439         Likewise.
14440         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
14441         math_check_force_underflow.
14442         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
14443         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
14444         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
14445         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
14446         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
14447         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
14448         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
14449         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
14450         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
14451         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
14452         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
14453         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
14454         Likewise.
14455         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
14456         math_check_force_underflow_nonneg.
14457         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
14458         Likewise.
14459         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
14460         math_check_force_underflow.
14461         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
14462         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
14463         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
14464         Likewise.
14465         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
14466         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
14467         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
14468         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
14469         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
14470         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
14471         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
14472         instead of volatile.
14473         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
14474         math_check_force_underflow.
14475         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
14476         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
14477         math_check_force_underflow.
14478         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
14479         Likewise.
14480         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
14481         Use math_check_force_underflow_nonneg.
14482         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
14483         math_check_force_underflow.
14484         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
14485         Likewise.
14486         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
14487         Likewise.
14488         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
14489         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
14490         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
14491         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
14492         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
14493         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
14494         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
14495         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
14496         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
14497         math_check_force_underflow_nonneg.
14498         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
14499         math_check_force_underflow.
14500         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
14501         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
14502         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
14503         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
14504         math_check_force_underflow_nonneg.
14505         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
14506         math_check_force_underflow.
14507         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
14508         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
14509         instead of volatile.
14510         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
14511         math_check_force_underflow.
14513         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
14514         * stdlib/strtod_l.c: Include <math_private.h>.
14515         (overflow_value): Use math_narrow_eval.
14516         (underflow_value): Likewise.
14517         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
14518         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
14519         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
14520         (__ieee754_gamma_r): Likewise.
14521         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
14522         Likewise.
14523         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
14524         Likewise.
14525         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
14526         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
14527         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
14528         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
14529         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
14530         (__ieee754_gammaf_r): Likewise.
14531         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
14532         Likewise.
14533         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
14534         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
14535         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
14536         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
14537         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
14538         volatile.
14539         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
14540         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
14541         math_narrow_eval.
14542         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
14543         Likewise.
14544         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
14545         Likewise.
14546         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
14547         Likewise.
14548         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
14549         volatile.
14550         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
14551         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
14552         math_narrow_eval.
14553         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
14554         Likewise.
14555         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
14556         Likewise.
14558 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
14560         * nptl/Versions: Remove ignored symbols.
14562 2015-09-22  Florian Weimer  <fweimer@redhat.com>
14564         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
14565         * nss/Makefile (tests): Update.
14567 2015-09-22  Florian Weimer  <fweimer@redhat.com>
14569         * nss/bug18287.c: New file.
14570         * nss/Makefile (tests): Add bug18287.
14572 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14574         * mach/Versions (__mach_host_self_): Add symbol.
14576 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14578         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
14579         vm_page_size.
14581 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14583         Really fix sysdeps/i386/fpu/s_scalbn.S build
14585         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
14586         (libc: GLIBC_2_22): Remove unused version set.
14588 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
14590         * config.make.in (enable-timezone-tools): New variable.
14591         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
14592         (enable_timezone_tools): Export to generated files.
14593         * configure: Regenerate.
14594         * INSTALL: Regenerate.
14595         * manual/install.texi (--disable-timezone-tools): Document new flag.
14596         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
14597         ifeq ($(enable-timezone-tools),yes) check.
14599 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
14601         * timezone/Makefile: Revert previous change.
14603         [BZ #18980]
14604         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
14605         (DEFINE_DBL_MIN): Likewise.
14606         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
14607         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
14608         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
14609         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
14610         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
14611         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14612         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
14613         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
14614         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
14615         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14616         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
14617         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
14618         (flt_min): Replace with use of DEFINE_FLT_MIN.
14619         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
14620         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
14621         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14622         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
14623         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
14624         (flt_min): Replace with use of DEFINE_FLT_MIN.
14625         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
14626         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
14627         (flt_min): Replace with use of DEFINE_FLT_MIN.
14628         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
14629         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
14630         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
14631         (__ieee754_hypot): Use DBL_NARROW_EVAL.
14632         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
14633         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
14634         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
14635         (__ieee754_pow): Use DBL_NARROW_EVAL.
14636         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
14637         (__ieee754_powf): Use FLT_NARROW_EVAL.
14638         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
14639         (__ieee754_expf_sse2): Convert double-precision result to single
14640         precision.
14641         * sysdeps/i386/fpu/libm-test-ulps: Update.
14643 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
14645         * timezone/Makefile: Ignore unused variable errors due to private.h
14646         (time_t_min) and (time_t_max).
14647         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
14648         Likewise.
14650 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
14652         [BZ #18981]
14653         * sysdeps/i386/fpu/i386-math-asm.h: New file.
14654         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
14655         (__ieee754_scalb): Use DBL_NARROW_EVAL.
14656         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
14657         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
14658         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
14659         (__scalbn): Use DBL_NARROW_EVAL.
14660         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
14661         (__scalbnf): Use FLT_NARROW_EVAL.
14663 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
14665         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
14666         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
14667         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
14668         * stdio-common/printf_fp.c (___printf_fp):
14669         Use signbit to get the sign. Use isinf macro to allow inlining.
14670         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
14671         * stdio-common/printf_size.c (__printf_size): Likewise.
14673 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
14675         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
14677 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
14679         [BZ #18980]
14680         * sysdeps/generic/math_private.h: Include <float.h>.
14681         (math_narrow_eval): New macro.
14682         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
14683         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
14684         math_narrow_eval on overflowing return value.
14685         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
14686         Likewise.
14687         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
14688         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
14689         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
14690         Likewise.
14691         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
14693 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
14695         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
14696         * math/Makefile: Remove isinf_ns.c.
14697         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
14698         * math/multc3.c (__multc3): Likewise.
14699         * math/s_casin.c (__casin): Likewise.
14700         * math/s_casinf.c (__casinf): Likewise.
14701         * math/s_casinl.c (__casinl): Likewise.
14702         * math/s_cproj.c (__cproj): Likewise.
14703         * math/s_cprojf.c (__cprojf): Likewise.
14704         * math/s_cprojl.c (__cprofl): Likewise.
14705         * math/s_ctan.c (__ctan): Likewise.
14706         * math/s_ctanf.c (__ctanf): Likewise.
14707         * math/s_ctanh.c (__ctanh): Likewise.
14708         * math/s_ctanhf.c (__ctanhf): Likewise.
14709         * math/s_ctanhl.c (__ctanhl): Likewise.
14710         * math/s_ctanl.c (__ctanl): Likewise.
14711         * math/w_fmod.c (__fmod): Likewise.
14712         * math/w_fmodf.c (__fmodf): Likewise.
14713         * math/w_fmodl.c (_fmodl): Likewise.
14714         * math/w_remainder.c (__remainder): Likewise.
14715         * math/w_remainderf.c (__remainderf): Likewise.
14716         * math/w_remainderl.c (__remainderl): Likewise.
14717         * math/w_scalb.c (__scalb): Likewise.
14718         * math/w_scalbf.c (__scalbf): Likewise.
14719         * math/w_scalbl.c (__scalbl): Likewise.
14720         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
14721         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
14722         with isinf.
14723         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
14724         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
14725         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
14726         __isinf_nsf with isinf.
14727         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
14728         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
14729         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
14730         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
14731         with isinf.
14732         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
14733         __isinf_nsl with isinf.
14734         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
14735         with isinf.
14736         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
14737         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
14738         __isinf_nsl with isinf.
14739         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
14740         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
14741         with isinf.
14743 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
14745         * resolv/base64.c (rcsid): Remove unused static.
14746         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
14747         static.  (tqpi1): Likewise.
14748         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
14749         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
14750         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
14751         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
14752         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
14753         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
14754         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
14755         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
14756         Likewise.
14758 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
14760         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
14761         <nptl/pthreadP.h>.
14762         (_longjmp_unwind): Use __libc_ptf_call.
14763         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
14765 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
14767         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
14768         * sysdeps/arm/__longjmp.S: Likewise.
14770 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
14772         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
14773         Use __builtin_signbit.
14774         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
14775         Use __builtin_signbitf.
14776         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
14777         Use __builtin_signbitl.
14778         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
14779         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
14781 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
14783         [BZ #15367]
14784         [BZ #17441]
14786         * math/Makefile: Build test-snan.c with -fsignaling-nans.
14787         * math/math.h (fpclassify): Use __builtin_fpclassify when
14788         available.  (signbit): Use __builtin_signbit(f/l).
14789         (isfinite): Use__builtin_isfinite.  (isnormal): Use
14790         __builtin_isnormal.  (isnan): Use __builtin_isnan.
14791         (isinf): Use __builtin_isinf_sign.
14793 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
14795         * benchtests/Makefile: Add bench-math-inlines, link with libm.
14796         * benchtests/bench-math-inlines.c: New benchmark.
14797         * benchtests/bench-util.h: New file.
14798         * benchtests/bench-util.c: New file.
14799         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
14801 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
14803         * elf/tst-dlmopen1.c: Define TEST_SO.
14804         (do_test): Use TEST_SO.
14806         * elf/dl-load.c: Include libc-internal.h.
14807         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
14809 2015-09-18  Vincent Bernat  <vincent@bernat.im>
14811         [BZ #17887]
14812         * time/strptime_l.c (__strptime_internal): Make %z accept
14813         [+-]HH:MM time zones.
14815 2015-09-18  Vincent Bernat  <vincent@bernat.im>
14817         [BZ #17886]
14818         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
14819         valid time zone.
14821 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
14823         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
14824         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
14825         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14826         (__ASSUME_FDATASYNC): Delete.
14828 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
14830         * conform/linknamespace.pl: Require weak undefined symbols to be
14831         in the standard namespace.
14832         (%strong_syms): Rename to %seen_syms.
14833         (%strong_seen): Rename to %seen_where.
14835 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
14837         [BZ #18970]
14838         * misc/error.c (error): Replace pthread_setcancelstate with
14839         __pthread_setcancelstate.
14840         (error_at_line): Likewise.
14841         * posix/wordexp.c (parse_comm): Likewise.
14842         * stdlib/fmtmsg.c (fmtmsg): Likewise.
14843         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
14844         (__pthread_setcancelstate): This.
14845         (pthread_setcancelstate): Add an alias.
14846         * nptl/nptl-init.c (pthread_functions): Replace
14847         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
14848         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
14849         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
14850         hidden_proto.
14851         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
14852         it with hidden_def.
14853         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
14854         (pthread_setcancelstate): Renamed to ...
14855         (__pthread_setcancelstate): This.
14856         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
14857         __libc_ptf_call with __pthread_setcancelstate.
14859 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
14860             Andreas Schwab  <schwab@suse.de>
14862         [BZ #17118]
14863         * math/s_ctan.c (__ctan): Determine sign of zero real part of
14864         result when imaginary part of argument is infinite using sine and
14865         cosine.
14866         * math/s_ctanf.c (__ctanf): Likewise.
14867         * math/s_ctanl.c (__ctanl): Likewise.
14868         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
14869         of result when real part of argument is infinite using sine and
14870         cosine.
14871         * math/s_ctanhf.c (__ctanhf): Likewise.
14872         * math/s_ctanhl.c (__ctanhl): Likewise.
14873         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
14874         (ctanh_test_data): Add more tests of ctanh.
14876 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
14878         [BZ #15384]
14879         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
14880         bit-mask as in subtraction.
14881         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
14882         Likewise.
14883         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
14884         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
14885         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
14887         [BZ #18951]
14888         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
14889         underflow exception for small results.
14890         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
14891         Likewise.
14892         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
14893         Likewise.
14894         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
14895         Likewise.
14896         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
14897         Likewise.
14898         * math/auto-libm-test-in: Add more tests of tgamma.
14899         * math/auto-libm-test-out: Regenerated.
14901 2015-09-17  Andreas Schwab  <schwab@suse.de>
14903         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
14905 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
14907         [BZ #18977]
14908         * math/bits/mathcalls.h
14909         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
14910         not declare.
14911         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
14912         Likewise.
14913         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
14914         Likewise.
14915         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
14916         Likewise.
14917         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
14918         Likewise.
14919         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
14920         Likewise.
14921         * conform/data/math.h-data
14922         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
14923         function.
14924         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
14925         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
14926         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
14927         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
14928         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
14929         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
14930         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
14931         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
14932         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
14933         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
14934         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
14936         [BZ #6803]
14937         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
14938         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
14939         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
14940         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
14941         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
14942         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
14943         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
14944         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
14945         [NO_LONG_DOUBLE] (scalbnl): Likewise.
14946         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
14947         Likewise.
14948         [NO_LONG_DOUBLE] (scalbnl): Likewise.
14949         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
14950         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
14951         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
14952         long_double_symbol calls.
14953         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
14954         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
14955         strong alias of __ldexpl.
14956         (scalbnl): Define using long_double_symbol.
14957         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
14958         Remove alias.
14959         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
14960         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
14961         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
14962         (scalbln_test_data): Add more errno expectations.
14964 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
14966         Cache the host port like we cache the task port.  This way we do not
14967         need to call the kernel just to get the port.  Furthermore, we no
14968         longer increase the reference count on every invocation of
14969         `mach_host_self'.
14971         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
14972         Protect declarations against the macro expansion.
14973         * mach/mach_init.c (__mach_host_self_): New variable.
14974         (mach_init): Initialize `__mach_host_self_'.
14975         * mach/mach_init.h (__mach_host_self_): New declaration.
14976         (__mach_host_self, mach_host_self): New macros.
14977         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
14978         Release reference.
14980 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
14982         [BZ #4404]
14983         * po/de.po: Update from Translation Project.
14985         [BZ #16415]
14986         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
14987         (__expm1l): Remove code to handle positive infinity and overflow.
14988         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
14989         variable.
14990         (__expm1l): Remove code to handle positive infinity and overflow.
14992 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
14993             Paul Pluzhnikov  <ppluzhnikov@google.com>
14995         [BZ #18872]
14996         * stdio-common/Makefile (tst-printf-bz18872): New test.
14997         (tst-printf-bz18872-mem.out): Likewise.
14998         * stdio-common/tst-printf-bz18872.sh: Generate new test.
14999         * stdio-common/vfprintf.c: Fix memory leaks.
15001 2015-09-16  Andreas Schwab  <schwab@suse.de>
15003         [BZ #17244]
15004         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
15005         Remove extra va_start/va_end calls.
15007         [BZ #17243]
15008         * posix/execl.c (execl): Add missing va_end.
15009         * posix/execle.c (execle): Likewise.
15010         * posix/execlp.c (execlp): Likewise.
15012 2015-09-15  Roland McGrath  <roland@hack.frob.com>
15014         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
15015         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
15017 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
15019         [BZ #18967]
15020         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
15021         undefine around includes of <bits/mathcalls.h>.
15022         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
15023         not declare function.
15024         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
15025         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
15026         (scalb): Likewise.
15027         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
15028         not define macro.
15029         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
15030         variable.
15031         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
15032         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
15033         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
15035         [BZ #18857]
15036         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
15037         return non-finite argument without doing ordered comparisons on
15038         it.
15040         [BZ #16296]
15041         * math/fenv.h (fegetround): Use __attribute_pure__.
15042         * include/fenv.h (__fegetround): Likewise.
15044         [BZ #18595]
15045         * math/s_ctan.c (__ctan): Force underflow exception for results
15046         whose real or imaginary part has small absolute value.
15047         * math/s_ctanf.c (__ctanf): Likewise.
15048         * math/s_ctanh.c (__ctanh): Likewise.
15049         * math/s_ctanhf.c (__ctanhf): Likewise.
15050         * math/s_ctanhl.c (__ctanhl): Likewise.
15051         * math/s_ctanl.c (__ctanl): Likewise.
15052         * math/auto-libm-test-in: Do not allow missing underflow for ctan
15053         and ctanh.  Add more tests of ctan and ctanh.
15055         [BZ #15918]
15056         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
15057         handling of cases where one argument is an infinity.
15059         [BZ #18875]
15060         [BZ #18966]
15061         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
15062         (MO): New macro.
15063         (__ieee754_exp10): For small results, force underflow exception
15064         and remove excess range and precision from return value.
15065         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
15066         (MO): New macro.
15067         (__ieee754_exp10f): For small results, force underflow exception
15068         and remove excess range and precision from return value.
15069         * math/auto-libm-test-in: Add more tests of exp10.
15070         * math/auto-libm-test-out: Regenerated.
15072 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
15074         [BZ #18875]
15075         [BZ #18961]
15076         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
15077         (MO): New macro.
15078         (__ieee754_exp): For small results, force underflow exception and
15079         remove excess range and precision from return value.
15080         (__exp_finite): Likewise.
15081         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
15082         (MO): New macro.
15083         (__ieee754_expf): For small results, force underflow exception and
15084         remove excess range and precision from return value.
15085         (__expf_finite): Likewise.
15086         * math/auto-libm-test-in: Add more tests of exp.
15087         * math/auto-libm-test-out: Regenerated.
15089         [BZ #16521]
15090         [BZ #18875]
15091         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
15092         small results.
15093         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
15094         (MO): New macro.
15095         (__ieee754_exp2): For small results, force underflow exception and
15096         remove excess range and precision from return value.
15097         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
15098         (MO): New macro.
15099         (__ieee754_exp2f): For small results, force underflow exception
15100         and remove excess range and precision from return value.
15101         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
15102         (MO): New macro.
15103         (__ieee754_exp2l): Force underflow exception for small results.
15104         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
15105         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
15106         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
15107         (MO): New macro.
15108         (__ieee754_exp2l): Force underflow exception for small results.
15109         * math/auto-libm-test-in: Add more tests or exp2.
15110         * math/auto-libm-test-out: Regenerated.
15112 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
15114         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
15116         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
15117         /dev/null.
15119 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15121         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
15122         io fs process)): Drop spurious backslash.
15124 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
15126         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
15127         Use sysinfo system call instead of parsing /proc/meminfo.
15128         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
15129         Likewise.
15131 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
15133         [BZ #16985]
15134         * programs/localedef.c (main): Display argv[remaining] when
15135         output_path is NULL.
15137 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
15139         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
15140         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
15141         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
15142         tanh.
15143         * math/auto-libm-test-out: Regenerated.
15144         * sysdeps/i386/fpu/libm-test-ulps: Update.
15145         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
15146         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15147         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15149 2015-09-11  Roland McGrath  <roland@hack.frob.com>
15151         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
15152         Use 'override' keyword to freeze the value here, preventing
15153         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
15155 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
15157         [BZ #14912]
15158         * sysdeps/aarch64/bits/atomic.h: Move to ...
15159         * sysdeps/aarch64/atomic-machine.h: ...here.
15160         (_AARCH64_BITS_ATOMIC_H): Rename macro to
15161         _AARCH64_ATOMIC_MACHINE_H.
15162         * sysdeps/alpha/bits/atomic.h: Move to ...
15163         * sysdeps/alpha/atomic-machine.h: ...here.
15164         * sysdeps/arm/bits/atomic.h: Move to ...
15165         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
15166         * bits/atomic.h: Move to ...
15167         * sysdeps/generic/atomic-machine.h: ...here.
15168         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
15169         * sysdeps/i386/bits/atomic.h: Move to ...
15170         * sysdeps/i386/atomic-machine.h: ...here.
15171         * sysdeps/ia64/bits/atomic.h: Move to ...
15172         * sysdeps/ia64/atomic-machine.h: ...here.
15173         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
15174         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
15175         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
15176         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
15177         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
15178         * sysdeps/microblaze/bits/atomic.h: Move to ...
15179         * sysdeps/microblaze/atomic-machine.h: ...here.
15180         * sysdeps/mips/bits/atomic.h: Move to ...
15181         * sysdeps/mips/atomic-machine.h: ...here.
15182         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
15183         * sysdeps/powerpc/bits/atomic.h: Move to ...
15184         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
15185         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
15186         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
15187         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
15188         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
15189         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
15190         <atomic-machine.h> instead of <bits/atomic.h>.
15191         * sysdeps/s390/bits/atomic.h: Move to ...
15192         * sysdeps/s390/atomic-machine.h: ...here.
15193         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
15194         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
15195         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
15196         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
15197         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
15198         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
15199         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
15200         * sysdeps/tile/bits/atomic.h: Move to ...
15201         * sysdeps/tile/atomic-machine.h: ...here.
15202         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
15203         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
15204         <sysdeps/tile/atomic-machine.h> instead of
15205         <sysdeps/tile/bits/atomic.h>.
15206         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
15207         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
15208         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
15209         <sysdeps/tile/atomic-machine.h> instead of
15210         <sysdeps/tile/bits/atomic.h>.
15211         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
15212         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
15213         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
15214         <sysdeps/arm/atomic-machine.h> instead of
15215         <sysdeps/arm/bits/atomic.h>.
15216         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
15217         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
15218         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
15219         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
15220         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
15221         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
15222         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
15223         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
15224         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
15225         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
15226         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
15227         * sysdeps/x86_64/bits/atomic.h: Move to ...
15228         * sysdeps/x86_64/atomic-machine.h: ...here.
15229         * include/atomic.h: Include <atomic-machine.h> instead of
15230         <bits/atomic.h>.
15232         * sysdeps/mips/mips32/libm-test-ulps: Update.
15233         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15235         [BZ #18952]
15236         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
15237         not convert non-integer negative arguments to int to determine the
15238         value of signgam.
15239         * math/auto-libm-test-in: Add more tests of lgamma.
15240         * math/auto-libm-test-out: Regenerated.
15242         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
15243         cosh, csqrt, erfc, expm1 and lgamma.
15244         * math/auto-libm-test-out: Regenerated.
15245         * sysdeps/i386/fpu/libm-test-ulps: Update.
15246         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15248 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
15250         [BZ #2542]
15251         [BZ #2543]
15252         [BZ #2558]
15253         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
15254         __lgamma_neg for arguments from -28.0 to -2.0.
15255         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
15256         __lgamma_negf for arguments from -15.0 to -2.0.
15257         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
15258         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
15259         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
15260         Call __lgamma_negl for arguments from -33.0 to -2.0.
15261         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
15262         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
15263         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
15264         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
15265         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
15266         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
15267         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
15268         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
15269         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
15270         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
15271         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
15272         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
15273         (__lgamma_neg): Likewise.
15274         (__lgamma_negl): Likewise.
15275         (__lgamma_product): Likewise.
15276         (__lgamma_productl): Likewise.
15277         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
15278         * math/auto-libm-test-in: Add more tests of lgamma.
15279         * math/auto-libm-test-out: Regenerated.
15280         * sysdeps/i386/fpu/libm-test-ulps: Update.
15281         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15283 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
15285         [BZ #18675]
15286         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
15288 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
15290         [BZ #14912]
15291         * bits/libc-lock.h: Move to ...
15292         * sysdeps/generic/libc-lock.h: ...here.
15293         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
15294         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
15295         * sysdeps/mach/hurd/libc-lock.h: ...here.
15296         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
15297         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
15298         * sysdeps/mach/bits/libc-lock.h: Move to ...
15299         * sysdeps/mach/libc-lock.h: ...here.
15300         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
15301         * sysdeps/nptl/bits/libc-lock.h: Move to ...
15302         * sysdeps/nptl/libc-lock.h: ...here.
15303         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
15304         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
15305         * sysdeps/nptl/libc-lockP.h: ...here.
15306         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
15307         * crypt/crypt_util.c: Include <libc-lock.h> instead of
15308         <bits/libc-lock.h>.
15309         * dirent/scandir-tail.c: Likewise.
15310         * dlfcn/dlerror.c: Likewise.
15311         * elf/dl-close.c: Likewise.
15312         * elf/dl-iteratephdr.c: Likewise.
15313         * elf/dl-lookup.c: Likewise.
15314         * elf/dl-open.c: Likewise.
15315         * elf/dl-support.c: Likewise.
15316         * elf/dl-writev.h: Likewise.
15317         * elf/rtld.c: Likewise.
15318         * grp/fgetgrent.c: Likewise.
15319         * gshadow/fgetsgent.c: Likewise.
15320         * gshadow/sgetsgent.c: Likewise.
15321         * iconv/gconv_conf.c: Likewise.
15322         * iconv/gconv_db.c: Likewise.
15323         * iconv/gconv_dl.c: Likewise.
15324         * iconv/gconv_int.h: Likewise.
15325         * iconv/gconv_trans.c: Likewise.
15326         * include/link.h: Likewise.
15327         * inet/getnameinfo.c: Likewise.
15328         * inet/getnetgrent.c: Likewise.
15329         * inet/getnetgrent_r.c: Likewise.
15330         * intl/bindtextdom.c: Likewise.
15331         * intl/dcigettext.c: Likewise.
15332         * intl/finddomain.c: Likewise.
15333         * intl/gettextP.h: Likewise.
15334         * intl/loadmsgcat.c: Likewise.
15335         * intl/localealias.c: Likewise.
15336         * intl/textdomain.c: Likewise.
15337         * libidn/idn-stub.c: Likewise.
15338         * libio/libioP.h: Likewise.
15339         * locale/duplocale.c: Likewise.
15340         * locale/freelocale.c: Likewise.
15341         * locale/newlocale.c: Likewise.
15342         * locale/setlocale.c: Likewise.
15343         * login/getutent_r.c: Likewise.
15344         * login/getutid_r.c: Likewise.
15345         * login/getutline_r.c: Likewise.
15346         * login/utmp-private.h: Likewise.
15347         * login/utmpname.c: Likewise.
15348         * malloc/mtrace.c: Likewise.
15349         * misc/efgcvt.c: Likewise.
15350         * misc/error.c: Likewise.
15351         * misc/fstab.c: Likewise.
15352         * misc/getpass.c: Likewise.
15353         * misc/mntent.c: Likewise.
15354         * misc/syslog.c: Likewise.
15355         * nis/nis_call.c: Likewise.
15356         * nis/nis_callback.c: Likewise.
15357         * nis/nss-default.c: Likewise.
15358         * nis/nss_compat/compat-grp.c: Likewise.
15359         * nis/nss_compat/compat-initgroups.c: Likewise.
15360         * nis/nss_compat/compat-pwd.c: Likewise.
15361         * nis/nss_compat/compat-spwd.c: Likewise.
15362         * nis/nss_nis/nis-alias.c: Likewise.
15363         * nis/nss_nis/nis-ethers.c: Likewise.
15364         * nis/nss_nis/nis-grp.c: Likewise.
15365         * nis/nss_nis/nis-hosts.c: Likewise.
15366         * nis/nss_nis/nis-network.c: Likewise.
15367         * nis/nss_nis/nis-proto.c: Likewise.
15368         * nis/nss_nis/nis-pwd.c: Likewise.
15369         * nis/nss_nis/nis-rpc.c: Likewise.
15370         * nis/nss_nis/nis-service.c: Likewise.
15371         * nis/nss_nis/nis-spwd.c: Likewise.
15372         * nis/nss_nisplus/nisplus-alias.c: Likewise.
15373         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
15374         * nis/nss_nisplus/nisplus-grp.c: Likewise.
15375         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
15376         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
15377         * nis/nss_nisplus/nisplus-network.c: Likewise.
15378         * nis/nss_nisplus/nisplus-proto.c: Likewise.
15379         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
15380         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
15381         * nis/nss_nisplus/nisplus-service.c: Likewise.
15382         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
15383         * nis/ypclnt.c: Likewise.
15384         * nptl/libc_pthread_init.c: Likewise.
15385         * nss/getXXbyYY.c: Likewise.
15386         * nss/getXXent.c: Likewise.
15387         * nss/getXXent_r.c: Likewise.
15388         * nss/nss_db/db-XXX.c: Likewise.
15389         * nss/nss_db/db-netgrp.c: Likewise.
15390         * nss/nss_db/nss_db.h: Likewise.
15391         * nss/nss_files/files-XXX.c: Likewise.
15392         * nss/nss_files/files-alias.c: Likewise.
15393         * nss/nsswitch.c: Likewise.
15394         * posix/regex_internal.h: Likewise.
15395         * posix/wordexp.c: Likewise.
15396         * pwd/fgetpwent.c: Likewise.
15397         * resolv/res_hconf.c: Likewise.
15398         * resolv/res_libc.c: Likewise.
15399         * shadow/fgetspent.c: Likewise.
15400         * shadow/lckpwdf.c: Likewise.
15401         * shadow/sgetspent.c: Likewise.
15402         * socket/opensock.c: Likewise.
15403         * stdio-common/reg-modifier.c: Likewise.
15404         * stdio-common/reg-printf.c: Likewise.
15405         * stdio-common/reg-type.c: Likewise.
15406         * stdio-common/vfprintf.c: Likewise.
15407         * stdio-common/vfscanf.c: Likewise.
15408         * stdlib/abort.c: Likewise.
15409         * stdlib/cxa_atexit.c: Likewise.
15410         * stdlib/fmtmsg.c: Likewise.
15411         * stdlib/random.c: Likewise.
15412         * stdlib/setenv.c: Likewise.
15413         * string/strsignal.c: Likewise.
15414         * sunrpc/auth_none.c: Likewise.
15415         * sunrpc/bindrsvprt.c: Likewise.
15416         * sunrpc/create_xid.c: Likewise.
15417         * sunrpc/key_call.c: Likewise.
15418         * sunrpc/rpc_thread.c: Likewise.
15419         * sysdeps/arm/backtrace.c: Likewise.
15420         * sysdeps/generic/ldsodefs.h: Likewise.
15421         * sysdeps/generic/stdio-lock.h: Likewise.
15422         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
15423         * sysdeps/i386/backtrace.c: Likewise.
15424         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
15425         * sysdeps/m68k/backtrace.c: Likewise.
15426         * sysdeps/mach/hurd/cthreads.c: Likewise.
15427         * sysdeps/mach/hurd/dirstream.h: Likewise.
15428         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
15429         * sysdeps/nptl/malloc-machine.h: Likewise.
15430         * sysdeps/nptl/stdio-lock.h: Likewise.
15431         * sysdeps/posix/dirstream.h: Likewise.
15432         * sysdeps/posix/getaddrinfo.c: Likewise.
15433         * sysdeps/posix/system.c: Likewise.
15434         * sysdeps/pthread/aio_suspend.c: Likewise.
15435         * sysdeps/s390/s390-32/backtrace.c: Likewise.
15436         * sysdeps/s390/s390-64/backtrace.c: Likewise.
15437         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
15438         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
15439         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
15440         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
15441         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
15442         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
15443         * sysdeps/unix/sysv/linux/system.c: Likewise.
15444         * sysdeps/x86_64/backtrace.c: Likewise.
15445         * time/alt_digit.c: Likewise.
15446         * time/era.c: Likewise.
15447         * time/tzset.c: Likewise.
15448         * wcsmbs/wcsmbsload.c: Likewise.
15449         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
15450         instead of <bits/libc-lock.h> in comment.
15452 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
15454         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
15455         Only use .set mips2 if the current ISA is below mips2.
15456         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
15457         Likewise.
15458         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
15459         mips32r2 if the current ISA is below mips32r2.
15460         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
15461         (TLS_IE): Updated to use the TLD_RDHWR macro.
15462         (TLS_LE): Likewise.
15463         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
15464         __ASSEMBLER__ condition.
15466 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15468         Fix parallel build of before-compile targets.
15470         * sysdeps/mach/Makefile ($(patsubst
15471         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
15472         mach-before-compile target.
15473         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
15474         io fs process)): Move rule to dedicated hurd-before-compile target.
15476 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15478         Fix rules generating headers in hurd/ and mach/ when initial make call
15479         has subdir= explicitly set.
15481         * sysdeps/mach/Makefile ($(patsubst
15482         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
15483         calling $(MAKE).
15484         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
15485         io fs process)): Force subdir to hurd when calling $(MAKE).
15486         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
15487         subdir to mach when calling $(MAKE).
15489 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
15491         Check sysheaders when looking for Mach and Hurd headers
15493         * sysdeps/mach/configure.ac: Add sysheaders check.
15494         * sysdeps/mach/configure: Regenerate.
15495         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
15496         * sysdeps/mach/hurd/configure: Regenerate.
15498 2015-09-04  Roland McGrath  <roland@hack.frob.com>
15500         [BZ #18921]
15501         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
15502         Fix inverted sense of test of 'o_directory_works' value.
15503         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
15504         Bernhard Voelker <mail@bernhard-voelker.de>.
15506 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
15508         [BZ #14912]
15509         * bits/linkmap.h: Move to ...
15510         * sysdeps/generic/linkmap.h: ...here.
15511         * sysdeps/aarch64/bits/linkmap.h: Move to ...
15512         * sysdeps/aarch64/linkmap.h: ...here.
15513         * sysdeps/arm/bits/linkmap.h: Move to ...
15514         * sysdeps/arm/linkmap.h: ...here.
15515         * sysdeps/hppa/bits/linkmap.h: Move to ...
15516         * sysdeps/hppa/linkmap.h: ...here.
15517         * sysdeps/ia64/bits/linkmap.h: Move to ...
15518         * sysdeps/ia64/linkmap.h: ...here.
15519         * sysdeps/mips/bits/linkmap.h: Move to ...
15520         * sysdeps/mips/linkmap.h: ...here.
15521         * sysdeps/s390/bits/linkmap.h: Move to ...
15522         * sysdeps/s390/linkmap.h: ...here.
15523         * sysdeps/sh/bits/linkmap.h: Move to ...
15524         * sysdeps/sh/linkmap.h: ...here.
15525         * sysdeps/x86/bits/linkmap.h: Move to ...
15526         * sysdeps/x86/linkmap.h: ...here.
15527         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
15529 2015-09-04  Andreas Schwab  <schwab@suse.de>
15531         [BZ #18635]
15532         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
15533         (__makecontext): Terminate FDE before return label.
15534         (__novec_makecontext): Likewise.
15536 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
15538         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
15539         first member of struct sv in syscall macro.
15541 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
15543         [BZ #14912]
15544         * bits/stdio-lock.h: Move to ...
15545         * sysdeps/generic/stdio-lock.h: ...here.
15546         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
15547         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
15548         * sysdeps/nptl/stdio-lock.h: ...here.
15549         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
15550         * include/libio.h: Include <stdio-lock.h> instead of
15551         <bits/stdio-lock.h>.
15552         * sysdeps/nptl/fork.c: Likewise.
15553         * sysdeps/pthread/flockfile.c: Likewise.
15554         * sysdeps/pthread/ftrylockfile.c: Likewise.
15555         * sysdeps/pthread/funlockfile.c: Likewise.
15557         [BZ #14912]
15558         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
15559         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
15560         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
15561         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
15562         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
15563         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
15564         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
15566 2015-09-03  Roland McGrath  <roland@hack.frob.com>
15568         * elf/Makefile (test-xfail-tst-protected1a): New variable.
15569         (test-xfail-tst-protected1b): New variable.
15571 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
15573         [BZ #14912]
15574         * bits/libc-tsd.h: Move to ...
15575         * sysdeps/generic/libc-tsd.h: ...here.
15576         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
15577         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
15578         * sysdeps/mach/hurd/libc-tsd.h: ...here.
15579         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
15580         * include/ctype.h: Include <libc-tsd.h> instead of
15581         <bits/libc-tsd.h>.
15582         * include/rpc/rpc.h: Likewise.
15583         * locale/localeinfo.h: Likewise.
15584         * sunrpc/rpc_thread.c: Likewise.
15585         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
15586         * sysdeps/nptl/malloc-machine.h: Likewise.
15588         * Makefile (headers): Remove bits/libc-lock.h.
15589         * libio/Makefile (headers): Remove bits/stdio-lock.h.
15591         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
15592         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
15593         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
15594         <bits/stdio-lock.h>.
15595         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
15596         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
15598 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
15600         [BZ #18757]
15601         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
15602         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
15603         BZ #18757.
15605 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
15607         * malloc/mtrace.pl: Filter out NULL entries.
15609 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
15611         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
15612         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
15613         macro.
15615         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
15616         (TCP_CC_INFO): Likewise.
15617         (TCP_SAVE_SYN): Likewise.
15618         (TCP_SAVED_SYN): Likewise.
15620 2015-08-31  Brett Neumeier <brett@neumeier.us>
15622         [BZ #18870]
15623         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
15625 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
15627         [BZ #18873]
15628         Fix broken overflow check in posix_fallocate
15629         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
15630         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
15631         Fix parenthesization typo.
15633 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
15635         [BZ #18887]
15636         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
15637         tst-mntent-blank-passno.
15638         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
15639         * misc/tst-mntent-blank-corrupt.c: New test.
15640         * misc/tst-mntent-blank-passno.c: New test ripped from ...
15641         * misc/tst-mntent.c (do_test): ... here.
15643 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
15645         [BZ #4404]
15646         * po/de.po: Fix SIGALRM typo.
15648 2015-08-28  James Perkins  <james@loowit.net>
15650         * time/tst-strptime2.c (tests): Replace short list of test
15651         strings for strptime %z specifier with code which exhaustively
15652         tests every combination of sign and 0 to 5 digits. Tests for
15653         rejection of invalid strings.
15655 2015-08-28  James Perkins  <james@loowit.net>
15657         [BZ #16141]
15658         * time/strptime_l.c (__strptime_internal): Fix %z minutes
15659         calculation, removing incorrect decimal time rounding, so that
15660         all minute values result in a valid seconds value.
15661         * time/strptime_l.c (__strptime_internal): Extend %z time zone
15662         offset range limits to UTC-99:59 through UTC+99:59 to parse
15663         current and historical use cases.
15664         * time/tst-strptime2.c (tests): Modify and add tests for the
15665         strptime %z input field descriptor, specifically conversion of
15666         minutes to seconds and validating an offset range of -9959 to
15667         +9959.
15669 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15670             Dmitry V. Levin  <ldv@altlinux.org>
15672         [BZ #18877]
15673         * posix/Makefile (tests): Add tst-mmap-offset.
15674         * posix/tst-mmap.c: New file.
15675         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
15676         offset calculation for negative values.
15678 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15680         * sysdeps/i386/init-arch.h: New file.
15681         * sysdeps/i386/i586/init-arch.h: Likewise.
15682         * sysdeps/i386/i686/init-arch.h: Likewise.
15683         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
15684         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
15685         * sysdeps/x86/cpu-features.h (bit_I586): New.
15686         (bit_I686): Likewise.
15687         (bit_CX8): Likewise.
15688         (bit_CMOV): Likewise.
15689         (index_CX8): Likewise.
15690         (index_CMOV): Likewise.
15691         (index_I586): Likewise.
15692         (index_I686): Likewise.
15693         (reg_CX8): Likewise.
15694         (reg_CMOV): Likewise.
15695         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
15696         available at compile-time.
15697         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
15698         available at compile-time.
15699         * sysdeps/x86/init-arch.h (USE_I586): New macro.
15700         (USE_I686): Likewise.
15702 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15704         * sysdeps/i386/bcopy.S: New file.
15705         * sysdeps/i386/bzero.S: Likewise.
15706         * sysdeps/i386/memcpy.S: Likewise.
15707         * sysdeps/i386/memmove.S: Likewise.
15708         * sysdeps/i386/mempcpy.S: Likewise.
15709         * sysdeps/i386/memset.S: Likewise.
15710         * sysdeps/i386/bzero.c: Removed.
15711         * sysdeps/i386/memset.c: Likewise.
15712         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
15713         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
15714         * sysdeps/i386/i586/memset_chk.S: Likewise.
15715         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
15716         * sysdeps/i386/memcpy_chk.S: Here.
15717         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
15718         * sysdeps/i386/memmove_chk.S: Here.
15719         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
15720         * sysdeps/i386/mempcpy_chk.S: Likewise.
15721         * sysdeps/i386/i686/memset_chk.S: Moved to ...
15722         * sysdeps/i386/memset_chk.S: Likewise.
15724 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
15726         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
15727         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
15728         file, move DIAG_POP_NEEDS_COMMENT to end of file.
15729         * soft-fp/fmadf4.c: Ditto.
15730         * soft-fp/fmatf4.c: Ditto.
15732 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15734         * sysdeps/i386/i586/Implies: Removed.
15735         * sysdeps/i386/i686/Implies: Likewise.
15737 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15739         * sysdeps/i386/i486/strlen.S: Moved to ...
15740         * sysdeps/i386/strlen.S: Here.
15742 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15744         * sysdeps/i386/i486/strcat.S: Moved to ...
15745         * sysdeps/i386/strcat.S: Here.
15747 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15749         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
15750         * sysdeps/i386/pthread_spin_trylock.S: Here.
15751         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
15752         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
15754 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15756         * sysdeps/i386/i486/string-inlines.c: Moved to ...
15757         * sysdeps/i386/string-inlines.c: Here.
15759 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15761         * sysdeps/i386/i486/htonl.S: Moved ...
15762         * sysdeps/i386/htonl.S: here.
15764 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15766         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
15767         * sysdeps/i386/bits/atomic.h: Here.
15769 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15771         * sysdeps/i386/i486/Versions: Removed.
15773 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
15775         [BZ #2898]
15776         * misc/mktemp.c: Add mkdtemp to the link_warning message.
15777         Based on patch by Aurelien Jarno.
15779 2015-08-26  Stan Shebs  <stanshebs@google.com>
15781         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
15782         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
15784 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
15786         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
15787         * sysdeps/powerpc/dl-procinfo.c:
15788         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
15789         feature so it shows when LD_SHOW_AUXV=1.
15791 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15793         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
15794         (__arch_compare_and_exchange_val_32_acq): Remove and use common
15795         definition.  ISA 2.07B no longer requires full sync.
15797 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
15799         [BZ #18863]
15800         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
15801         (si_call_addr): Define.
15802         (si_syscall): Define.
15803         (si_arch): Define.
15805 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
15807         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
15808         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
15809         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
15810         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
15811         (__memset_zero_constant_len_parameter): New.
15812         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
15813         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
15814         (__memset_zero_constant_len_parameter): Don't define if
15815         __memset_chk or USE_AS_BZERO are defined.
15817         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
15818         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
15819         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
15821         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
15822         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
15823         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
15824         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
15825         comments.
15826         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
15827         -mno-mmx for $(all-rtld-routines).
15828         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
15829         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
15830         i386.
15832 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
15834         * sysdeps/generic/unwind.h
15835         (_Unwind_Word): Use __mode__(__unwind_word__)
15836         instead of __mode__(__word__).
15837         (_Unwind_Sword): Likewise.
15839         * sysdeps/s390/s390-64/utf8-utf16-z9.c
15840         (MAX_NEEDED_INPUT): New define.
15841         (MAX_NEEDED_OUTPUT): New define.
15843         * NEWS: New item for IBM z13 string optimizations.
15845         * sysdeps/s390/multiarch/memrchr-c.c: New File.
15846         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
15847         * sysdeps/s390/multiarch/memrchr.c: Likewise.
15848         * sysdeps/s390/multiarch/Makefile
15849         (sysdep_routines): Add memrchr functions.
15850         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
15851         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
15853         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
15854         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
15855         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
15856         * sysdeps/s390/multiarch/Makefile
15857         (sysdep_routines): Add wmemcmp functions.
15858         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
15859         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
15860         * benchtests/bench-wmemcmp.c: New File.
15861         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
15863         * sysdeps/s390/multiarch/wmemset-c.c: New File.
15864         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
15865         * sysdeps/s390/multiarch/wmemset.c: Likewise.
15866         * sysdeps/s390/multiarch/Makefile
15867         (sysdep_routines): Add wmemset functions.
15868         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
15869         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
15870         * wcsmbs/wmemset.c: Use WMEMSET if defined.
15871         * string/test-memset.c: Add wmemset support.
15872         * wcsmbs/test-wmemset.c: New File.
15873         * wcsmbs/Makefile (strop-tests): Add wmemset.
15874         * benchtests/bench-memset.c: Add wmemset support.
15875         * benchtests/bench-wmemset.c: New File.
15876         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
15878         * sysdeps/s390/multiarch/memccpy-c.c: New File.
15879         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
15880         * sysdeps/s390/multiarch/memccpy.c: Likewise.
15881         * sysdeps/s390/multiarch/Makefile
15882         (sysdep_routines): Add memccpy functions.
15883         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
15884         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
15885         * string/memccpy.c: Use MEMCCPY if defined.
15887         * sysdeps/s390/multiarch/memchr-vx.S: New File.
15888         * sysdeps/s390/multiarch/memchr.c: Likewise.
15889         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
15890         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
15891         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
15892         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
15893         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
15894         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
15895         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
15896         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
15897         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
15898         and rawmemchr functions.
15899         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
15900         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
15901         and wmemchr.
15902         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
15903         * string/test-memchr.c: Add wmemchr support.
15904         * wcsmbs/test-wmemchr.c: New File.
15905         * wcsmbs/Makefile (strop-tests): Add wmemchr.
15906         * benchtests/bench-memchr.c: Add wmemchr support.
15907         * benchtests/bench-wmemchr.c: New File.
15908         * benchtests/Makefile (wcsmbs-bench): wmemchr.
15910         * sysdeps/s390/multiarch/strcspn-c.c: New File.
15911         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
15912         * sysdeps/s390/multiarch/strcspn.c: Likewise.
15913         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
15914         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
15915         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
15916         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
15917         wcscspn functions.
15918         * sysdeps/s390/multiarch/ifunc-impl-list.c
15919         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
15920         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
15921         * string/test-strcspn.c: Add wcscspn support.
15922         * wcsmbs/test-wcscspn.c: New File.
15923         * wcsmbs/Makefile (strop-tests): Add wcscspn.
15924         * benchtests/bench-strcspn.c: Add wcscspn support.
15925         * benchtests/bench-wcscspn.c: New File.
15926         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
15928         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
15929         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
15930         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
15931         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
15932         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
15933         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
15934         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
15935         wcspbrk functions.
15936         * sysdeps/s390/multiarch/ifunc-impl-list.c
15937         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
15938         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
15939         * string/test-strpbrk.c: Add wcspbrk support.
15940         * wcsmbs/test-wcspbrk.c: New File.
15941         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
15942         * benchtests/bench-strpbrk.c: Add wcspbrk support.
15943         * benchtests/bench-wcspbrk.c: New File.
15944         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
15946         * sysdeps/s390/multiarch/strspn-c.c: New File.
15947         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
15948         * sysdeps/s390/multiarch/strspn.c: Likewise.
15949         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
15950         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
15951         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
15952         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
15953         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
15954         wcsspn functions.
15955         * sysdeps/s390/multiarch/ifunc-impl-list.c
15956         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
15957         * string/test-strspn.c: Add wcsspn support.
15958         * wcsmbs/test-wcsspn.c: New File.
15959         * wcsmbs/Makefile (strop-tests): Add wcsspn.
15960         * benchtests/bench-strspn.c: Add wcsspn support.
15961         * benchtests/bench-wcsspn.c: New File.
15962         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
15964         * sysdeps/s390/multiarch/strrchr-c.c: New File.
15965         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
15966         * sysdeps/s390/multiarch/strrchr.c: Likewise.
15967         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
15968         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
15969         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
15970         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
15971         wcsrchr functions.
15972         * sysdeps/s390/multiarch/ifunc-impl-list.c
15973         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
15974         * benchtests/bench-wcsrchr.c: New File.
15975         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
15977         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
15978         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
15979         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
15980         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
15981         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
15982         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
15983         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
15984         wcschrnul functions.
15985         * sysdeps/s390/multiarch/ifunc-impl-list.c
15986         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
15987         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
15988         * string/test-strchr.c: Add wcschrnul support.
15989         * wcsmbs/test-wcschrnul.c: New File.
15990         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
15991         * benchtests/bench-strchr.c: Add wcschrnul support.
15992         * benchtests/bench-wcschrnul.c: New File.
15993         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
15995         * sysdeps/s390/multiarch/strchr-c.c: New File.
15996         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
15997         * sysdeps/s390/multiarch/strchr.c: Likewise.
15998         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
15999         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
16000         * sysdeps/s390/multiarch/wcschr.c: Likewise.
16001         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
16002         wcschr functions.
16003         * sysdeps/s390/multiarch/ifunc-impl-list.c
16004         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
16005         * string/strchr.c (STRCHR): Define and use macro.
16006         * benchtests/bench-wcschr.c: New File.
16007         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
16009         * sysdeps/s390/multiarch/strncmp-c.c: New File.
16010         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
16011         * sysdeps/s390/multiarch/strncmp.c: Likewise.
16012         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
16013         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
16014         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
16015         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
16016         wcsncmp functions.
16017         * sysdeps/s390/multiarch/ifunc-impl-list.c
16018         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
16019         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
16020         * benchtests/bench-strncmp.c: Add wcsncmp support.
16021         * benchtests/bench-wcsncmp.c: New File.
16022         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
16024         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
16025         * sysdeps/s390/multiarch/strcmp.c: Likewise.
16026         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
16027         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
16028         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
16029         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
16030         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
16031         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
16032         wcscmp functions.
16033         * sysdeps/s390/multiarch/ifunc-impl-list.c
16034         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
16035         * string/strcmp.c (STRCMP): Define and use macro.
16036         * benchtests/bench-wcscmp.c: New File.
16037         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
16038         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
16039         instead of _HAVE_STRING_ARCH_memchr.
16041         * sysdeps/s390/multiarch/strncat-c.c: New File.
16042         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
16043         * sysdeps/s390/multiarch/strncat.c: Likewise.
16044         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
16045         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
16046         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
16047         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
16048         wcsncat functions.
16049         * sysdeps/s390/multiarch/ifunc-impl-list.c
16050         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
16051         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
16052         * string/test-strncat.c: Add wcsncat support.
16053         * wcsmbs/test-wcsncat.c: New File.
16054         * wcsmbs/Makefile (strop-tests): Add wcsncat.
16055         * benchtests/bench-strncat.c: Add wcsncat support.
16056         * benchtests/bench-wcsncat.c: New File.
16057         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
16059         * sysdeps/s390/multiarch/strcat-c.c: New File.
16060         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
16061         * sysdeps/s390/multiarch/strcat.c: Likewise.
16062         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
16063         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
16064         * sysdeps/s390/multiarch/wcscat.c: Likewise.
16065         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
16066         wcscat functions.
16067         * sysdeps/s390/multiarch/ifunc-impl-list.c
16068         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
16069         * string/strcat.c (STRCAT): Define and use macro.
16070         * wcsmbs/wcscat.c: Use WCSCAT if defined.
16071         * string/test-strcat.c: Add wcscat support.
16072         * wcsmbs/test-wcscat.c: New File.
16073         * wcsmbs/Makefile (strop-tests): Add wcscat.
16074         * benchtests/bench-strcat.c: Add wcscat support.
16075         * benchtests/bench-wcscat.c: New File.
16076         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
16078         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
16079         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
16080         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
16081         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
16082         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
16083         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
16084         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
16085         wcpncpy functions.
16086         * sysdeps/s390/multiarch/ifunc-impl-list.c
16087         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
16088         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
16089         * string/test-stpncpy.c: Add wcpncpy support.
16090         * wcsmbs/test-wcpncpy.c: New File.
16091         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
16092         * benchtests/bench-stpncpy.c: Add wcpncpy support.
16093         * benchtests/bench-wcpncpy.c: New File.
16094         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
16096         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
16097         * sysdeps/s390/multiarch/strncpy.c: Likewise.
16098         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
16099         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
16100         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
16101         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
16102         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
16103         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
16104         wcsncpy functions.
16105         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
16106         * sysdeps/s390/multiarch/ifunc-impl-list.c
16107         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
16108         * string/test-strncpy.c: Add wcsncpy support.
16109         * wcsmbs/test-wcsncpy.c: New File.
16110         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
16111         * benchtests/bench-strncpy.c: Add wcsncpy support.
16112         * benchtests/bench-wcsncpy.c: New File.
16113         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
16115         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
16116         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
16117         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
16118         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
16119         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
16120         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
16121         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
16122         wcpcpy functions.
16123         * string/stpcpy.c: Use STPCPY if defined.
16124         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
16125         * sysdeps/s390/multiarch/ifunc-impl-list.c
16126         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
16127         * string/test-stpcpy.c: Add wcpcpy support.
16128         * wcsmbs/test-wcpcpy.c: New File.
16129         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
16130         * benchtests/bench-stpcpy.c: Add wcpcpy support.
16131         * benchtests/bench-wcpcpy.c: New File.
16132         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
16134         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
16135         * sysdeps/s390/multiarch/strcpy.c: Likewise.
16136         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
16137         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
16138         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
16139         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
16140         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
16141         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
16142         wcscpy functions.
16143         * sysdeps/s390/multiarch/ifunc-impl-list.c
16144         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
16145         * benchtests/bench-wcscpy.c: New File.
16146         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
16148         * sysdeps/s390/multiarch/strnlen-c.c: New File.
16149         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
16150         * sysdeps/s390/multiarch/strnlen.c: Likewise.
16151         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
16152         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
16153         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
16154         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
16155         wcsnlen functions.
16156         * sysdeps/s390/multiarch/ifunc-impl-list.c
16157         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
16158         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
16159         * string/test-strnlen.c: Add wcsnlen support.
16160         * wcsmbs/test-wcsnlen.c: New File.
16161         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
16162         * benchtests/bench-strnlen.c: Add wcsnlen support.
16163         * benchtests/bench-wcsnlen.c: New File.
16164         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
16166         * sysdeps/s390/multiarch/Makefile: New File.
16167         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
16168         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
16169         * sysdeps/s390/multiarch/strlen.c: Likewise.
16170         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
16171         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
16172         * sysdeps/s390/multiarch/wcslen.c: Likewise.
16173         * string/strlen.c (STRLEN): Define and use macro.
16174         * sysdeps/s390/multiarch/ifunc-impl-list.c
16175         (IFUNC_VX_IMPL): New macro function.
16176         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
16177         * benchtests/Makefile (wcsmbs-bench): New variable.
16178         (string-bench-all): Added wcsmbs-bench.
16179         * benchtests/bench-wcslen.c: New File.
16181         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
16182         s390_vx_libc_ifunc2): New macro function.
16184         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
16185         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
16186         assembler support.
16187         * sysdeps/s390/configure: Regenerated.
16189         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
16190         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
16192         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
16193         * sysdeps/s390/dl-procinfo.h: Add vector capability.
16194         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
16196         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
16197         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
16198         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
16199         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
16200         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
16201         (memcmp, bcmp): Use __memcmp_default as alias source.
16202         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
16203         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
16204         Rename to __memcmp_default.
16205         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
16206         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
16207         (memcpy): Use __memcpy_default as alias source.
16208         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
16209         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
16210         Rename to __memcpy_default.
16211         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
16212         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
16213         (memset): Use __memset_default as alias source.
16214         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
16215         * sysdeps/s390/s390-32/memset.S (__memset_g5):
16216         Rename to __memset_default.
16217         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
16218         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
16219         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
16220         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
16221         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
16222         (memcmp, bcmp): Use __memcmp_default as alias source.
16223         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
16224         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
16225         Rename to __memcmp_default.
16226         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
16227         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
16228         (memcpy): Use __memcpy_default as alias source.
16229         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
16230         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
16231         Rename to __memcpy_default.
16232         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
16233         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
16234         (memset): Use __memset_default as alias source.
16235         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
16236         * sysdeps/s390/s390-64/memset.S (__memset_z900):
16237         Rename to __memset_default.
16238         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
16239         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
16241         [BZ #18610]
16242         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
16243         __ieee_instruction_pointer to __unused.
16244         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
16245         __ieee_instruction_pointer.
16246         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
16247         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
16248         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
16249         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
16250         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
16251         Mark dxc-field as reserved.
16253 2015-08-25  Roland McGrath  <roland@hack.frob.com>
16255         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
16256         if the weak reference is not null.
16258 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
16260         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
16262         [BZ #11214]
16263         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
16265 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16267         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
16268         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
16269         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
16270         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
16271         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
16272         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
16273         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
16274         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
16275         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
16276         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
16277         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
16278         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
16279         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
16280         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
16281         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
16282         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
16283         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
16284         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
16286 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16288         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
16289         register other than r0 for tabort, it has special meaning.
16290         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
16291         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
16292         transaction before starting syscall.
16294 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16296         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
16298 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
16300         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
16302         * sysdeps/x86_64/rtld-memcmp.c: Removed.
16303         * sysdeps/x86_64/rtld-memset.S: Likewise.
16304         * sysdeps/x86_64/rtld-strchr.S: Likewise.
16305         * sysdeps/x86_64/rtld-strlen.S: Likewise.
16306         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
16307         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
16309         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
16311 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
16313         * debug/strcpy_chk.c: Improve performance.
16314         * debug/stpcpy_chk.c: Likewise.
16315         * sysdeps/x86_64/strcpy_chk.S: Remove.
16316         * sysdeps/x86_64/stpcpy_chk.S: Remove.
16318         [BZ #18240]
16319         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
16321 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
16323         [BZ #15128]
16324         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
16325         ifuncmain8.
16326         (modules-names): Add ifuncmod8.
16327         ($(objpfx)ifuncmain8): New rule.
16328         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
16329         <cpuid.h>.
16330         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
16331         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
16332         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
16333         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
16334         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
16335         * sysdeps/x86_64/dl-trampoline.h: Likewise.
16336         * sysdeps/x86_64/ifuncmain8.c: New file.
16337         * sysdeps/x86_64/ifuncmod8.c: Likewise.
16338         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
16339         Removed.
16340         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
16341         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
16342         Change rtld_savespace_sse to __glibc_unused2.
16343         (RTLD_CHECK_FOREIGN_CALL): Removed.
16344         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
16345         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
16346         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
16348 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
16350         * sysdeps/aarch64/bzero.S (__bzero): Remove.
16352 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
16354         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
16355         Unconditionally set __fpcr to avoid uninialized warning.
16356         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
16358 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16360         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
16361         is corrupt.
16363         * malloc/arena.c (arena_get2): Drop unused argument.
16364         (arena_lock): Adjust.
16365         (arena_get_retry): Likewise.
16367 2015-08-24  Andreas Schwab  <schwab@suse.de>
16369         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
16370         Don't define.
16371         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
16372         (__ASSUME_IPC64): Don't undef.
16373         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
16374         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
16375         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
16376         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
16377         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
16378         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
16379         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
16380         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
16381         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
16382         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
16383         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
16384         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
16385         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
16386         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
16387         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
16388         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
16389         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
16390         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
16391         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
16392         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
16393         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
16395 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
16397         * manual/Makefile (install): Only build manual when perl is available.
16399 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
16401         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
16402         '#undef memcpy' by '#undef memchr'.
16404 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
16406         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
16407         memchr not point to the internal __GI_memchr implementation.
16409 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
16411         * timezone/Makefile (CFLAGS-zdump.c): Remove
16412         -Wno-strict-prototypes.
16413         (CFLAGS-zic.c): Likewise.
16414         (CFLAGS-ialloc.c): Likewise.
16415         (CFLAGS-scheck.c): Likewise.
16417         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
16418         -Wno-error=undef.
16420 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
16422         * i386/i686/multiarch/strcasestr-c.c: Removed.
16423         * x86_64/multiarch/strcasestr.c: Likewise.
16424         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16425         Remove strcasestr.
16427 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
16429         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
16431         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
16432         variables for high and low parts before possibly modifying them.
16434 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
16436         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
16437         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
16438         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
16439         of "multiarch/init-arch.h".
16440         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
16441         * sysdeps/x86/init-arch.h: This.
16443 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
16445         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
16446         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
16448 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
16450         [BZ #17787]
16451         * manual/macros.texi: Add twoexp macro.
16452         * manual/filesys.texi: Fix exponents.
16453         * manual/llio.texi: Likewise.
16454         * manual/stdio.texi: Likewise.
16456 2015-08-20  Florian Weimer  <fweimer@redhat.com>
16458         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
16459         incorrect use.
16461 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
16463         [BZ #18370]
16464         * math/s_csqrt.c (__csqrt): Force underflow exception for results
16465         whose real or imaginary part has small absolute value.
16466         * math/s_csqrtf.c (__csqrtf): Likewise.
16467         * math/s_csqrtl.c (__csqrtl): Likewise.
16468         * math/auto-libm-test-in: Add more tests of csqrt.
16469         * math/auto-libm-test-out: Regenerated.
16470         * sysdeps/i386/fpu/libm-test-ulps: Update.
16472 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
16474         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
16475         __ppc_set_ppr_very_low): New functions.
16476         * manual/platform.texi: Add documentation about
16477         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
16479 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
16481         * string/stpncpy.c (stpncpy): Improve performance using
16482         __strnlen/memcpy/memset.
16484 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
16486         [BZ #18796]
16487         * scripts/test-installation.pl: Don't add -lmvec to build options if
16488         libmvec wasn't built.
16490 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
16492         [BZ #14341]
16493         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
16494         case when there is a gap between DT_REL and DT_JMPREL sections.
16495         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
16496         (LDFLAGS-tst-split-dynreloc): New.
16497         (tst-split-dynreloc-ENV): Likewise.
16498         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
16499         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
16501 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
16503         [BZ #18822]
16504         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
16505         attribute_hidden.
16506         (__xstat64_conv): Likewise.
16507         (__xstat32_conv): Likewise.
16509 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
16511         [BZ #18822]
16512         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
16513         Don't load %ebx when calling __setcontext.  Call __setcontext
16514         with HIDDEN_JUMPTARGET.
16515         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
16516         libc_hidden_def.
16518 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
16520         * sysdeps/i386/i686/Makefile
16521         [$(subdir) == string] (sysdep_routines): Moved to ...
16522         * sysdeps/i386/Makefile: Here.
16523         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
16524         * sysdeps/i386/cacheinfo.c: Here.
16525         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
16526         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
16527         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
16528         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
16530 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
16532         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
16533         __i586__ is defined.
16534         (HAS_I686): Defined to 1 if __i686__ is defined.
16536 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
16538         * elf/Makefile [$(have-z-execstack) = yes]
16539         (CPPFLAGS-tst-execstack.c): New variable.
16541         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
16542         conditional to [defined UTMPX || _HAVE_UT_TYPE].
16543         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
16544         UTMPX || _HAVE_UT_TV].
16545         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
16546         UTMPX || _HAVE_UT_TV - 0].
16548 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
16550         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
16551         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
16552         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
16554 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
16556         * sysdeps/powerpc/dl-procinfo.c:
16557         (_dl_powerpc_cap_flags): Added missing strings for some
16558         hwcap features.
16559         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
16561 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
16563         Port the 0x7efe...feff pattern to GCC 6.
16564         See Steve Ellcey's bug report in:
16565         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
16566         * string/memrchr.c (MEMRCHR):
16567         * string/rawmemchr.c (RAWMEMCHR):
16568         * string/strchr.c (strchr):
16569         * string/strchrnul.c (STRCHRNUL):
16570         Rewrite code to avoid issues with signed shift overflow.
16572 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
16574         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
16575         whether cpuid is available only if HAS_CPUID is 0.
16576         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
16577         (HAS_I586): Likewise.
16578         (HAS_I686): Likewise.
16580 2015-08-18  Zack Weinberg  <zackw@panix.com>
16582         * misc/Versions (libc): Add GLIBC_2.23.
16584 2015-08-18  Alan Modra  <amodra@gmail.com>
16586         [BZ #18421]
16587         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
16588         .Lp__global.
16589         (_start): Load %dp via .Lp__global.
16590         [!SHARED]: Use .section .rodata.
16592 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16594         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
16595         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
16597 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16599         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
16600         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
16602 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16604         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
16605         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
16607 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16609         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
16610         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
16612 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16614         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
16615         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
16617 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16619         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
16620         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
16622 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16624         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
16626 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16628         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
16629         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
16630         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
16631         (__ASSUME_LWS_CAS): Delete.
16633 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16635         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
16636         * sysdeps/hppa/configure: Regenerated.
16637         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
16638         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
16639         * sysdeps/hppa/nptl/tls.h: Likewise.
16641 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
16643         [BZ #18823]
16644         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
16645         for scaling up small arguments.
16646         * math/s_csqrtf.c (__csqrtf): Likewise.
16647         * math/s_csqrtl.c (__csqrtl): Likewise.
16648         * math/auto-libm-test-in: Add more tests of csqrt.
16649         * math/auto-libm-test-out: Regenerated.
16651 2015-08-17  Andreas Schwab  <schwab@suse.de>
16653         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
16654         version set GLIBC_2.19.
16656 2015-08-16  Zack Weinberg  <zackw@panix.com>
16658         [BZ #18681]
16659         * misc/regexp.h: This interface is no longer supported.
16660         Remove all contents, leaving only an #error directive.
16661         * misc/regexp.c (loc1, loc2, locs, step, advance):
16662         Demote to compatibility symbols.
16664 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
16666         [BZ #18084]
16667         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
16668         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
16669         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
16670         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
16671         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
16672         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
16673         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
16674         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
16675         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
16677 2015-08-15  Zack Weinberg  <zackw@panix.com>
16679         [BZ #18795]
16680         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
16681         buffer length is known to be too large, not if it's known to be
16682         small enough.
16683         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
16684         overflow at runtime, involving a length parameter, twice: once
16685         with a compile-time constant length parameter, once without.
16687 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
16689         [BZ #18824]
16690         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
16691         scaling x * y up instead of down.
16692         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16693         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16694         * math/auto-libm-test-in: Add more tests of fma.
16695         * math/auto-libm-test-out: Regenerated.
16697 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
16699         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16701 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
16703         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
16704         unnecessary movq.
16705         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
16706         Likewise.
16708 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
16710         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
16711         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
16712         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
16713         and tgamma.
16714         * math/auto-libm-test-out: Regenerated.
16715         * sysdeps/i386/fpu/libm-test-ulps: Update.
16716         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16718         [BZ #16520]
16719         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
16720         (__tanh): Force underflow exception for arguments with small
16721         absolute value.
16722         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
16723         (__tanhf): Force underflow exception for arguments with small
16724         absolute value.
16725         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
16726         (__tanhl): Force underflow exception for arguments with small
16727         absolute value.
16728         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
16729         (__tanhl): Force underflow exception for arguments with small
16730         absolute value.
16731         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
16732         (__tanhl): Force underflow exception for arguments with small
16733         absolute value.
16734         * math/auto-libm-test-in: Add more tests of tanh.
16735         * math/auto-libm-test-out: Regenerated.
16736         * sysdeps/i386/fpu/libm-test-ulps: Update.
16738 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
16740         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
16741         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
16743 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
16745         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
16746         <cpuid.h>.
16748 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
16750         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
16751         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
16753 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
16755         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
16756         Remove $(objpfx)init-arch.o.
16757         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
16758         init-arch.
16759         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
16760         (INIT_ARCH_EXT): Defined as empty.
16761         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
16762         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
16763         __init_cpu_features call.  Replace HAS_XXX with
16764         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
16765         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
16766         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
16767         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
16768         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
16769         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
16770         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
16771         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
16772         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
16773         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
16774         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
16775         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
16776         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
16777         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
16778         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
16779         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
16780         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
16781         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
16782         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
16783         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
16784         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
16785         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
16786         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
16787         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
16788         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
16789         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
16790         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
16791         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
16792         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
16793         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
16794         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
16795         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
16796         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
16797         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
16798         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
16799         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
16801 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
16803         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
16804         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
16805         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
16806         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
16807         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
16808         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
16809         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
16810         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
16811         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
16812         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
16813         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
16814         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
16815         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
16816         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
16817         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
16818         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
16819         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
16820         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
16821         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
16822         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
16823         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
16824         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
16825         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
16826         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
16827         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
16828         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
16829         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
16830         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
16831         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
16832         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
16833         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
16834         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
16835         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
16836         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16837         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
16838         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
16839         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
16840         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
16841         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
16842         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
16843         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
16844         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
16845         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
16847 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
16849         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
16850         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
16851         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
16852         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
16853         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
16854         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
16855         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
16856         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
16857         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
16858         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
16859         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
16860         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
16861         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
16862         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
16863         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
16864         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
16865         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
16866         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
16867         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
16868         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
16869         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
16870         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
16871         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
16872         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
16873         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
16874         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
16875         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
16876         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
16877         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
16878         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
16879         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
16880         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
16881         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
16882         * sysdeps/x86_64/multiarch/memset.S: Likewise.
16883         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16884         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
16885         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
16886         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
16887         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
16888         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
16889         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
16890         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
16891         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
16893 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
16895         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
16896         (dl_platform_init): Call init_cpu_features.
16897         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
16898         * sysdeps/i386/i686/cacheinfo.c
16899         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
16900         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
16901         * sysdeps/i386/i686/multiarch/Versions: Removed.
16902         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
16903         Removed.
16904         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
16905         * sysdeps/unix/sysv/linux/x86/Makefile
16906         (libpthread-sysdep_routines): Remove init-arch.
16907         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
16908         <sysdeps/x86_64/dl-procinfo.c> instead of
16909         sysdeps/generic/dl-procinfo.c>.
16910         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
16911         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
16912         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
16913         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
16914         [$(subdir) == elf] (tests-static): Add
16915         tst-get-cpu-features-static.
16916         * sysdeps/x86/Versions: New file.
16917         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
16918         * sysdeps/x86/cpu-features.c: Likewise.
16919         * sysdeps/x86/cpu-features.h: Likewise.
16920         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
16921         * sysdeps/x86/libc-start.c: Likewise.
16922         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
16923         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
16924         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
16925         * sysdeps/x86_64/dl-procinfo.c: Likewise.
16926         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
16927         Assume USE_MULTIARCH is defined and don't check it.
16928         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
16929         (is_amd): Likewise.
16930         (max_cpuid): Likewise.
16931         (intel_check_word): Likewise.
16932         (__cache_sysconf): Don't call __init_cpu_features.
16933         (__x86_preferred_memory_instruction): Removed.
16934         (init_cacheinfo): Don't call __init_cpu_features. Replace
16935         __cpu_features with GLRO(dl_x86_cpu_features).
16936         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
16937         (dl_platform_init): Call init_cpu_features.
16938         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
16939         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
16940         * sysdeps/x86_64/multiarch/Versions: Removed.
16941         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
16942         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
16943         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
16944         Removed.
16945         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
16947 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
16949         [BZ #18820]
16950         * libio/Makefile (test-fmemopen-mem): New test.
16951         * libio/test-fmemopen.c (do_bz18820): New test.
16952         * libio/fmemopen.c (__fmemopen): Fix memory leak.
16953         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
16955 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
16957         [BZ #16734]
16958         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
16959         (FREE_BUF): Delete.
16960         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
16961         * libio/genops.c (_IO_setb): Use malloc and free directly.
16962         (_IO_default_doallocate, _IO_default_finish): Likewise.
16963         ( _IO_unbuffer_all): Likewise.
16964         ( libc_freeres_fn): Likewise.
16965         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
16966         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
16967         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
16968         (_IO_wdefault_doallocate): Likewise.
16970 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
16972         [BZ #18086]
16973         * sysdeps/posix/nice.c (nice): Restore old errno.
16974         * posix/tst-nice.c (do_test): Add test for BZ #18086.
16976 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
16978         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
16980 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16982         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
16983         __bcopy and add a weak_alias to bcopy.
16984         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
16985         for static build.
16987         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
16988         cleanup macro usage.
16989         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
16990         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
16991         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
16992         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
16993         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
16994         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
16995         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
16996         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
16997         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
16998         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
16999         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
17000         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
17001         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
17002         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
17003         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
17004         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
17005         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
17006         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
17007         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
17009         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
17010         libc_hidden_def.
17011         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
17013         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
17014         (sysdep_routines): Add strstr-ppc64.
17015         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
17017 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
17019         [BZ #18778]
17020         * elf/Makefile (tests): Add Add tst-nodelete2.
17021         (modules-names): Add tst-nodelete2mod.
17022         (tst-nodelete2mod.so-no-z-defs): New.
17023         ($(objpfx)tst-nodelete2): Likewise.
17024         ($(objpfx)tst-nodelete2.out): Likewise.
17025         (LDFLAGS-tst-nodelete2): Likewise.
17026         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
17027         out of loop through all loaded libraries.
17028         * elf/tst-nodelete2.c: New file.
17029         * elf/tst-nodelete2mod.c: Likewise.
17030         * elf/tst-znodelete-zlib.cc: Delete.
17032 2015-08-11  Andreas Schwab  <schwab@suse.de>
17034         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
17035         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
17036         (__openat64_nocancel): Likewise.
17038 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
17040         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
17041         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
17042         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
17043         * math/auto-libm-test-out: Regenerated.
17044         * sysdeps/i386/fpu/libm-test-ulps: Update.
17045         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17047 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
17049         [BZ #18790]
17050         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
17051         threshold for returning +/- 1.
17052         * math/auto-libm-test-in: Add more tests of tanh.
17053         * math/auto-libm-test-out: Regenerated.
17054         * sysdeps/i386/fpu/libm-test-ulps: Update.
17056 2015-08-10  Andreas Schwab  <schwab@suse.de>
17058         [BZ #18781]
17059         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
17060         MORE_OFLAGS to oflag.
17061         * io/test-lfs.c (do_test): Test openat64.
17063 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
17065         [BZ #18789]
17066         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
17067         smaller threshold for returning the argument.
17068         * math/auto-libm-test-in: Add more tests of sinh.
17069         * math/auto-libm-test-out: Regenerated.
17070         * sysdeps/i386/fpu/libm-test-ulps: Update.
17072 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
17074         [BZ #18674]
17075         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
17076         break.
17078 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
17080         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
17081         (generated): Don't add $(addprefix z.,$(tzfiles)).
17083 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
17085         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
17086         * scripts/sysd-rules.awk: Likewise.
17088 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
17090         * iconvdata/tst-tables.sh: Change echo -n to printf.
17091         * nss/db-Makefile: Likewise.
17092         * posix/tst-getconf.sh: Likewise.
17093         * stdio-common/tst-unbputc.sh: Likewise.
17095 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
17097         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
17098         MADV_*_PAGES defines behind this feature check.
17100 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
17102         [BZ #18480]
17103         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
17104         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
17105         Define.
17106         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
17107         LOAD_REGS_5, LOAD_REGS_6): Update.
17108         (INTERNAL_SYSCALL): Update using new LOAD defines.
17109         (INTERNAL_SYSCALL_NCS): Likewise.
17110         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
17112 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
17114         [BZ #16734]
17115         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
17117 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
17119         [BZ #17905]
17120         * catgets/Makefile (tst-catgets-mem): New test.
17121         * catgets/catgets.c (catopen): Don't use unbounded alloca.
17122         * catgets/open_catalog.c (__open_catalog): Likewise.
17123         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
17125 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
17127         [BZ #18787]
17128         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
17129         clobber registers.
17130         (atomic_compare_and_exchange_val_acq): Use register asms to assign
17131         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
17132         Cast return to __typeof (oldval).
17134 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
17136         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
17137         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
17138         and delete sys/syscall.h include.
17140 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
17142         [BZ #16517]
17143         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
17144         (tan): Force underflow exception for arguments with small absolute
17145         value.
17146         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
17147         (__kernel_tanf): Force underflow exception for arguments with
17148         small absolute value.
17149         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
17150         (__kernel_tanl): Force underflow exception for arguments with
17151         small absolute value.
17152         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
17153         (__kernel_tanl): Force underflow exception for arguments with
17154         small absolute value.
17155         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
17156         (__kernel_tanl): Force underflow exception for arguments with
17157         small absolute value.
17158         * math/auto-libm-test-in: Add more tests of tan.
17159         * math/auto-libm-test-out: Regenerated.
17161 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17163         Fix sysdeps/i386/fpu/s_scalbn.S build
17165         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
17167 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
17169         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
17171 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17173         Fix gcrt0.o compilation
17175         When static-start-installed-name is different from
17176         start-installed-name, we must not use the shared objects.
17178         * csu/Makefile
17179         (extra-objs): Add gmon-start.o when building shared library and
17180         $(static-start-installed-name) is different from
17181         $(start-installed-name).
17182         $(objpfx)g$(static-start-installed-name): When building shared
17183         library and $(static-start-installed-name) is different from
17184         $(static-start-installed-name), revert to non-shared rule,
17185         i.e. using $(objpfx)% and gmon-start.o.
17187 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
17189         [BZ #16519]
17190         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
17191         (__ieee754_sinh): Force underflow exception for arguments with
17192         small absolute value.
17193         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
17194         (__ieee754_sinhf): Force underflow exception for arguments with
17195         small absolute value.
17196         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
17197         (__ieee754_sinhl): Force underflow exception for arguments with
17198         small absolute value.
17199         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
17200         (__ieee754_sinhl): Force underflow exception for arguments with
17201         small absolute value.
17202         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
17203         (__ieee754_sinhl): Force underflow exception for arguments with
17204         small absolute value.
17205         * math/auto-libm-test-in: Add more tests of sinh.
17206         * math/auto-libm-test-out: Regenerated.
17207         * sysdeps/i386/fpu/libm-test-ulps: Update.
17209 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
17211         * libio/oldfileops.c: Include unistd.h.
17213 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
17215         * stdlib/isomac.c: Include ctype.h.
17217 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
17219         * dirent/tst-seekdir.c (main): Converted to ...
17220         (do_test): ... this.
17221         (TEST_FUNCTION): New macro.
17222         Include test-skeleton.c.
17223         * elf/tst-dlmodcount.c (main): Converted to ...
17224         (do_test): ... this.
17225         (TEST_FUNCTION): New macro.
17226         Include test-skeleton.c.
17227         * elf/tst-order-main.c (main): Converted to ...
17228         (do_test): ... this.
17229         (TEST_FUNCTION): New macro.
17230         Include test-skeleton.c.
17231         * elf/tst-pie2.c (main): Converted to ...
17232         (do_test): ... this.
17233         (TEST_FUNCTION): New macro.
17234         Include test-skeleton.c.
17235         * inet/tst-ether_aton.c (main): Converted to ...
17236         (do_test): ... this.
17237         (TEST_FUNCTION): New macro.
17238         Include test-skeleton.c.
17239         * misc/tst-mntent.c (main): Converted to ...
17240         (do_test): ... this.
17241         (TEST_FUNCTION): New macro.
17242         Include test-skeleton.c.
17243         * misc/tst-tsearch.c (main): Converted to ...
17244         (do_test): ... this.
17245         (TEST_FUNCTION): New macro.
17246         Include test-skeleton.c.
17247         * posix/tst-regexloc.c (main): Converted to ...
17248         (do_test): ... this.
17249         (TEST_FUNCTION): New macro.
17250         Include test-skeleton.c.
17251         * resolv/tst-aton.c (main): Converted to ...
17252         (do_test): ... this.
17253         (TEST_FUNCTION): New macro.
17254         Include test-skeleton.c.
17255         * stdio-common/test-fwrite.c (main): Converted to ...
17256         (do_test): ... this.
17257         (TEST_FUNCTION): New macro.
17258         Include test-skeleton.c.
17259         * stdio-common/tst-ferror.c (main): Converted to ...
17260         (do_test): ... this.
17261         (TEST_FUNCTION): New macro.
17262         Include test-skeleton.c.
17263         * stdio-common/tst-printf.c (main): Converted to ...
17264         (do_test): ... this.
17265         (TEST_FUNCTION): New macro.
17266         Include test-skeleton.c.
17267         * stdio-common/tst-printfsz.c (main): Converted to ...
17268         (do_test): ... this.
17269         (TEST_FUNCTION): New macro.
17270         Include test-skeleton.c.
17271         * stdlib/tst-strtod.c (main): Converted to ...
17272         (do_test): ... this.
17273         (TEST_FUNCTION): New macro.
17274         Include test-skeleton.c.
17275         * string/tst-strlen.c (main): Converted to ...
17276         (do_test): ... this.
17277         (TEST_FUNCTION): New macro.
17278         Include test-skeleton.c.
17279         * string/tst-svc.c (main): Converted to ...
17280         (do_test): ... this.
17281         (TEST_FUNCTION): New macro.
17282         Include test-skeleton.c.
17283         * time/tst-strptime.c (main): Converted to ...
17284         (do_test): ... this.
17285         (TEST_FUNCTION): New macro.
17286         Include test-skeleton.c.
17287         * timezone/tst-timezone.c (main): Converted to ...
17288         (do_test): ... this.
17289         (TEST_FUNCTION): New macro.
17290         Include test-skeleton.c.
17292 2015-08-05  Zack Weinberg  <zackw@panix.com>
17294         * misc/regexp.h: Update comments.
17296 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
17298         [BZ #18635]
17299         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
17300         before return label.
17302 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
17304         [BZ #18661]
17305         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
17306         when calling __errno_location.
17307         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
17308         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
17310 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
17312         [BZ #18661]
17313         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
17314         (__lll_timedwait_tid): Align stack to 16 bytes when calling
17315         __gettimeofday.
17317 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
17319         [BZ #18661]
17320         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
17321         (__start_context): Don't use pop to restore %rdi so that stack
17322         is aligned to 16 bytes when calling __setcontext.
17324 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
17326         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
17327         only for libc.
17328         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
17330 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
17332         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
17333         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
17334         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
17336 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
17338         * string/memccpy.c (memccpy):
17339         Improve performance by using memchr/memcpy/__mempcpy.
17341 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
17343         * string/strncpy.c (strncpy):
17344         Improve performance by using __strnlen/memcpy.
17346 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
17348         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
17349         Optimize to avoid an unnecessary FPCR read.
17351 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
17353         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
17354         Optimize to reduce FPCR/FPSR accesses.
17356 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
17358         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
17359         dead->data[category] != NULL.
17361 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
17363         [BZ #18647]
17364         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
17365         and |x| close to 1, use absolute value of x when computing log.
17366         * math/auto-libm-test-in: Add more tests of pow.
17367         * math/auto-libm-test-out: Regenerated.
17369 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17371         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
17372         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
17373         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
17375 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
17377         [BZ #18525]
17378         * locales/km_KH: Remove timezone definition.
17379         * locales/lo_LA: Likewise.
17380         * locales/my_MM: Likewise.
17381         * locales/nan_TW@latin: Likewise.
17382         * locales/th_TH: Likewise.
17383         * locales/uk_UA: Likewise.
17385 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
17387         [BZ #18265]
17388         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
17389         (wcsncat): Likewise.
17390         (wcscmp): Likewise.
17391         (wcsncmp): Likewise.
17393 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
17395         * test-skeleton.c (usage): New function.
17396         (main): Call usage when opt is '?'.
17398 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
17400         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
17401         before first use.
17403 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
17405         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
17406         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
17407         in there too.
17409 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
17411         * version.h (RELEASE): Set to "development".
17412         (VERSION): Set to "2.22.90"
17414         * version.h (RELEASE): Set to "stable".
17415         (VERSION): Set to "2.22"
17416         * include/features.h (__GLIBC_MINOR__): Set to 22.
17418 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
17420         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
17421         Restructure macro to avoid "value computed is not used" warning.
17422         (atomic_compare_and_exchange_val_acq): Likewise.
17424 2015-08-04  Andreas Schwab  <schwab@suse.de>
17426         [BZ #18635]
17427         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
17428         ret.
17429         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
17431 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
17433         * po/pl.po: Updated translation.
17434         * po/uk.po: Likewise.
17435         * po/fi.po: Likewise.
17436         * po/ko.po: Likewise.
17437         * po/ru.po: Likewise.
17438         * po/vi.po: Likewise.
17440 2015-07-31  Zack Weinberg  <zackw@panix.com>
17442         [BZ #18681]
17443         * regexp.h: Add unconditional #warning stating that this header
17444         will be removed soon.  Revise banner comment to match.
17445         (compile): Consistently use ERROR instead of RETURN to report
17446         errors (partial fix for bz#18681).
17447         * regexp.c: Don't include regexp.h. Remove some unnecessary
17448         declarations.
17450 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
17452         * po/libc.pot: Regenerated.
17454 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
17456         [BZ #18740]
17457         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
17458         float-vlen4-arch-ext-cflags): Removed.
17459         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
17460         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
17462 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
17464         [BZ #14113]
17465         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
17466         aligned to __aligned__.
17467         (pthread_cond_t, pthread_rwlock_t): Likewise.
17469 2015-07-30  Torvald Riegel  <triegel@redhat.com>
17471         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
17473 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
17475         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
17476         (struct sigaction): Change sa_flags from a long to an int, and add
17477         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
17479 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
17481         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
17482         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
17483         sysdeps/generic/sysdep.h include.
17484         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
17485         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
17486         sysdeps/hppa/sysdep.h.
17487         (ENTRY, PSEUDO): Undefine before defining.
17489 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
17491         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
17492         from scratch to use INTERNAL_SYSCALL.
17494 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
17496         [BZ #18078]
17497         * scripts/check-localplt.awk: Support alternate relocations.
17498         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
17499         sections.
17500         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
17501         malloc entries with + REL R_386_GLOB_DAT.
17502         * sysdeps/x86_64/localplt.data: New file.
17504 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
17506         [BZ #18731]
17507         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
17508         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
17509         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
17511 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
17513         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
17515 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
17517         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
17518         directly in terms of __sync_fetch_and_add and delete (int) cast.
17520 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
17522         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
17523         the -D_ASM_IA64_CURRENT_H flag.
17525 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
17527         [BZ #18641]
17528         * pwd/pwd.h (putpwent): Delete __nonnull markings.
17530 2015-07-27  Andreas Schwab  <schwab@suse.de>
17532         * conform/conformtest.pl (checknamespace): Filter out string
17533         literals while tokenizing.
17535 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
17537         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
17538         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
17539         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
17541 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
17543         * nptl/tst-join7mod.c: Add #include <string.h>.
17545 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
17547         * sysdeps/nios2/libm-test-ulps: Update.
17549 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
17551         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
17552         Fix order of arguments to the rt_sigprocmask syscall.
17553         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
17554         Likewise.
17556 2015-07-24  Roland McGrath  <roland@hack.frob.com>
17558         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
17560 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
17562         [BZ #18457]
17563         * nptl/Makefile (tests): New test case tst-join7.
17564         (modules-names): New test case module tst-join7mod.
17565         * nptl/tst-join7.c: New file.
17566         * nptl/tst-join7mod.c: New file.
17567         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
17568         all translation units in libc.so, libpthread.so and rtld.
17570 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17572         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17574 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
17576         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
17577         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
17578         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
17579         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
17580         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
17581         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
17582         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
17583         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
17584         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
17585         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
17586         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
17587         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
17588         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
17589         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
17590         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
17591         implementation.
17593 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17595         [BZ #17711]
17596         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
17597         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
17598         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
17599         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
17600         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
17601         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
17603 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
17605         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
17606         instead of just saying load lock in the comments.
17608 2015-07-23  Roland McGrath  <roland@hack.frob.com>
17610         * sysdeps/unix/Subdirs: Moved ...
17611         * sysdeps/posix/Subdirs: ... here.
17612         * login/pty.h (struct termios, struct winsize): Add forward decls.
17613         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
17614         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
17615         * sysdeps/arm/nacl/libc.abilist: Updated.
17616         * sysdeps/nacl/libutil.abilist: New file.
17618         * bits/signum.h: Update comments to mention 1003.1-2013 too.
17619         (SIGWINCH): New macro.
17621         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
17622         * sysdeps/arm/nacl/libc.abilist: Add it.
17624 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
17626         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
17628 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
17630         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
17631         Swap __glibc_reserved0 and sa_flags order.
17633 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
17635         [BZ #18657]
17636         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
17637         are pending TLS destructor calls.
17638         * include/link.h (struct link_map): Add concurrency note for
17639         L_TLS_DTOR_COUNT.
17640         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
17641         Don't touch the link map flag.  Atomically increment
17642         l_tls_dtor_count.
17643         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
17644         Avoid taking the load lock and don't touch the link map flag.
17645         * stdlib/tst-tls-atexit-nodelete.c: New test case.
17646         * stdlib/Makefile (tests): Use it.
17647         * stdlib/tst-tls-atexit.c (do_test): dlopen
17648         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
17649         to allow tst-tls-atexit-nodelete test case to use it.
17651 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
17653         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
17654         to bits/types.h.
17655         (msgqnum_t): New typedef.
17656         (msglen_t): Likewise.
17657         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
17658         and msg_qbytes type to msglen_t.
17660 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
17662         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
17663         pad0 to __glibc_reserved0.
17664         (struct stat64): Likewise.
17666 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
17668         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
17669         Change sa_flags from a long to an int and add __glibc_reserved0 before
17670         it for padding.
17672 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
17674         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
17675         anonymous by deleting "siginfo" name.
17677 2015-07-21  Roland McGrath  <roland@hack.frob.com>
17679         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
17680         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
17681         rather than __nacl_irt_filename.
17682         * sysdeps/nacl/xstat.c (__xstat): Likewise.
17684         * NEWS: New item for arm-nacl port.
17685         * sysdeps/arm/nacl/libc.abilist: New file.
17686         * sysdeps/nacl/ld.abilist: New file.
17687         * sysdeps/nacl/libBrokenLocale.abilist: New file.
17688         * sysdeps/nacl/libanl.abilist: New file.
17689         * sysdeps/nacl/libcrypt.abilist: New file.
17690         * sysdeps/nacl/libdl.abilist: New file.
17691         * sysdeps/nacl/libm.abilist: New file.
17692         * sysdeps/nacl/libpthread.abilist: New file.
17693         * sysdeps/nacl/libresolv.abilist: New file.
17694         * sysdeps/nacl/librt.abilist: New file.
17696 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
17698         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
17699         __startcontext to initialize the new context.
17700         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
17701         up CFI directive to forbid further backtracing.
17703 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
17705         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
17706         reference.
17707         * charmaps/ANSI_X3.4-1968: Likewise.
17708         * charmaps/BS_4730: Likewise.
17709         * charmaps/BS_VIEWDATA: Likewise.
17710         * charmaps/CP1250: Likewise.
17711         * charmaps/CP1251: Likewise.
17712         * charmaps/CP1252: Likewise.
17713         * charmaps/CP1253: Likewise.
17714         * charmaps/CP1254: Likewise.
17715         * charmaps/CP1255: Likewise.
17716         * charmaps/CP1256: Likewise.
17717         * charmaps/CSN_369103: Likewise.
17718         * charmaps/EBCDIC-DK-NO: Likewise.
17719         * charmaps/GB_1988-80: Likewise.
17720         * charmaps/GREEK-CCITT: Likewise.
17721         * charmaps/GREEK7: Likewise.
17722         * charmaps/INIS-8: Likewise.
17723         * charmaps/ISIRI-3342: Likewise.
17724         * charmaps/ISO_2033-1983: Likewise.
17725         * charmaps/ISO_5427-EXT: Likewise.
17726         * locales/POSIX: Likewise.
17727         * locales/ar_SA: Likewise.
17728         * locales/be_BY: Likewise.
17729         * locales/be_BY@latin: Likewise.
17730         * locales/ca_ES: Likewise.
17731         * locales/cs_CZ: Likewise.
17732         * locales/da_DK: Likewise.
17733         * locales/de_BE: Likewise.
17734         * locales/de_CH: Likewise.
17735         * locales/de_LU: Likewise.
17736         * locales/en_AU: Likewise.
17737         * locales/en_BW: Likewise.
17738         * locales/en_CA: Likewise.
17739         * locales/en_DK: Likewise.
17740         * locales/en_GB: Likewise.
17741         * locales/en_IE: Likewise.
17742         * locales/en_NZ: Likewise.
17743         * locales/en_ZA: Likewise.
17744         * locales/en_ZW: Likewise.
17745         * locales/es_AR: Likewise.
17746         * locales/es_BO: Likewise.
17747         * locales/es_CL: Likewise.
17748         * locales/es_CO: Likewise.
17749         * locales/es_DO: Likewise.
17750         * locales/es_EC: Likewise.
17751         * locales/es_ES: Likewise.
17752         * locales/es_HN: Likewise.
17753         * locales/es_MX: Likewise.
17754         * locales/es_PA: Likewise.
17755         * locales/es_PE: Likewise.
17756         * locales/es_PY: Likewise.
17757         * locales/es_SV: Likewise.
17758         * locales/es_US: Likewise.
17759         * locales/es_UY: Likewise.
17760         * locales/es_VE: Likewise.
17761         * locales/et_EE: Likewise.
17762         * locales/fa_IR: Likewise.
17763         * locales/fo_FO: Likewise.
17764         * locales/fr_CA: Likewise.
17765         * locales/fr_CH: Likewise.
17766         * locales/gv_GB: Likewise.
17767         * locales/he_IL: Likewise.
17768         * locales/hr_HR: Likewise.
17769         * locales/id_ID: Likewise.
17770         * locales/is_IS: Likewise.
17771         * locales/it_CH: Likewise.
17772         * locales/iw_IL: Likewise.
17773         * locales/kl_GL: Likewise.
17774         * locales/ko_KR: Likewise.
17775         * locales/kw_GB: Likewise.
17776         * locales/lg_UG: Likewise.
17777         * locales/lt_LT: Likewise.
17778         * locales/lv_LV: Likewise.
17779         * locales/mi_NZ: Likewise.
17780         * locales/nhn_MX: Likewise.
17781         * locales/nl_BE: Likewise.
17782         * locales/pl_PL: Likewise.
17783         * locales/sk_SK: Likewise.
17784         * locales/sl_SI: Likewise.
17785         * locales/sv_FI: Likewise.
17786         * locales/tl_PH: Likewise.
17787         * locales/tr_TR: Likewise.
17788         * locales/vi_VN: Likewise.
17790 2015-07-21  Khem Raj  <raj.khem@gmail.com>
17792         [BZ #17475]
17793         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
17794         of tu_IN and bh_IN.
17796 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
17798         [BZ #18694]
17799         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
17800         bits/wordsize.h.
17801         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
17803 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
17805         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
17806         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
17807         (spawn_thread): New function.
17808         (load): Rename to reg_dtor_and_close.  Move dlopen to...
17809         (do_test): ... here.  Use IS_LOADED to test for its
17810         availability.
17812 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
17814         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
17816 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
17818         [BZ #18696]
17819         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
17820         si_addr_bnd.
17821         (si_lower): New.
17822         (si_upper): Likewise.
17824 2015-07-16  David S. Miller  <davem@davemloft.net>
17826         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
17828 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17830         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
17831         buffer.
17832         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
17833         fail output information.
17835 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17837         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
17838         and strstr-ppc64..
17839         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
17840         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
17841         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
17842         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
17843         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
17845 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
17847         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
17848         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
17849         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
17850         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
17852 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
17854         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
17855         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
17856         rtld_hidden_proto.
17857         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
17859 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
17861         * tst-nodelete-opened.c (do_test): Add comment to clarify how
17862         the test can fail.
17864         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
17866         [BZ #18676]
17867         * elf/tst-nodelete-opened.c: New test case.
17868         * elf/tst-nodelete-opened-lib.c: New test case module.
17869         * elf/Makefile (tests, modules-names): Use them.
17870         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
17871         early.
17873 2015-07-15  David S. Miller  <davem@davemloft.net>
17875         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
17876         futex-intenal.h
17877         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
17878         * sysdeps/sparc/sparc64/Makefile: Likewise.
17879         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
17880         Remove space from macro define.
17881         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
17883 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
17885         [BZ #17475]
17886         * locale/iso-639.def: Update Bhili and Tulu language codes as
17887         per iso639-3.
17889 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
17891         * elf/tst-leaks1.c (main): Converted to ...
17892         (do_test): ... this.
17893         (TEST_FUNCTION): New macro.
17894         Include test-skeleton.c.
17895         * localedata/tst-langinfo.c (main): Converted to ...
17896         (do_test): ... this.
17897         (TEST_FUNCTION): New macro.
17898         Include test-skeleton.c.
17899         * math/test-fpucw.c (main): Converted to ...
17900         (do_test): ... this.
17901         (TEST_FUNCTION): New macro.
17902         Include test-skeleton.c.
17903         * math/test-tgmath.c (main): Converted to ...
17904         (do_test): ... this.
17905         (TEST_FUNCTION): New macro.
17906         Include test-skeleton.c.
17907         * math/test-tgmath2.c (main): Converted to ...
17908         (do_test): ... this.
17909         (TEST_FUNCTION): New macro.
17910         Include test-skeleton.c.
17911         * setjmp/tst-setjmp.c (main): Converted to ...
17912         (do_test): ... this.
17913         (TEST_FUNCTION): New macro.
17914         Include test-skeleton.c.
17915         * stdio-common/tst-sscanf.c (main): Converted to ...
17916         (do_test): ... this.
17917         (TEST_FUNCTION): New macro.
17918         Include test-skeleton.c.
17919         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
17920         (do_test): ... this.
17921         (TEST_FUNCTION): New macro.
17922         Include test-skeleton.c.
17924         * elf/tst-audit9.c (main): Converted to ...
17925         (do_test): ... this.
17926         (TEST_FUNCTION): New macro.
17927         Include test-skeleton.c.
17929 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
17931         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
17933 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
17935         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
17936         New variable.
17938 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
17940         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
17942 2015-07-14  Roland McGrath  <roland@hack.frob.com>
17944         * sysdeps/generic/dl-fileid.h: New file.
17945         * sysdeps/posix/dl-fileid.h: New file.
17946         * sysdeps/nacl/dl-fileid.h: New file.
17947         * include/link.h: Include <dl-fileid.h>.
17948         (struct link_map): Replace l_dev and l_ino with l_file_id.
17949         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
17950         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
17951         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
17953 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
17955         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
17957 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17959         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
17960         Add iff $CXX is set.
17961         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
17962         Likewise.
17963         (tst-nodelete-zmodiff): Likewise.
17964         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
17966 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
17968         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
17970 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
17972         * sysdeps/aarch64/fpu/math_private.h
17973         (define math_opt_barrier): Add AArch64 version.
17974         (math_force_eval): Likewise.
17976 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
17978         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
17980 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
17982         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
17983         %ld with %jd and cast to intmax_t.
17984         (do_test_length_zero): Likewise.
17986 2015-07-10  Roland McGrath  <roland@hack.frob.com>
17988         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
17990 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
17992         * sysdeps/tile/libm-test-ulps: Regenerated.
17994         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
17995         Comment out the whole function, not just its body.
17997 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
17999         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
18000         locks.
18002         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
18004 2015-07-10  Torvald Riegel  <triegel@redhat.com>
18006         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
18007         (sem_assume_only_signals_cause_futex_EINTR): Remove.
18009 2015-07-10  Torvald Riegel  <triegel@redhat.com>
18011         * sysdeps/nptl/futex-internal.h: New file.
18012         * sysdeps/nacl/futex-internal.h: New file.
18013         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
18014         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
18015         error checking.
18016         (setxid_unmark_thread): Likewise.
18017         (__nptl_setxid): Likewise.
18018         (__wait_lookup_done): Likewise.
18019         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
18020         * nptl/nptl-init.c (sighandler_setxid): Likewise.
18021         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
18022         * nptl/pthread_once.c (clear_once_control): Likewise.
18023         (__pthread_once_slow): Likewise.
18024         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
18025         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
18026         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
18027         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
18028         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
18029         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
18030         Likewise.
18031         (__pthread_rwlock_rdlock): Likewise.
18032         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
18033         Likewise.
18034         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
18035         Likewise.
18036         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
18037         Likewise.
18038         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
18039         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
18040         Likewise.
18041         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
18042         __ASSUME_PRIVATE_FUTEX check.
18043         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
18044         Check that shared futexes are supported.
18045         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
18046         wrappers with error checking.
18047         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
18048         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
18049         * nptl/pthread_barrierattr_setpshared.c
18050         (pthread_barrierattr_setpshared): Check that shared futexes are
18051         supported.
18052         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
18053         Likewise.
18054         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
18055         Likewise.
18056         * nptl/sem_init.c (futex_private_if_supported): Remove.
18057         (__new_sem_init): Adapt and check that shared futexes are supported.
18058         * nptl/sem_open.c (sem_open): Likewise.
18059         * nptl/sem_post.c (futex_wake): Remove.
18060         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
18061         (do_futex_wait): Use futex wrappers with error checking.
18062         * nptl/sem_wait.c: Include lowlevellock.h.
18063         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
18064         Use futex_supports_pshared.
18065         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
18066         Use futex wrappers with error checking.
18067         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
18068         Likewise.
18069         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
18070         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
18071         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
18072         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
18073         (futex_wake): Likewise.
18074         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
18075         (do_futex_wait): Use futex wrappers with error checking.
18076         (__new_sem_wait_slow): Update EINTR handling.
18077         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
18079 2015-07-09  Martin Sebor  <msebor@redhat.com>
18081         [BZ #18435]
18082         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
18083         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
18084         * nptl/Makefile (test-xfail-tst-once5): Define.
18086 2015-07-09  Roland McGrath  <roland@hack.frob.com>
18088         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
18089         * elf/dl-minimal.c: For readability, reorder some definitions and
18090         introduce more page breaks.  Include <stdio.h>.
18091         (__libc_fatal): New function.
18093         * include/unistd.h: Add rtld_hidden_proto for _exit.
18094         * posix/_exit.c: Add rtld_hidden_def.
18095         * sysdeps/mach/hurd/_exit.c: Likewise.
18096         * sysdeps/nacl/_exit.c: Likewise.
18097         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
18098         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
18100 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
18102         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
18103         bndmov encoding with zero displacement.
18105 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
18106             H.J. Lu  <hongjiu.lu@intel.com>
18108         [BZ #18134]
18109         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
18110         * sysdeps/i386/configure: Regenerated.
18111         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
18112         (_dl_runtime_profile): Save and restore Intel MPX return bound
18113         registers when calling _dl_call_pltexit.  Add
18114         PRESERVE_BND_REGS_PREFIX before return.
18115         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
18116         (LRV_BND1_OFFSET): Likewise.
18117         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
18118         lrv_bnd1.
18119         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
18120         typo in bndmov encoding.
18121         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
18122         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
18123         branch instructions to preserve bounds.
18125 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18127         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
18128         [GLIBC_2.22]: Add fmemopen.
18130 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18132         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
18133         returns an error, also try to use host port from __mach_host_self for
18134         the __vm_wire call.
18135         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
18137 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18139         [BZ #18400]
18140         [BZ #18648]
18141         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
18142         Fix pr_uid and pr_gid members.
18143         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
18144         definition to elf_greg_t.
18146 2015-07-08  Roland McGrath  <roland@hack.frob.com>
18148         [BZ #18383]
18149         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
18150         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
18151         * sysdeps/arm/configure: Regenerated.
18152         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
18153         (test-xfail-tst-tlsalign-static): Variable removed.
18155         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
18156         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
18157         rather than explicit 'ln -s'.
18159         * resolv/rpc/netdb.h: New file.
18160         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
18162 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18164         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
18165         length buffers.
18166         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
18167         test-skeleton.c.
18169         [BZ #6544]
18170         [BZ #11216]
18171         [BZ #12836]
18172         [BZ #13151]
18173         [BZ #13152]
18174         [BZ #14292]
18175         * include/stdio.h (fmemopen): Remove hidden prototype.
18176         (__fmemopen): Add new hidden prototype.
18177         * libio/Makefile: Add oldfmemopen object.
18178         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
18179         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
18180         compliance.
18181         * libio/oldfmemopen.c: New file: old fmemopen implementation for
18182         symbol compatibility.
18183         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
18184         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
18185         fmemopen.
18186         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
18187         on append and read mode.
18188         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
18189         fmemopen.
18190         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
18191         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
18192         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
18193         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
18194         Likewise.
18195         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
18196         [GLIBC_2.22]: Likewise.
18197         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
18198         Likewise.
18199         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
18200         Likewise.
18201         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
18202         [GLIBC_2.22]: Likewise.
18203         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
18204         [GLIBC_2.22]: Likewise.
18205         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
18206         [GLIBC_2.22]: Likewise.
18207         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
18208         [GLIBC_2.22]: Likewise.
18209         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
18210         [GLIBC_2.22]: Likewise.
18211         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
18212         [GLIBC_2.22]: Likewise.
18213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
18214         [GLIBC_2.22]: Likewise.
18215         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
18216         Likewise.
18217         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
18218         Likewise.
18219         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
18220         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
18221         [GLIBC_2.22]: Likewise.
18222         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
18223         [GLIBC_2.22]: Likewise.
18224         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
18225         [GLIBC_2.22]: Likewise.
18226         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
18227         [GLIBC_2.22]: Likewise.
18228         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
18229         Likewise.
18230         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
18231         Likewise.
18232         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
18233         Likewise.
18234         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
18235         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
18237 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
18239         [BZ #18643]
18240         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
18241         IPV6_PATHMTU, and IPV6_DONTFRAG.
18243 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
18245         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
18246         and _IO_UNBUFFERED.
18247         * libio/oldfileops.c: Likewise.
18248         * libio/wfileops.c: Likewise.
18250 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
18252         * nscd/selinux.c: Delete selinux/flask.h include.
18254 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
18256         [BZ #18641]
18257         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
18258         (putpwent): Likewise.
18259         (getpwnam): Likewise.
18260         (getpwent_r): Likewise.
18261         (getpwuid_r): Likewise.
18262         (getpwnam_r): Likewise.
18263         (fgetpwent_r): Likewise.
18265 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
18267         [BZ #18557]
18268         * inet/rcmd.c (__validuser2_sa): Check user first to
18269         short-circuit host check.
18271 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
18272             Mikhail Ilin  <m.ilin@samsung.com>
18274         [BZ #17833]
18275         * elf/Makefile (tests): Add tst-nodelete.
18276         (modules-names): Add tst-nodelete-uniquemod.
18277         (tst-nodelete-uniquemod.so-no-z-defs): New.
18278         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
18279         (tst-nodelete-zmod.so-no-z-defs): Likewise.
18280         ($(objpfx)tst-nodelete): Likewise.
18281         ($(objpfx)tst-nodelete.out): Likewise.
18282         (LDFLAGS-tst-nodelete): Likewise.
18283         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
18284         * elf/dl-close.c (_dl_close_worker): Add a parameter to
18285         implement forced object deletion.
18286         (_dl_close): Pass false to _dl_close_worker.
18287         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
18288         * elf/tst-nodelete.cc: New file.
18289         * elf/tst-nodeletelib.cc: Likewise.
18290         * elf/tst-znodeletelib.cc: Likewise.
18291         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
18293 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
18295         [BZ #18508]
18296         * stdlib/Makefile ($(objpfx)tst-makecontext3):
18297         Depend on $(libdl).
18298         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
18299         is not called infinitely times.
18300         (backtrace_helper): New function.
18301         (trace_arg): New struct.
18302         (st1): Enlarge stack size.
18303         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
18304         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
18305         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
18306         Likewise.
18308 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
18310         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
18312 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
18314         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
18315         Include sys/types.h instead of bits/types.h.
18316         Remove inclusion of bits/wordsize.h.
18318 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
18320         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
18321         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
18322         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
18323         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
18324         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
18325         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
18327 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
18329         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
18330         link-defines.sym.
18331         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
18332         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
18333         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
18334         and LR_SIZE.
18335         * sysdeps/i386/link-defines.sym: New file.
18337 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
18339         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
18340         (modules-names): Add tst-auditmod3a tst-auditmod3b.
18341         ($(objpfx)tst-audit3): New rule.
18342         ($(objpfx)tst-audit3.out): Likewise.
18343         * sysdeps/i386/tst-audit3.c: New file.
18344         * sysdeps/i386/tst-audit3.h: Likewise.
18345         * sysdeps/i386/tst-auditmod3a.c: Likewise.
18346         * sysdeps/i386/tst-auditmod3b.c: Likewise.
18348 2015-07-07  Torvald Riegel  <triegel@redhat.com>
18350         [BZ #18633]
18351         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
18352         pointer in C code.
18353         (__strcat_c): Likewise.
18354         (__strcat_g): Likewise.
18356 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
18358         [BZ #18592]
18359         * misc/sbrk.c: Set errno to ENOMEM on overflow.
18361 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
18363         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
18364         New function.  (__ieee754_sqrtf): New function.
18365         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
18366         New function.
18367         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
18368         New function.
18370 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
18372         * sysdeps/ieee754/support.c: Remove unused file.
18374 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18376         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
18377         registers instead of d ones so the layout is kernel abi compatible.
18378         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
18379         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
18380         Likewise.
18382 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18384         * sysdeps/aarch64/libm-test-ulps: Regenerated.
18386 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
18388         [BZ #18619]
18389         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
18390         and return argument in case of subnormal argument.
18392 2015-07-01  Martin Sebor  <msebor@redhat.com>
18394         [BZ #18435]
18395         * nptl/Makefile: Add tst-once5.cc.
18396         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
18397         Remove macro redefinitions.
18398         * nptl/tst-once5.cc: New test.
18400 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
18402         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
18404         * sysdeps/arm/libm-test-ulps: Regenerated.
18406         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
18407         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
18409 2015-06-30  Torvald Riegel  <triegel@redhat.com>
18411         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
18412         lll_lock_wait_private and lll_futex_wake probes.
18414         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
18415         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
18416         Likewise.
18417         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
18418         atomic_spin_nop.
18419         * sysdeps/x86_64/bits/atomic.h: Likewise.
18420         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
18421         to atomic_spin_nop and move ...
18422         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
18423         ... here and ...
18424         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
18425         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
18426         atomic_spin_nop instead of BUSY_WAIT_NOP.
18427         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
18428         Likewise.
18429         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
18430         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
18431         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
18432         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
18433         instead of atomic_delay.
18435 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
18437         [BZ #18613]
18438         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
18439         X_ADJ not X when adjusting exponent.
18440         (__ieee754_gamma_r): Do intermediate computations in
18441         round-to-nearest then adjust overflowing and underflowing results
18442         as needed.
18443         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
18444         of X_ADJ not X when adjusting exponent.
18445         (__ieee754_gammaf_r): Do intermediate computations in
18446         round-to-nearest then adjust overflowing and underflowing results
18447         as needed.
18448         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
18449         log of X_ADJ not X when adjusting exponent.
18450         (__ieee754_gammal_r): Do intermediate computations in
18451         round-to-nearest then adjust overflowing and underflowing results
18452         as needed.  Use 1.0L not 1.0f as numerator of division.
18453         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
18454         log of X_ADJ not X when adjusting exponent.
18455         (__ieee754_gammal_r): Do intermediate computations in
18456         round-to-nearest then adjust overflowing and underflowing results
18457         as needed.  Use 1.0L not 1.0f as numerator of division.
18458         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
18459         of X_ADJ not X when adjusting exponent.
18460         (__ieee754_gammal_r): Do intermediate computations in
18461         round-to-nearest then adjust overflowing and underflowing results
18462         as needed.  Use 1.0L not 1.0f as numerator of division.
18463         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
18464         to auto-libm-test-in.
18465         (tgamma_test): Use ALL_RM_TEST.
18466         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
18467         tests of tgamma with spurious-overflow.
18468         * math/auto-libm-test-out: Regenerated.
18469         * math/gen-libm-have-vector-test.sh: Do not check for START.
18470         * sysdeps/i386/fpu/libm-test-ulps: Update.
18471         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18473         [BZ #18612]
18474         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
18475         arguments, just return 0.5 times the argument, with underflow
18476         forced as needed.
18477         * math/auto-libm-test-in: Add more tests of j1.
18478         * math/auto-libm-test-out: Regenerated.
18480         [BZ #16559]
18481         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
18482         (__ieee754_j1): Force underflow exception for small results.
18483         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
18484         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
18485         (__ieee754_j1f): Force underflow exception for small results.
18486         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
18487         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
18488         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
18489         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
18490         (__ieee754_j1l): Force underflow exception for small results.
18491         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
18492         * math/auto-libm-test-in: Add more tests of j1 and jn.
18493         * math/auto-libm-test-out: Regenerated.
18495         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
18496         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
18497         (PF_MPLS): Likewise.
18498         (AF_IB): Likewise.
18499         (AF_MPLS): Likewise.
18500         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
18501         value and macro.
18502         (MS_RMT_MASK): Include MS_LAZYTIME.
18504 2015-06-26  Mel Gorman  <mgorman@suse.de>
18506         [BZ #18502]
18507         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
18508         already minimal.
18510 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
18512         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
18513         (DT_MIPS_NUM): Update.
18514         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
18515         DT_MIPS_RLD_MAP_REL.
18517 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
18519         [BZ #16559]
18520         [BZ #18602]
18521         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
18522         round-to-nearest internally then recompute results that
18523         underflowed to zero in the original rounding mode.
18524         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
18525         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
18526         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
18527         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
18528         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
18529         * sysdeps/i386/fpu/libm-test-ulps: Update.
18530         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18532 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
18534         * NEWS: Fixed description of link with vector math library.
18536 2015-06-25  Andreas Schwab  <schwab@suse.de>
18538         [BZ #18549]
18539         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
18540         * libio/test-fmemopen.c (do_test): Add test for it.
18542 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
18544         [BZ #17841]
18545         * Makeconfig (no-pie-ldflag): New.
18546         (+link): Set to $(+link-pie) if default to PIE.
18547         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
18548         * config.make.in (build-pie-default): New.
18549         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
18550         is default.  AC_SUBST.
18551         * configure: Regenerated.
18552         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
18554 2015-06-24  Roland McGrath  <roland@hack.frob.com>
18556         * nptl/descr.h (struct pthread): Change type of field setxid_futex
18557         to 'unsigned int'.
18559         * resolv/gai_misc.h (struct waitlist): Change type of field
18560         counterp to 'volatile unsigned int *'.
18561         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
18562         FUTEXADDR and OLDVAL.
18563         * resolv/getaddrinfo_a.c (getaddrinfo_a):
18564         Give local variable TOTAL type 'volatile unsigned int'.
18565         (struct async_waitlist): Change type of field counter to 'unsigned int'.
18566         * resolv/gai_suspend.c (gai_suspend):
18567         Give local variable CNTR type 'unsigned int'.
18569         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
18570         counterp to 'volatile unsigned int *'.
18571         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
18572         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
18573         (aio_suspend): Give local variable CNTR type 'unsigned int'.
18574         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
18575         Give local variable TOTAL type 'volatile unsigned int'.
18576         (struct async_waitlist): Change type of field counter to 'unsigned int'.
18578 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
18580         [BZ #18383]
18581         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
18582         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
18583         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
18584         comment for i386/x86-64.
18585         (test-xfail-tst-tlsalign-extern-static): Removed.
18587 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
18589         * math/test-double.h: New file.
18590         * math/test-float.h: Likewise.
18591         * math/test-ldouble.h: Likewise.
18592         * math/test-math-inline.h: Likewise.
18593         * math/test-math-no-inline.h: Likewise.
18594         * math/test-math-scalar.h: Likewise.
18595         * math/test-math-vector.h: Likewise.
18596         * math/test-vec-loop.h: Remove file.  Contents moved into
18597         test-math-vector.h.
18598         * math/libm-test.inc (MATHCONST): Do not document macro.
18599         * math/test-double.c: Include test-double.h, test-math-no-inline.h
18600         and test-math-scalar.h.
18601         (FUNC): Remove macro.
18602         (FUNC_TEST): Likewise.
18603         (FLOAT): Likewise.
18604         (MATHCONST): Likewise.
18605         (PRINTF_EXPR): Likewise.
18606         (PRINTF_XEXPR): Likewise.
18607         (PRINTF_NEXPR): Likewise.
18608         (TEST_DOUBLE): Likewise.
18609         (TEST_MATHVEC): Likewise.
18610         (__NO_MATH_INLINES): Likewise.
18611         * math/test-float.c: Include test-float.h, test-math-no-inline.h
18612         and test-math-scalar.h.
18613         (FUNC): Remove macro.
18614         (FUNC_TEST): Likewise.
18615         (FLOAT): Likewise.
18616         (MATHCONST): Likewise.
18617         (PRINTF_EXPR): Likewise.
18618         (PRINTF_XEXPR): Likewise.
18619         (PRINTF_NEXPR): Likewise.
18620         (TEST_FLOAT): Likewise.
18621         (TEST_MATHVEC): Likewise.
18622         (__NO_MATH_INLINES): Likewise.
18623         * math/test-idouble.c: Include test-double.h, test-math-inline.h
18624         and test-math-scalar.h.
18625         (FUNC): Remove macro.
18626         (FUNC_TEST): Likewise.
18627         (FLOAT): Likewise.
18628         (MATHCONST): Likewise.
18629         (PRINTF_EXPR): Likewise.
18630         (PRINTF_XEXPR): Likewise.
18631         (PRINTF_NEXPR): Likewise.
18632         (TEST_DOUBLE): Likewise.
18633         (TEST_MATHVEC): Likewise.
18634         (TEST_INLINE): Likewise.
18635         (__NO_MATH_INLINES): Likewise.
18636         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
18637         test-math-scalar.h.
18638         (FUNC): Remove macro.
18639         (FUNC_TEST): Likewise.
18640         (FLOAT): Likewise.
18641         (MATHCONST): Likewise.
18642         (PRINTF_EXPR): Likewise.
18643         (PRINTF_XEXPR): Likewise.
18644         (PRINTF_NEXPR): Likewise.
18645         (TEST_FLOAT): Likewise.
18646         (TEST_MATHVEC): Likewise.
18647         (TEST_INLINE): Likewise.
18648         (__NO_MATH_INLINES): Likewise.
18649         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
18650         and test-math-scalar.h.
18651         (FUNC): Remove macro.
18652         (FUNC_TEST): Likewise.
18653         (FLOAT): Likewise.
18654         (MATHCONST): Likewise.
18655         (PRINTF_EXPR): Likewise.
18656         (PRINTF_XEXPR): Likewise.
18657         (PRINTF_NEXPR): Likewise.
18658         (TEST_LDOUBLE): Likewise.
18659         (TEST_MATHVEC): Likewise.
18660         (TEST_INLINE): Likewise.
18661         (__NO_MATH_INLINES): Likewise.
18662         * math/test-ldouble.c: Include test-ldouble.h,
18663         test-math-no-inline.h and test-math-scalar.h.
18664         (FUNC): Remove macro.
18665         (FUNC_TEST): Likewise.
18666         (FLOAT): Likewise.
18667         (MATHCONST): Likewise.
18668         (PRINTF_EXPR): Likewise.
18669         (PRINTF_XEXPR): Likewise.
18670         (PRINTF_NEXPR): Likewise.
18671         (TEST_LDOUBLE): Likewise.
18672         (TEST_MATHVEC): Likewise.
18673         (__NO_MATH_INLINES): Likewise.
18674         * math/test-double-vlen2.h: Include test-double.h,
18675         test-math-no-inline.h and test-math-vector.h.
18676         (FLOAT): Remove macro.
18677         (FUNC): Likewise.
18678         (MATHCONST): Likewise.
18679         (PRINTF_EXPR): Likewise.
18680         (PRINTF_XEXPR): Likewise.
18681         (PRINTF_NEXPR): Likewise.
18682         (TEST_DOUBLE): Likewise.
18683         (TEST_MATHVEC): Likewise.
18684         (__NO_MATH_INLINES): Likewise.
18685         (CNCT): Likewise.
18686         (CONCAT): Likewise.
18687         (WRAPPER_NAME): Likewise.
18688         (WRAPPER_DECL): Likewise.
18689         (WRAPPER_DECL_ff): Likewise.
18690         (WRAPPER_DECL_fFF): Likewise.
18691         (VECTOR_WRAPPER): Likewise.
18692         (VECTOR_WRAPPER_ff): Likewise.
18693         (VECTOR_WRAPPER_fFF): Likewise.
18694         (VEC_LEN): New macro.
18695         * math/test-double-vlen4.h: Include test-double.h,
18696         test-math-no-inline.h and test-math-vector.h.
18697         (FLOAT): Remove macro.
18698         (FUNC): Likewise.
18699         (MATHCONST): Likewise.
18700         (PRINTF_EXPR): Likewise.
18701         (PRINTF_XEXPR): Likewise.
18702         (PRINTF_NEXPR): Likewise.
18703         (TEST_DOUBLE): Likewise.
18704         (TEST_MATHVEC): Likewise.
18705         (__NO_MATH_INLINES): Likewise.
18706         (CNCT): Likewise.
18707         (CONCAT): Likewise.
18708         (WRAPPER_NAME): Likewise.
18709         (WRAPPER_DECL): Likewise.
18710         (WRAPPER_DECL_ff): Likewise.
18711         (WRAPPER_DECL_fFF): Likewise.
18712         (VECTOR_WRAPPER): Likewise.
18713         (VECTOR_WRAPPER_ff): Likewise.
18714         (VECTOR_WRAPPER_fFF): Likewise.
18715         (VEC_LEN): New macro.
18716         * math/test-double-vlen8.h: Include test-double.h,
18717         test-math-no-inline.h and test-math-vector.h.
18718         (FLOAT): Remove macro.
18719         (FUNC): Likewise.
18720         (MATHCONST): Likewise.
18721         (PRINTF_EXPR): Likewise.
18722         (PRINTF_XEXPR): Likewise.
18723         (PRINTF_NEXPR): Likewise.
18724         (TEST_DOUBLE): Likewise.
18725         (TEST_MATHVEC): Likewise.
18726         (__NO_MATH_INLINES): Likewise.
18727         (CNCT): Likewise.
18728         (CONCAT): Likewise.
18729         (WRAPPER_NAME): Likewise.
18730         (WRAPPER_DECL): Likewise.
18731         (WRAPPER_DECL_ff): Likewise.
18732         (WRAPPER_DECL_fFF): Likewise.
18733         (VECTOR_WRAPPER): Likewise.
18734         (VECTOR_WRAPPER_ff): Likewise.
18735         (VECTOR_WRAPPER_fFF): Likewise.
18736         (VEC_LEN): New macro.
18737         * math/test-float-vlen4.h: Include test-float.h,
18738         test-math-no-inline.h and test-math-vector.h.
18739         (FLOAT): Remove macro.
18740         (FUNC): Likewise.
18741         (MATHCONST): Likewise.
18742         (PRINTF_EXPR): Likewise.
18743         (PRINTF_XEXPR): Likewise.
18744         (PRINTF_NEXPR): Likewise.
18745         (TEST_FLOAT): Likewise.
18746         (TEST_MATHVEC): Likewise.
18747         (__NO_MATH_INLINES): Likewise.
18748         (CNCT): Likewise.
18749         (CONCAT): Likewise.
18750         (WRAPPER_NAME): Likewise.
18751         (WRAPPER_DECL): Likewise.
18752         (WRAPPER_DECL_ff): Likewise.
18753         (WRAPPER_DECL_fFF): Likewise.
18754         (VECTOR_WRAPPER): Likewise.
18755         (VECTOR_WRAPPER_ff): Likewise.
18756         (VECTOR_WRAPPER_fFF): Likewise.
18757         (VEC_LEN): New macro.
18758         * math/test-float-vlen8.h: Include test-float.h,
18759         test-math-no-inline.h and test-math-vector.h.
18760         (FLOAT): Remove macro.
18761         (FUNC): Likewise.
18762         (MATHCONST): Likewise.
18763         (PRINTF_EXPR): Likewise.
18764         (PRINTF_XEXPR): Likewise.
18765         (PRINTF_NEXPR): Likewise.
18766         (TEST_FLOAT): Likewise.
18767         (TEST_MATHVEC): Likewise.
18768         (__NO_MATH_INLINES): Likewise.
18769         (CNCT): Likewise.
18770         (CONCAT): Likewise.
18771         (WRAPPER_NAME): Likewise.
18772         (WRAPPER_DECL): Likewise.
18773         (WRAPPER_DECL_ff): Likewise.
18774         (WRAPPER_DECL_fFF): Likewise.
18775         (VECTOR_WRAPPER): Likewise.
18776         (VECTOR_WRAPPER_ff): Likewise.
18777         (VECTOR_WRAPPER_fFF): Likewise.
18778         (VEC_LEN): New macro.
18779         * math/test-float-vlen16.h: Include test-float.h,
18780         test-math-no-inline.h and test-math-vector.h.
18781         (FLOAT): Remove macro.
18782         (FUNC): Likewise.
18783         (MATHCONST): Likewise.
18784         (PRINTF_EXPR): Likewise.
18785         (PRINTF_XEXPR): Likewise.
18786         (PRINTF_NEXPR): Likewise.
18787         (TEST_FLOAT): Likewise.
18788         (TEST_MATHVEC): Likewise.
18789         (__NO_MATH_INLINES): Likewise.
18790         (CNCT): Likewise.
18791         (CONCAT): Likewise.
18792         (WRAPPER_NAME): Likewise.
18793         (WRAPPER_DECL): Likewise.
18794         (WRAPPER_DECL_ff): Likewise.
18795         (WRAPPER_DECL_fFF): Likewise.
18796         (VECTOR_WRAPPER): Likewise.
18797         (VECTOR_WRAPPER_ff): Likewise.
18798         (VECTOR_WRAPPER_fFF): Likewise.
18799         (VEC_LEN): New macro.
18800         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
18801         test-vec-loop.h.
18802         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
18803         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
18804         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
18805         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
18806         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
18807         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
18808         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
18810 2015-06-24  Roland McGrath  <roland@hack.frob.com>
18812         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
18813         (__getlogin_r): ... this.
18815 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
18817         [BZ #18594]
18818         * math/s_ccosh.c (__ccosh): Compare with least normal value
18819         instead of comparing class with FP_SUBNORMAL.
18820         * math/s_ccoshf.c (__ccoshf): Likewise.
18821         * math/s_ccoshl.c (__ccoshl): Likewise.
18822         * math/s_cexp.c (__cexp): Likewise.
18823         * math/s_cexpf.c (__cexpf): Likewise.
18824         * math/s_cexpl.c (__cexpl): Likewise.
18825         * math/s_csin.c (__csin): Likewise.
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/s_ctan.c (__ctan): Likewise.
18832         * math/s_ctanf.c (__ctanf): Likewise.
18833         * math/s_ctanh.c (__ctanh): Likewise.
18834         * math/s_ctanhf.c (__ctanhf): Likewise.
18835         * math/s_ctanhl.c (__ctanhl): Likewise.
18836         * math/s_ctanl.c (__ctanl): Likewise.
18837         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
18838         csin, csinh, ctan and ctanh.
18839         * math/auto-libm-test-out: Regenerated.
18840         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
18841         * sysdeps/i386/fpu/libm-test-ulps: Update.
18842         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18844 2015-06-24  Roland McGrath  <roland@hack.frob.com>
18846         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
18847         return value is wrong, print the expected value too.
18849 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
18851         [BZ #18585]
18852         * elf/readlib.c (is_gdb_python_file): New.
18853         (process_file): Don't issue errors on filenames with -gdb.py
18854         suffix.
18856 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
18858         * math/auto-libm-test-in: Add more tests of csin and csinh.
18859         * math/auto-libm-test-out: Regenerated.
18860         * math/libm-test.inc (csin_test_data): Remove tests moved to
18861         auto-libm-test-in.
18862         (csinh_test_data): Likewise.
18864         [BZ #18593]
18865         * math/s_csin.c (__csin): Negate before rather than after possibly
18866         overflowing multiplication.
18867         * math/s_csinf.c (__csinf): Likewise.
18868         * math/s_csinh.c (__csinh): Likewise.
18869         * math/s_csinhf.c (__csinhf): Likewise.
18870         * math/s_csinhl.c (__csinhl): Likewise.
18871         * math/s_csinl.c (__csinl): Likewise.
18872         * math/auto-libm-test-in: Add some tests of csin and csinh.
18873         * math/auto-libm-test-out: Regenerated.
18874         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
18875         (csinh_test_data): Likewise.
18876         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18878         [BZ #18586]
18879         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
18880         underflow exception for small results.
18882 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
18884         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
18885         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
18886         variable and included header.
18887         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
18888         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
18889         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
18890         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
18891         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
18892         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
18893         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
18894         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
18895         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
18896         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
18897         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
18898         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
18899         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
18900         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
18901         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
18902         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
18904 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
18906         [BZ #16526]
18907         [BZ #16538]
18908         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
18909         (__sin): Force underflow exception for arguments with small
18910         absolute value.
18911         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
18912         (__kernel_sinf): Force underflow exception for arguments with
18913         small absolute value.
18914         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
18915         (__kernel_sincosl): Force underflow exception for arguments with
18916         small absolute value.
18917         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
18918         (__kernel_sinl): Force underflow exception for arguments with
18919         small absolute value.
18920         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
18921         (__kernel_sincosl): Force underflow exception for arguments with
18922         small absolute value.
18923         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
18924         (__kernel_sinl): Force underflow exception for arguments with
18925         small absolute value.
18926         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
18927         (__kernel_sinl): Force underflow exception for arguments with
18928         small absolute value.
18929         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
18930         (__kernel_sinf): Force underflow exception for arguments with
18931         small absolute value.
18932         * math/auto-libm-test-in: Add more tests of sin and sincos.
18933         * math/auto-libm-test-out: Regenerated.
18935         [BZ #18245]
18936         [BZ #18583]
18937         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
18938         (__kernel_standard_l): Use feholdexcept and fesetenv around
18939         conversion to double instead of special-casing overflow and
18940         underflow.
18941         * math/libm-test.inc (fmod_test_data): Add more tests.
18942         (remainder_test_data): Likewise.
18943         (sqrt_test_data): Likewise.
18945 2015-06-23  Torvald Riegel  <triegel@redhat.com>
18947         [BZ #17403]
18948         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
18949         atomic_read_barrier, atomic_write_barrier): Define.
18950         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
18951         atomic_read_barrier, atomic_write_barrier): Define.
18953 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
18955         * math/Makefile [$(PERL) != no]
18956         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
18957         dependency on libm-test.stmp below the inclusion of Rules.
18959 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
18961         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
18962         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
18963         and included header.
18964         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
18965         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
18966         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
18967         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
18968         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
18969         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
18970         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
18971         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
18972         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
18973         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
18974         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
18975         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
18976         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
18977         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
18978         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
18979         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
18980         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
18981         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
18982         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
18984 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
18986         [BZ #18371]
18987         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
18988         intermediate but not final result might underflow.
18989         * math/s_csqrtf.c (__csqrtf): Likewise.
18990         * math/s_csqrtl.c (__csqrtl): Likewise.
18991         * math/auto-libm-test-in: Add more tests of csqrt.
18992         * math/auto-libm-test-out: Regenerated.
18993         * sysdeps/i386/fpu/libm-test-ulps: Update.
18995         [BZ #18219]
18996         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
18997         threshold on absolute value of exponent for which scaling is used.
18998         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
18999         * math/auto-libm-test-in: Add more tests of exp2.
19000         * math/auto-libm-test-out: Regenerated.
19002 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
19004         [BZ #17977]
19005         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
19006         when initializing interface list, based on the bug analysis
19007         and the patch proposed by Eric Newton.
19008         * resolv/tst-res_hconf_reorder.c: New test.
19009         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
19010         tst-res_hconf_reorder.
19011         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
19012         and $(shared-thread-library).
19013         (tst-res_hconf_reorder-ENV): New variable.
19015         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
19016         in comment.
19018 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
19020         [BZ #16353]
19021         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
19022         (__expm1): Force underflow exception for arguments with small
19023         absolute value.
19024         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
19025         (__expm1f): Force underflow exception for arguments with small
19026         absolute value.
19027         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
19028         (__expm1): Force underflow exception for arguments with small
19029         absolute value.
19030         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
19031         (__expm1f): Force underflow exception for arguments with small
19032         absolute value.
19033         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
19034         Check for small arguments before calling __expm1.
19035         * math/auto-libm-test-in: Do not mark underflow exceptions as
19036         possibly missing for bug 16353.
19037         * math/auto-libm-test-out: Regenerated.
19039 2015-06-22  Andreas Schwab  <schwab@suse.de>
19041         [BZ #18513]
19042         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
19043         PTR queries.
19045 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
19047         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
19049         * string/strcoll_l.c: Remove unused struct element idxnow.
19051 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
19053         [BZ #18569]
19054         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
19055         underflow and return argument in case of subnormal argument.
19056         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
19057         Likewise.
19058         * math/auto-libm-test-in: Add more tests of expm1.
19059         * math/auto-libm-test-out: Regenerated.
19061         [BZ #16361]
19062         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
19063         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
19064         tiny results.
19065         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
19066         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
19067         tiny results.
19068         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
19069         mark underflow exceptions as possibly missing for bug 16361.
19070         * math/auto-libm-test-out: Regenerated.
19072 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
19074         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
19075         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
19076         Remove variable.
19077         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
19078         (test-xfail-XOPEN2K8/utmpx.h/conform).
19080         * conform/conformtest.pl ($xerrors): New variable.
19081         (note_error): New function.
19082         (compiletest): New argument $xfail.  Use not_error.
19083         (runtest): Likewise.
19084         (top level): Handle xfail- lines.  Update calls to compiletest and
19085         runtest.  Handle xfail- and optional- in headers listed with
19086         allow-header.
19087         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
19088         (O_EXEC): Likewise.
19089         (O_SEARCH): Likewise.
19090         * conform/data/stropts.h-data (ioctl): Likewise.
19091         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
19092         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
19093         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
19094         (msghdr.msg_controllen): Likewise.
19095         (cmsghdr.cmsg_len): Likewise.
19096         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
19097         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
19098         variable.
19099         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
19100         (test-xfail-XPG4/stropts.h/conform): Likewise.
19101         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
19102         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
19103         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
19104         (test-xfail-UNIX98/stropts.h/conform): Likewise.
19105         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
19106         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
19107         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
19108         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
19109         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
19110         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
19111         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
19112         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
19113         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
19114         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
19115         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
19116         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
19117         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
19118         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
19119         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
19121 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
19123         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
19124         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
19125         definitions for proper unfolding of __MATHDECL_VEC.
19127 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
19129         * benchtests/bench-strcoll.c:
19130         Include string.h.
19131         (main): Remove unused variable res.
19133 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
19135         * timezone/Makefile (%/UTC %/Universal):
19136         Generate test-result files for UTC and Universal.
19138 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
19140         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
19142 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
19144         [BZ #16350]
19145         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
19146         for arguments with small absolute value.
19147         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
19148         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
19149         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
19150         (__asinh): Force underflow exception for arguments with small
19151         absolute value.
19152         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
19153         (__asinhf): Force underflow exception for arguments with small
19154         absolute value.
19155         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
19156         (__asinhl): Force underflow exception for arguments with small
19157         absolute value.
19158         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
19159         (__asinhl): Force underflow exception for arguments with small
19160         absolute value.
19161         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
19162         (__asinhl): Force underflow exception for arguments with small
19163         absolute value.
19164         * math/auto-libm-test-in: Do not mark underflow exceptions as
19165         possibly missing for bug 16350.
19166         * math/auto-libm-test-out: Regenerated.
19168         * include/bits/ipc.h: Remove file.
19169         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
19170         variable.
19171         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
19172         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
19173         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
19174         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
19175         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
19176         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
19177         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
19178         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
19179         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
19181         * math/auto-libm-test-in: Remove spurious underflow allowance for
19182         tests of cexp.
19183         * math/auto-libm-test-out: Regenerated.
19185         [BZ #18558]
19186         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
19187         unconditional definition.
19188         (MCAST_BLOCK_SOURCE): Likewise.
19189         (MCAST_UNBLOCK_SOURCE): Likewise.
19190         (MCAST_LEAVE_GROUP): Likewise.
19191         (MCAST_JOIN_SOURCE_GROUP): Likewise.
19192         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
19193         (MCAST_MSFILTER): Likewise.
19194         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
19195         Remove variable.
19196         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
19197         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
19198         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
19199         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
19200         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
19202 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
19204         * NEWS: Mention addition of x86_64 vector sincosf.
19205         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
19206         * math/test-float-vlen4.h: Likewise.
19207         * math/test-float-vlen8.h: Likewise.
19208         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
19209         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
19210         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19211         * sysdeps/x86_64/fpu/Versions: New versions added.
19212         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19213         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
19214         Added build of SSE, AVX2 and AVX512 IFUNC versions.
19215         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
19216         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
19217         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
19218         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
19219         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
19220         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
19221         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
19222         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
19223         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
19224         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
19225         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
19226         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
19227         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
19228         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
19229         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
19230         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
19231         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
19232         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
19233         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
19234         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
19235         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
19237         * NEWS: Mention addition of x86_64 vector sincos.
19238         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
19239         * math/math.h (__MATHDECL_VEC): New macro.
19240         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
19241         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
19242         declaration under condition.
19243         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
19244         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
19245         TEST_VEC_LOOP change.
19246         * math/test-double-vlen4.h: Likewise.
19247         * math/test-double-vlen8.h: Likewise.
19248         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
19249         * math/test-float-vlen4.h: Likewise.
19250         * math/test-float-vlen8.h: Likewise.
19251         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
19252         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
19253         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19254         * sysdeps/x86_64/fpu/Versions: New versions added.
19255         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19256         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
19257         Added build of SSE, AVX2 and AVX512 IFUNC versions.
19258         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
19259         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
19260         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
19261         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
19262         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
19263         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
19264         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
19265         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
19266         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
19267         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
19268         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
19269         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
19270         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
19271         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
19272         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
19273         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
19274         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
19275         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
19276         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
19277         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
19278         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
19280         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
19281         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
19282         redirections for powf.
19283         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19284         * sysdeps/x86_64/fpu/Versions: New versions added.
19285         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19286         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
19287         Added build of SSE, AVX2 and AVX512 IFUNC versions.
19288         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
19289         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
19290         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
19291         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
19292         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
19293         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
19294         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
19295         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
19296         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
19297         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
19298         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
19299         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
19300         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
19301         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
19302         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
19303         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
19304         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
19305         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
19306         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
19307         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
19308         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
19309         * math/test-float-vlen16.h: Fixed 2 argument macro.
19310         * math/test-float-vlen4.h: Likewise.
19311         * math/test-float-vlen8.h: Likewise.
19312         * NEWS: Mention addition of x86_64 vector powf.
19314 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
19316         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
19317         and redefine.
19318         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
19319         and redefine.
19320         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
19321         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
19322         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
19324         [BZ #18553]
19325         * resource/getpriority.c (getpriority): Rename to __getpriority
19326         and define as weak alias of __getpriority.
19327         * resource/setpriority.c (setpriority): Rename to __setpriority
19328         and define as weak alias of __setpriority.
19329         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
19330         __getpriority and define as weak alias of __getpriority.
19331         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
19332         __setpriority and define as weak alias of __setpriority.
19333         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
19334         strong name.
19335         (setpriority): Use __setpriority as strong name.
19336         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
19337         __getpriority and define as weak alias of __getpriority.
19338         * include/sys/resource.h (__getpriority): Declare.  Use
19339         libc_hidden_proto.
19340         (__setpriority): Likewise.
19341         (getpriority): Don't use libc_hidden_proto.
19342         (setpriority): Likewise.
19343         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
19344         getpriority.  Call __setpriority instead of setpriority.
19345         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
19346         Remove variable.
19348         [BZ #18547]
19349         * misc/getttyent.c (getttynam): Rename to __getttynam and define
19350         as weak alias of __getttynam.  Use prototype function definition.
19351         Call __setttyent, __getttyent and __endttyent instead of
19352         setttyent, getttyent and endttyent.
19353         (getttyent): Rename to __getttyent and define as weak alias of
19354         __getttyent.  Call __setttyent instead of setttyent.  Call
19355         __fgets_unlocked instead of fgets_unlocked.
19356         (setttyent): Rename to __setttyent and define as weak alias of
19357         __setttyent.
19358         (endttyent): Rename to __endttyent and define as weak alias of
19359         __endttyent.
19360         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
19361         (__setttyent): Likewise.
19362         (__endttyent): Likewise.
19363         (getttyent): Don't use libc_hidden_proto.
19364         (setttyent): Likewise.
19365         (endttyent): Likewise.
19366         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
19367         __endttyent instead of setttyent, getttyent and endttyent.
19368         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
19369         Remove variable.
19371         [BZ #18546]
19372         * socket/recv.c (__recv): Use libc_hidden_def.
19373         * socket/socket.c (__socket): Likewise.
19374         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
19375         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
19376         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
19377         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
19378         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
19379         libc_hidden_def.
19380         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
19381         libc_hidden_weak.
19382         * include/sys/socket.h (__socket): Do not use attribute_hidden.
19383         Use libc_hidden_proto.
19384         (__recv): Likewise.
19385         * socket/Versions (libc): Export __recv and __socket at version
19386         GLIBC_PRIVATE.
19387         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
19388         instead of recv.
19389         (init_mq_netlink): Call __socket instead of socket.
19390         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
19391         Remove variable.
19393         [BZ #18545]
19394         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
19395         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
19396         hidden_weak.
19397         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
19398         define as alias of __mq_timedsend.  Use hidden_weak.
19399         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
19400         __mq_timedsend as strong name.
19401         (mq_timedreceive): Use __mq_timedreceive as strong name.
19402         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
19403         (__mq_timedreceive): Likewise.
19404         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
19405         __mq_timedreceive instead of mq_timedreceive.
19406         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
19407         instead of mq_timedsend.
19408         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
19409         Remove variable.
19411         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
19412         hidden_def and hidden_weak instead of libc_hidden_def and
19413         libc_hidden_weak.
19414         (top level): Refer to hidden_def in comment.
19415         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
19416         macro.  Use it instead of libc_hidden_def.
19417         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
19418         specify __GI_* name explicitly.
19419         (mq_timedreceive): Likewise.
19420         (mq_setattr): Likewise.
19422         [BZ #18544]
19423         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
19424         __pthread_barrier_init and define as weak alias of
19425         __pthread_barrier_init.
19426         * sysdeps/sparc/nptl/pthread_barrier_init.c
19427         (pthread_barrier_init): Likewise.
19428         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
19429         __pthread_barrier_wait and define as weak alias of
19430         __pthread_barrier_wait.
19431         * sysdeps/sparc/nptl/pthread_barrier_wait.c
19432         (pthread_barrier_wait): Likewise.
19433         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
19434         (pthread_barrier_wait): Likewise.
19435         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
19436         (pthread_barrier_wait): Likewise.
19437         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
19438         (pthread_barrier_wait): Likewise.
19439         * nptl/Versions (libpthread): Export __pthread_barrier_init and
19440         __pthread_barrier_wait at version GLIBC_PRIVATE.
19441         * include/pthread.h (__pthread_barrier_init): Declare.
19442         (__pthread_barrier_wait): Likewise.
19443         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
19444         Call __pthread_barrier_wait instead of pthread_barrier_wait.
19445         (helper_thread): Likewise.
19446         (init_mq_netlink): Call __pthread_barrier_init instead of
19447         pthread_barrier_init.
19449         [BZ #18542]
19450         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
19451         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
19452         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
19453         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
19454         vswscanf.
19455         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
19456         Remove variable.
19458         [BZ #18540]
19459         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
19460         strong alias of _IO_fflush.  Use libc_hidden_def.
19461         * libio/iofflush_u.c (fflush_unlocked): Rename to
19462         __fflush_unlocked and define as weak alias of __fflush_unlocked.
19463         Use libc_hidden_weak.
19464         * include/stdio.h (__fflush_unlocked): Declare.  Use
19465         libc_hidden_proto.
19466         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
19467         fflush_unlocked.
19468         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
19469         Remove variable.
19471         [BZ #18539]
19472         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
19473         define as weak alias of __addseverity.
19474         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
19475         Remove variable.
19476         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
19477         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
19478         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
19480         [BZ #18536]
19481         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
19482         (__tfind): Likewise.
19483         (__tdelete): Likewise.
19484         (__twalk): Likewise.
19485         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
19486         __twalk to GLIBC_PRIVATE.
19487         * include/search.h (__tsearch): Use libc_hidden_proto.
19488         (__tfind): Likewise.
19489         (__tdelete): Likewise.
19490         (__twalk): Likewise.
19491         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
19492         Call __tdelete instead of tdelete.
19493         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
19494         tfind.  Call __tsearch instead of tsearch.
19495         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
19496         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
19497         Remove variable.
19498         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
19500         [BZ #18534]
19501         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
19502         (dprintf): Define as a weak alias of __dprintf, not a strong
19503         alias.
19504         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
19505         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
19506         dprintf.
19507         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
19508         Remove variable.
19509         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
19510         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
19512         [BZ #18533]
19513         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
19514         not a strong alias.
19515         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
19516         Remove variable.
19518         [BZ #18532]
19519         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
19520         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
19521         (in6addr_loopback): Rename to __in6addr_loopback and define as
19522         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
19523         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
19524         libc_hidden_proto.
19525         (__in6addr_any): Likewise.
19526         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
19527         in6addr_any.
19528         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
19529         variable.
19530         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
19532 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
19534         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
19535         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
19536         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
19537         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
19538         redirections for pow.
19539         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19540         * sysdeps/x86_64/fpu/Versions: New versions added.
19541         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19542         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
19543         build of SSE, AVX2 and AVX512 IFUNC versions.
19544         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
19545         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
19546         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
19547         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
19548         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
19549         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
19550         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
19551         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
19552         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
19553         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
19554         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
19555         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
19556         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
19557         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
19558         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
19559         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
19560         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
19561         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
19562         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
19563         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
19564         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
19565         * NEWS: Mention addition of x86_64 vector pow.
19567         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
19568         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
19569         redirections for expf.
19570         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19571         * sysdeps/x86_64/fpu/Versions: New versions added.
19572         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19573         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
19574         build of SSE, AVX2 and AVX512 IFUNC versions.
19575         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
19576         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
19577         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
19578         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
19579         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
19580         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
19581         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
19582         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
19583         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
19584         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
19585         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
19586         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
19587         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
19588         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
19589         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
19590         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
19591         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
19592         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
19593         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
19594         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
19595         * NEWS: Mention addition of x86_64 vector expf.
19597         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
19598         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
19599         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
19600         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
19601         redirections for exp.
19602         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19603         * sysdeps/x86_64/fpu/Versions: New versions added.
19604         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19605         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
19606         build of SSE, AVX2 and AVX512 IFUNC versions.
19607         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
19608         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
19609         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
19610         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
19611         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
19612         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
19613         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
19614         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
19615         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
19616         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
19617         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
19618         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
19619         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
19620         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
19621         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
19622         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
19623         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
19624         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
19625         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
19626         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
19627         * NEWS: Mention addition of x86_64 vector exp.
19629         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
19630         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
19631         redirections for logf.
19632         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19633         * sysdeps/x86_64/fpu/Versions: New versions added.
19634         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19635         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
19636         build of SSE, AVX2 and AVX512 IFUNC versions.
19637         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
19638         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
19639         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
19640         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
19641         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
19642         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
19643         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
19644         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
19645         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
19646         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
19647         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
19648         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
19649         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
19650         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
19651         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
19652         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
19653         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
19654         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
19655         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
19656         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
19657         * NEWS: Mention addition of x86_64 vector logf.
19659         * bits/libm-simd-decl-stubs.h: Added stubs for log.
19660         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
19661         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
19662         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
19663         redirections for log.
19664         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19665         * sysdeps/x86_64/fpu/Versions: New versions added.
19666         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19667         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
19668         build of SSE, AVX2 and AVX512 IFUNC versions.
19669         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
19670         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
19671         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
19672         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
19673         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
19674         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
19675         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
19676         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
19677         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
19678         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
19679         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
19680         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
19681         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
19682         test.
19683         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
19684         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
19685         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
19686         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
19687         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
19688         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
19689         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
19690         * NEWS: Mention addition of x86_64 vector log.
19692 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19694         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
19695         cfi_adjust_cfa_offset argument.
19696         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
19697         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
19699         [BZ #18034]
19700         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
19701         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
19702         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
19703         ordering using ldar.
19704         (_dl_tlsdesc_dynamic): Likewise.
19705         (_dl_tlsdesc_return_lazy): Likewise.
19706         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
19707         relaxed atomics instead of volatile and synchronize with release store.
19708         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
19709         volatile.
19710         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
19712 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
19714         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
19715         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
19716         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19717         * sysdeps/x86_64/fpu/Versions: New versions added.
19718         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19719         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
19720         build of SSE, AVX2 and AVX512 IFUNC versions.
19721         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
19722         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
19723         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
19724         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
19725         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
19726         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
19727         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
19728         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
19729         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
19730         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
19731         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
19732         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
19733         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
19734         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
19735         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
19736         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
19737         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
19738         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
19739         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
19740         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
19741         * NEWS: Mention addition of x86_64 vector sinf.
19743 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
19745         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
19746         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
19747         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
19748         Remove variable.
19749         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
19750         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
19752 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
19754         [BZ #18530]
19755         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
19756         strong alias of _IO_fputs.  Use libc_hidden_def.
19757         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
19758         and define as weak alias of __fputs_unlocked.  Use
19759         libc_hidden_weak.
19760         * include/stdio.h (__fputs_unlocked): Declare.  Use
19761         libc_hidden_proto.
19762         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
19763         fputs_unlocked.
19765         [BZ #18529]
19766         * resolv/netdb.h [__USE_POSIX]: Change condition to
19767         [__USE_XOPEN2K].
19768         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
19769         not expect.
19770         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
19771         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
19772         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
19773         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
19774         [XPG4 || UNIX98] (AI_ALL): Likewise.
19775         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
19776         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
19777         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
19778         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
19779         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
19780         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
19781         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
19782         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
19783         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
19784         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
19785         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
19786         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
19787         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
19788         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
19789         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
19790         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
19791         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
19792         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
19793         [XPG4 || UNIX98] (gai_strerror): Likewise.
19794         [XPG4 || UNIX98] (getaddrinfo): Likewise.
19795         [XPG4 || UNIX98] (getnameinfo): Likewise.
19797         [BZ #18528]
19798         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
19799         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
19800         __USE_XOPEN2K8].
19801         (getgrent): Likewise.
19802         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
19803         expect.
19804         [XPG3 || POSIX2008] (endgrent): Likewise.
19805         [XPG3] (setgrent): Likewise.
19806         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
19807         variable.
19808         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
19810         [BZ #18527]
19811         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
19812         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
19813         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
19814         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
19815         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
19816         * include/unistd.h (__getlogin_r): Declare.  Use
19817         libc_hidden_proto.
19818         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
19819         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
19820         variable.
19821         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
19822         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
19823         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
19825 2015-06-12  Martin Sebor  <msebor@redhat.com>
19827         [BZ #18512]
19828         * Makerules (check-install-supported): New target.
19829         (install): Add check-install-supported as a dependency.
19830         * manual/install.texi (Installing the C Library): Document
19831         that overriding prefix and exec_prefix is not supported.
19832         Mention DESTDIR.
19833         * INSTALL: Regenerate from the above.
19835 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
19837         [BZ #18519]
19838         * posix/Versions (libc): Export __libc_pread at version
19839         GLIBC_PRIVATE.
19840         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
19841         instead of pread.
19842         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
19843         variable.
19845         [BZ #18522]
19846         * misc/efgcvt_r.c
19847         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
19848         (cvt_symbol): Use weak_alias instead of strong_alias.
19849         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
19850         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
19851         Remove variable.
19852         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
19853         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
19855         [BZ #18520]
19856         * inet/herrno.c (h_errno): Rename to __h_errno.
19857         (__libc_h_errno): Define as alias of __h_errno not h_errno.
19858         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
19859         to __h_errno instead of h_errno.
19860         * nptl/herrno.c (h_errno): Rename to __h_errno.
19861         (__h_errno_location): Refer to __h_errno not h_errno.
19862         * resolv/Versions (h_errno): Rename to __h_errno.
19863         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
19864         Remove variable.
19865         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
19867 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
19869         * configure.ac: More strict check for AVX512 assembler support.
19870         * configure: Regenerated.
19872         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
19873         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
19874         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
19875         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
19876         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19877         * sysdeps/x86_64/fpu/Versions: New versions added.
19878         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19879         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
19880         Added build of SSE, AVX2 and AVX512 IFUNC versions.
19881         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
19882         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
19883         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
19884         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
19885         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
19886         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
19887         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
19888         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
19889         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
19890         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
19891         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
19892         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
19893         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
19894         test.
19895         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
19896         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
19897         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
19898         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
19899         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
19900         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
19901         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
19902         * NEWS: Mention addition of x86_64 vector sin.
19904 2015-06-11  Florian Weimer  <fweimer@redhat.com>
19906         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
19907         comment.
19909 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
19911         [BZ #18479]
19912         * nptl/pt-interp.c: New file.
19913         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
19914         Add pt-interp.
19915         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
19916         $(common-objpfx)runtime-linker.h.
19918 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
19920         * Makeconfig (+interp): Remove unused variable.
19921         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
19922         only.  Depend on $(common-objpfx)runtime-linker.h instead of
19923         $(elf-objpfx)runtime-linker.h.
19924         ($(elf-objpfx)runtime-linker.h): Rename to
19925         $(common-objpfx)runtime-linker.h and move ...
19926         * Makerules [$(build-shared) = yes]: ... here.
19927         * elf/interp.c: Include <runtime-linker.h> instead of
19928         <elf/runtime-linker.h>.
19930 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19932         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
19933         (__gettimeofday_syscall): Remove vsyscall fallback.
19934         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
19935         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
19936         Add syscall fallback function.
19937         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
19938         if vDSO is not present.
19939         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
19940         fallback function.
19941         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
19942         present.
19943         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
19944         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
19946 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
19948         [BZ #18497]
19949         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
19950         of wcscmp.
19951         (wcscmp): Define as weak alias of WCSCMP.
19952         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
19953         wcscoll.
19954         (USE_HIDDEN_DEF): Define.
19955         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
19956         __wcscoll.  Don't use libc_hidden_weak.
19957         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
19958         wcscmp.
19959         * sysdeps/i386/i686/multiarch/wcscmp-c.c
19960         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
19961         __GI_wcscmp.
19962         (weak_alias): Undefine and redefine.
19963         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
19964         __wcscmp and define as weak alias of __wcscmp.
19965         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
19966         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
19967         (__wcscoll): Likewise.
19968         (wcscmp): Don't use libc_hidden_proto.
19969         (wcscoll): Likewise.
19970         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
19971         wcscoll.
19972         * posix/regexec.c (check_node_accept_bytes): Likewise.
19973         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
19974         variable.
19975         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
19976         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
19978         [BZ #18507]
19979         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
19980         __fstatvfs and define as weak alias of __fstatvfs.  Use
19981         libc_hidden_weak.
19982         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
19983         and define as weak alias of __statvfs.  Use libc_hidden_weak.
19984         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
19985         Define as alias of __fstatvfs, not fstatvfs.
19986         (fstatvfs64): Likewise.
19987         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
19988         Define as alias of __statvfs, not statvfs.
19989         (statvfs64): Likewise.
19990         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
19991         Remove variable.
19993 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19995         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
19996         (HAVE_GETCPU_VSYSCALL): Define.
19997         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
19998         (HAVE_GETCPU_VSYSCALL): Likewise.
19999         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
20000         * sysdeps/unix/sysv/linux/sched_getcpu.c
20001         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
20002         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
20003         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
20004         prototype.
20005         * sysdeps/unix/sysv/linux/x86_64/init-first.c
20006         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
20007         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
20008         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
20009         Define.
20010         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
20011         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
20012         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
20013         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
20015 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
20017         * sysdeps/x86_64/fpu/Makefile: New file.
20018         * sysdeps/x86_64/fpu/Versions: New file.
20019         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
20020         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
20021         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
20022         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
20023         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
20024         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
20025         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
20026         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
20027         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
20028         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
20029         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
20030         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
20031         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
20032         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
20033         Added build of SSE, AVX2 and AVX512 IFUNC versions.
20034         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
20035         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
20036         * sysdeps/x86_64/configure.ac: Options for libmvec build.
20037         * sysdeps/x86_64/configure: Regenerated.
20038         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
20039         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
20040         * manual/install.texi (Configuring and compiling): Document
20041         --disable-mathvec.
20042         * INSTALL: Regenerated.
20043         * NEWS: Mention addition of libmvec and x86_64 vector cos.
20045         * math/Makefile: Added rules for vector tests.
20046         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
20047         declaration under condition.
20048         * math/test-double-vlen2.h: New file.
20049         * math/test-double-vlen4.h: New file.
20050         * math/test-double-vlen8.h: New file.
20051         * math/test-vec-loop.h: Added initialization macro.
20052         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
20053         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
20054         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
20055         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
20056         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
20057         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
20058         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
20059         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
20060         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
20061         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
20062         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
20064         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20065         * sysdeps/x86_64/fpu/Versions: New versions added.
20066         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
20067         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
20068         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
20069         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
20070         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
20071         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
20072         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
20073         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
20074         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
20075         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
20076         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
20077         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
20078         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
20079         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
20080         Added build of SSE, AVX2 and AVX512 IFUNC versions.
20081         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
20082         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
20083         * NEWS: Mention addition of x86_64 vector cosf.
20085         * math/Makefile: Added CFLAGS for new tests.
20086         * math/test-float-vlen16.h: New file.
20087         * math/test-float-vlen4.h: New file.
20088         * math/test-float-vlen8.h: New file.
20089         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
20090         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
20091         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20092         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
20093         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
20094         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
20095         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
20096         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
20097         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
20098         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
20099         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
20101 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
20103         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
20104         * locale/programs/ld-ctype.c: Likewise.
20106 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
20108         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
20109         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
20110         bit_ZMM16_31_state): New macro.
20111         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20112         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
20114 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
20116         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
20118 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
20120         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
20122 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
20124         [BZ #18498]
20125         * libio/memstream.c (open_memstream): Rename to __open_memstream
20126         and define as weak alias of __open_memstream.
20127         * include/stdio.h (__open_memstream): Declare.  Use
20128         libc_hidden_proto.
20129         (open_memstream): Don't use libc_hidden_proto.
20130         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
20131         open_memstream.
20132         * posix/getopt.c (_getopt_internal_r): Likewise.
20133         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
20134         variable.
20135         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
20136         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
20137         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
20139         [BZ #18496]
20140         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
20141         instead of wcrtomb.
20143         [BZ #18483]
20144         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
20145         [__USE_XOPEN2K8].  Remove redundant #endif.
20146         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
20147         Remove redundant #if.
20148         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
20149         Remove variable.
20150         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
20151         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
20153         [BZ #18495]
20154         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
20155         (__iswlower): Likewise.
20156         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
20157         (__iswlower): Likewise.
20158         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
20159         instead of towlower.
20160         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
20161         instead of iswlower.  Call __towupper instead of towupper.
20162         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
20163         instead of iswalnum.
20165 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
20167         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
20168         errors to stderr.
20170 2015-06-05  Florian Weimer  <fweimer@redhat.com>
20172         [BZ #15661]
20173         [BZ #17322]
20174         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
20175         Check for overflow properly.  Check for O_APPEND.  Ignore large
20176         file system block sizes.  Add comments about problems.
20177         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
20178         * manual/filesys.texi (Storage Allocation): New node.
20180 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20182         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
20183         cancellable syscalls.
20184         (SYS_ify): Add guard to no redefine it.
20185         (INLINE_SYSCALL): Likewise.
20186         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
20187         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
20188         SYSCALL_CANCEL instead.
20189         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
20190         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
20191         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
20192         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
20193         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
20194         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
20195         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
20196         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
20197         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
20198         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
20199         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
20200         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
20201         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
20202         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
20203         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
20204         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
20205         Likewise.
20206         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
20207         (__libc_pread64): Likewise.
20208         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
20209         (__libc_preadv): Likewise.
20210         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
20211         (__libc_readv64): Likewise.
20212         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
20213         (__libc_pwrite): Likewise.
20214         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
20215         (__libc_pwrite64): Likewise.
20216         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
20217         (__libc_pwritev): Likewise.
20218         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
20219         (__libc_pwritev64): Likewise.
20220         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
20221         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
20222         (sync_file_range): Likewise.
20223         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
20224         Likewise.
20225         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
20226         Likewise.
20227         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
20228         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
20229         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
20230         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
20231         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
20232         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
20233         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
20234         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
20235         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
20236         Likewise.
20237         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
20238         (__libc_read64): Likewise.
20239         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
20240         Likewise.
20241         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
20242         Likewise.
20243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
20244         Likewise.
20245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
20246         Likewise.
20247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
20248         (__libc_pread64): Likewise.
20249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
20250         Likewise.
20251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
20252         (__libc_pwrite64): Likewise.
20253         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
20254         (sync_file_range): Likewise.
20255         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
20256         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
20257         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
20258         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
20259         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
20260         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
20261         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
20262         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
20263         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
20264         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
20265         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
20266         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
20267         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
20268         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
20269         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
20270         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
20271         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
20272         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
20273         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
20274         Likewise.
20275         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
20276         Likewise.
20277         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
20278         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
20279         Likewise.
20280         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
20281         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
20282         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
20283         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
20284         Likewise.
20285         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
20286         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
20287         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
20288         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
20289         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
20291 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
20293         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
20294         Include dl-vdso.
20295         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
20296         Use VDSO routines for gettimeofday, clock_gettime if
20297         available.
20298         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
20299         Declare VDSO symbols.
20300         * sysdeps/unix/sysv/linux/arm/sysdep.h:
20301         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
20302         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
20303         * sysdeps/unix/sysv/linux/arm/Versions: Add
20304         __vdso_clock_gettime.
20306 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20308         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
20309         be an inline implementation regardless of library is built within.
20310         (open_not_cancel_2): Likewise.
20311         (__read_nocancel): Likewise.
20312         (__write_nocancel): Likewise.
20313         (openat_not_cancel): Likewise.
20314         (openat_not_cancel_3): Likewise.
20315         (openat64_not_cancel): Likewise.
20316         (openat64_not_cancel_3): Likewise.
20317         (__close_nocancel): Likewise.
20318         (pause_not_cancel): Likewise.
20319         (nanosleep_not_cancel): Likewise.
20320         (sigsuspend_not_cancel): Likewise.
20322 2015-06-04  Torvald Riegel  <triegel@redhat.com>
20324         [BZ #14958]
20325         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
20326         wake-up.
20327         (__pthread_rwlock_rdlock_slow): Likewise.
20328         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
20329         Likewise.
20330         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
20331         Likewise.
20332         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
20333         * nptl/tst-rwlock16.c: New file.
20334         * nptl/Makefile (tests): Add new test.
20336 2015-06-04  Torvald Riegel  <triegel@redhat.com>
20338         [BZ #18324]
20339         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
20340         missing wake-up of readers.
20341         * nptl/tst-rwlock15.c: New file.
20342         * nptl/Makefile (tests): Add new test.
20344 2015-06-03  Roland McGrath  <roland@hack.frob.com>
20346         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
20347         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
20348         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
20349         and __nacl_supply_interface_rtld.
20350         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
20351         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
20352         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
20353         Add __nacl_supply_interface_rtld.
20354         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
20356 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
20358         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
20359         isfinite.
20360         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
20361         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
20363 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
20365         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
20366         __signbit* with standard C99 macros.
20367         * math/e_exp10l.c: Likewise.
20368         * math/e_exp2l.c: Likewise.
20369         * math/e_scalb.c: Likewise.
20370         * math/e_scalbf.c: Likewise.
20371         * math/e_scalbl.c: Likewise.
20372         * math/s_ldexp.c: Likewise.
20373         * math/s_ldexpf.c: Likewise.
20374         * math/s_ldexpl.c: Likewise.
20375         * math/w_atan2.c: Likewise.
20376         * math/w_atan2f.c: Likewise.
20377         * math/w_atan2l.c: Likewise.
20378         * math/w_cosh.c: Likewise.
20379         * math/w_coshf.c: Likewise.
20380         * math/w_coshl.c: Likewise.
20381         * math/w_exp10.c: Likewise.
20382         * math/w_exp10f.c: Likewise.
20383         * math/w_exp10l.c: Likewise.
20384         * math/w_exp2.c: Likewise.
20385         * math/w_exp2f.c: Likewise.
20386         * math/w_exp2l.c: Likewise.
20387         * math/w_fmod.c: Likewise.
20388         * math/w_fmodf.c: Likewise.
20389         * math/w_fmodl.c: Likewise.
20390         * math/w_hypot.c: Likewise.
20391         * math/w_hypotf.c: Likewise.
20392         * math/w_hypotl.c: Likewise.
20393         * math/w_jnl.c: Likewise.
20394         * math/w_lgamma.c: Likewise.
20395         * math/w_lgamma_r.c: Likewise.
20396         * math/w_lgammaf.c: Likewise.
20397         * math/w_lgammaf_r.c: Likewise.
20398         * math/w_lgammal.c: Likewise.
20399         * math/w_lgammal_r.c: Likewise.
20400         * math/w_pow.c: Likewise.
20401         * math/w_powf.c: Likewise.
20402         * math/w_powl.c: Likewise.
20403         * math/w_remainder.c: Likewise.
20404         * math/w_remainderf.c: Likewise.
20405         * math/w_remainderl.c: Likewise.
20406         * math/w_scalb.c: Likewise.
20407         * math/w_scalbf.c: Likewise.
20408         * math/w_scalbl.c: Likewise.
20409         * math/w_scalbln.c: Likewise.
20410         * math/w_scalblnf.c: Likewise.
20411         * math/w_scalblnl.c: Likewise.
20412         * math/w_sinh.c: Likewise.
20413         * math/w_sinhf.c: Likewise.
20414         * math/w_sinhl.c: Likewise.
20415         * math/w_tgamma.c: Likewise.
20416         * math/w_tgammaf.c: Likewise.
20417         * math/w_tgammal.c: Likewise.
20418         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20419         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
20420         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
20421         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
20422         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
20423         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20424         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
20425         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
20426         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
20427         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
20428         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
20429         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
20430         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
20431         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
20432         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
20433         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
20434         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
20435         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
20436         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
20437         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
20438         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
20439         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
20440         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
20441         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
20442         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
20443         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
20444         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
20445         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
20446         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
20447         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
20448         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
20449         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
20450         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
20451         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
20452         * stdio-common/printf_fp.c: Likewise.
20453         * stdio-common/printf_fphex.c: Likewise.
20454         * stdio-common/printf_size.c: Likewise.
20456 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
20458         [BZ #18470]
20459         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
20460         strnlen.
20461         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
20462         Remove variable.
20463         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
20464         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
20465         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
20466         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
20467         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
20468         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
20469         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
20470         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
20471         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
20472         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
20474         [BZ #18468]
20475         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
20476         weak alias of __wmemchr.  Use libc_hidden_weak.
20477         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
20478         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
20479         instead of wmemchr.
20481 2015-06-02  Roland McGrath  <roland@hack.frob.com>
20483         [BZ #18383]
20484         * elf/tst-tlsalign-extern.c: New file.
20485         * elf/tst-tlsalign-extern-static.c: New file.
20486         * elf/tst-tlsalign-vars.c: New file.
20487         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
20488         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
20489         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
20490         ($(objpfx)tst-tlsalign-extern-static): Likewise.
20491         (test-xfail-tst-tlsalign-extern-static): New variable.
20493 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
20495         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
20496         Use variable name _sc_err instead of err.
20497         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
20498         instead of ret.
20499         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
20500         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
20501         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
20502         (INLINE_SYSCALL): Likewise.
20504         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
20505         * include/string.h (__strnlen): Use libc_hidden_proto.
20506         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
20507         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
20508         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
20509         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
20510         (libc_hidden_def): Undefine and redefine.
20511         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
20512         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
20513         __GI_strnlen.
20514         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
20515         libc_hidden_def.
20516         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
20518         [BZ #18469]
20519         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
20520         weak alias of __towlower.  Use libc_hidden_weak.
20521         (towupper): Rename to __towupper and define as weak alias of
20522         __towupper.  Use libc_hidden_weak.
20523         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
20524         (__towupper): Likewise.
20525         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
20526         __towlower instead of towlower.
20528 2015-06-02  Roland McGrath  <roland@hack.frob.com>
20530         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
20531         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
20533 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
20535         * sysdeps/aarch64/libm-test-ulps: Update.
20537 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20539         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
20540         Define.
20541         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
20542         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
20543         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
20544         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
20545         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
20546         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
20547         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
20549 2015-06-01  Martin Sebor  <msebor@redhat.com>
20551         [BZ #18116]
20552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
20553         (__setcontext): Use extended four-operand version of mtsf whenever
20554         possible.
20555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
20556         (__novec_swapcontext): Likewise.
20558 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
20560         * benchtests/scripts/compare_bench.py: New file.
20561         * benchtests/scripts/import_bench.py (mean): New function.
20562         (split_list): Likewise.
20563         (do_for_all_timings): Likewise.
20564         (compress_timings): Likewise.
20566         * benchtests/scripts/import_bench.py: New file.
20567         * benchtests/scripts/validate_benchout.py: Import import_bench
20568         instead of jsonschema.
20569         (validate_bench): Remove function.
20570         (main): Use import_bench.
20572 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
20574         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
20575         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
20577 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20579         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20581 2015-05-28  Roland McGrath  <roland@hack.frob.com>
20583         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
20584         set THREAD_SELF->tid to a magic value and futex-wake it.
20585         Pass its address to the thread_exit system call.
20586         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
20587         bit is clear.
20588         * sysdeps/nacl/lowlevellock.h: New file.
20589         * sysdeps/nacl/lll_timedwait_tid.c: New file.
20591         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
20592         Add TIMEOUT to current time, don't subtract it.
20594 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
20596         [BZ #2981]
20597         [BZ #18422]
20598         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
20599         ($(objpfx)tst-audit2.out): Also depend on
20600         $(objpfx)tst-auditmod9b.so.
20601         * elf/tst-audit2.c: Include <dlfcn.h>.
20602         (calloc_called): New.
20603         (calloc): Allow to be called more than once.
20604         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
20606 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
20608         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
20609         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
20611 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
20613         * stdlib/monetary.h: Fix comment.
20615 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
20617         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
20618         Avoid using variables in #defines that might cause shadowing.
20619         (INTERNAL_VSYSCALL_CALL): Likewise.
20621 2015-05-26  Roland McGrath  <roland@hack.frob.com>
20623         * sysdeps/nacl/lll_timedlock_wait.c: New file.
20625         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
20626         * nptl/lll_timedlock_wait.c: ... to this new file.
20627         * nptl/Makefile (libpthread-routines): Add it.
20628         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
20629         * nptl/lll_timedwait_tid.c: ... to this new file.
20630         * nptl/Makefile (libpthread-routines): Add it.
20631         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
20632         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
20633         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
20634         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
20635         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
20636         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
20637         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
20638         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
20639         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
20640         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
20642 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20644         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
20645         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
20646         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
20647         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
20648         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
20649         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
20650         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
20651         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
20652         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
20653         * sysdeps/unix/sysv/linux/tile/sysdep.h
20654         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
20655         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
20656         using vDSO syscall macro.
20658 2015-05-26  Andriy Rysin  <arysin@gmail.com>
20660         [BZ #17293]
20661         * uk_UA: Fix sorting order for Ukrainian locale
20663 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
20665         * stdlib/monetary.h: Fix comment.
20667 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
20669         [BZ #18234]
20670         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
20671         st_mtim and st_ctim members.
20672         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
20673         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
20674         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
20675         (struct stat64): Likewise.
20676         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
20677         (struct stat64): Likewise.
20678         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
20679         (struct stat64): Likewise.
20681 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20683         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
20684         Define and include sysdep-vdso.h.
20685         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
20686         Likewise.
20687         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
20688         Likewise.
20689         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
20690         Define with VDSO_SYMBOL and use PTR_MANGLE.
20691         (__vdso_clock_gettime): Likewise.
20692         (__vdso_clock_getres): Likewise.
20693         (_libc_vdso_platform_setup): Likewise.
20694         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
20695         Likewise.
20696         (_libc_vdso_platform_setup): Likewise.
20697         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
20698         Likewise.
20699         (__vdso_clock_gettime): Likewise.
20700         (__vdso_clock_getres): Likewise.
20701         (__vdso_get_tbfreq): Likewise.
20702         (__vdso_getcpu): Likewise.
20703         (__vdso_time): Likewise.
20704         (__vdso_sigtramp_rt64): Likewise.
20705         (__vdso_signtramp32): Likewise.
20706         (__vdso_sigtramp_rt32): Likewise.
20707         (_libc_vdso_platform_setup): Likewise.
20708         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
20709         Likewise.
20710         (__vdso_clock_gettime): Likewise.
20711         (__vdso_clock_getres): Likewise.
20712         (_libc_vdso_platform_setup): Likewise.
20713         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
20714         Likewise.
20715         (__vdso_clock_gettime): Likewise.
20716         (_libc_vdso_platform_setup): Likewise.
20717         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
20718         Likewise.
20719         (__vdso_getcpu): Likewise.
20720         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
20721         Use VDSO_SYMBOL macro to define.
20722         (__vdso_clock_gettime): Likewise.
20723         (__vdso_clock_getres): Likewise.
20724         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
20725         Likewise.
20726         (__vdso_clock_gettime): Likewise.
20727         (__vdso_clock_getres): Likewise.
20728         (__vdso_get_tbfreq): Likewise.
20729         (__vdso_getcpu): Likewise.
20730         (__vdso_time): Likewise.
20731         (__vdso_sigtramp_rt64): Likewise.
20732         (__vdso_signtramp32): Likewise.
20733         (__vdso_sigtramp_rt32): Likewise.
20734         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
20735         Likewise.
20736         (__vdso_clock_gettime): Likewise.
20737         (__vdso_clock_getres): Likewise.
20738         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
20739         Likewise.
20740         (__vdso_clock_gettime): Likewise.
20741         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
20742         Likewise.
20743         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
20744         macro.
20745         (INTERNAL_VSYSCALL): Likewise.
20746         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
20747         Remove macro.
20748         (INTERNAL_VSYSCALL): Likewise.
20749         (INTERNAL_VSYSCALL_NCS): Likewise.
20750         (INTERNAL_VSYSCALL_CALL): New macro.
20751         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
20752         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
20753         Likewise.
20754         (INTERNAL_VSYSCALL): Likewise.
20755         (INTERNAL_VSYSCALL_NCS): Likewise.
20756         (INTERNAL_VSYSCALL_CALL): New macro.
20757         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
20758         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20759         (INLINE_VSYSCALL): Remove macro.
20760         (INTERNAL_VSYSCALL): Remove macro.
20761         (INTERNAL_VSYSCALL_NCS): Remove macro.
20762         (INTERNAL_VSYSCALL_CALL): New macro.
20763         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
20764         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
20765         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
20766         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
20767         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
20768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
20769         (INLINE_VSYSCALL): Remove macro.
20770         (INTERNAL_VSYSCALL): Likewise.
20771         (INTERNAL_VSYSCALL_NCS): Likewise.
20772         (INTERNAL_VSYSCALL_CALL): New macro.
20773         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
20774         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
20775         PTR_DEMANGLE on vDSO pointer.
20776         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
20777         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
20778         macro.
20779         (INTERNAL_SYSCALL): Likewise.
20780         (INTERNAL_VSYSCALL_NCS): Remove macro.
20781         (INTERNAL_VSYSCALL_CALL): New macro.
20782         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
20783         Remove macro.
20784         (INTERNAL_VSYSCALL): Likewise.
20785         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
20786         sysdep-vdso.h instead of libc-vdso.h.
20787         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
20788         definition.
20789         (INLINE_VSYSCALL): Likewise.
20790         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
20791         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
20792         definition.
20793         (INLINE_VSYSCALL): Likewise.
20794         (INTERNAL_VSYSCALL): Likewise.
20795         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
20796         * sysdeps/unix/sysv/linux/timespec_get.c
20797         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
20798         (timespec_get): Use ANSI prototype.
20799         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
20800         and definition for Linux.
20802 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
20804         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
20805         * include/libc-symbols.h: libmvec_hidden_* macro series added.
20807 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
20809         [BZ #2981]
20810         [BZ #18410]
20811         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
20812         for missing DT_PLTRELSZ.
20814 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
20816         Remove obsolete aliases that broke 'locale -a'
20817         [BZ #18412]
20818         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
20819         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
20820         breaking some applications that use 'locale -a' output.
20821         Change the encoding of this file from Latin-1 to ASCII to avoid
20822         other potential problems with people grepping this file.
20824 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20826         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
20827         -fasynchronous-unwind-tables.
20828         (CFLAGS-sendto.c): Likewise.
20829         (CFLAGS-sendmsg.c): Likewise.
20830         (CFLAGS-connect.c): Likewise.
20831         (CFLAGS-recvmsg.c): Likewise.
20832         (CFLAGS-recvfrom.c): Likewise.
20833         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
20834         (SOCKETCALL): New macro: non-cancellable socketcall.
20835         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
20836         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
20837         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
20838         * sysdeps/unix/sysv/linux/accept.c: New file.
20839         * sysdeps/unix/sysv/linux/bind.c: Likewise.
20840         * sysdeps/unix/sysv/linux/connect.c: Likewise.
20841         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
20842         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
20843         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
20844         * sysdeps/unix/sysv/linux/listen.c: Likewise.
20845         * sysdeps/unix/sysv/linux/recv.c: Likewise.
20846         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
20847         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
20848         * sysdeps/unix/sysv/linux/send.c: Likewise.
20849         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
20850         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
20851         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
20852         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
20853         * sysdeps/unix/sysv/linux/socket.c: Likewise.
20854         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
20855         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
20856         prototype.
20857         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
20858         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
20859         instead of __internal_xxx function.
20860         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
20861         prototype.
20862         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
20863         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
20864         instead of __internal_xxx function.
20865         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
20866         prototype.
20867         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
20868         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
20869         instead of __internal_xxx function.
20870         * sysdeps/unix/sysv/linux/accept.S: Remove file.
20871         * sysdeps/unix/sysv/linux/bind.S: Likewise.
20872         * sysdeps/unix/sysv/linux/connect.S: Likewise.
20873         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
20874         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
20875         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
20876         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
20877         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
20878         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
20879         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
20880         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
20881         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
20882         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
20883         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
20884         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
20885         * sysdeps/unix/sysv/linux/listen.S: Likewise.
20886         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
20887         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
20888         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
20889         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
20890         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
20891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
20892         * sysdeps/unix/sysv/linux/recv.S: Likewise.
20893         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
20894         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
20895         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
20896         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
20897         * sysdeps/unix/sysv/linux/send.S: Likewise.
20898         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
20899         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
20900         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
20901         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
20902         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
20903         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
20904         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
20905         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
20906         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
20907         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
20908         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
20909         socketcall is implemented in GLIBC.
20911 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
20913         * soft-fp/fmadf4.c: Include <libc-internal.h>.
20914         (__fma): Ignore uninitialized warnings around packing.
20915         * soft-fp/fmasf4.c: Include <libc-internal.h>.
20916         (__fmaf): Ignore uninitialized warnings around packing.
20917         * soft-fp/fmatf4.c: Include <libc-internal.h>.
20918         (__fmal): Ignore uninitialized warnings around packing.
20920         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
20921         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
20922         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
20923         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
20925         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
20926         switch statement into default case.
20927         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
20929         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
20930         a conditional in forcing "inexact".
20931         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
20932         Likewise.
20934 2015-05-22  Roland McGrath  <roland@hack.frob.com>
20936         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
20937         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
20938         for each INTERNAL_SYSCALL use.
20940 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
20942         [BZ #438]
20943         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
20944         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
20945         variable.
20947         [BZ #18444]
20948         * string/basename.c (basename): Rename to __basename and define as
20949         weak alias of __basename.  Use libc_hidden_weak.
20950         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
20951         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
20952         __basename instead of basename.
20953         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
20954         Remove variable.
20955         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
20957 2015-05-18  Florian Weimer  <fweimer@redhat.com>
20959         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
20960         (_IO_JUMPS_FILE_plus): New.
20961         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
20962         _IO_CAST_FIELD_ACCESS.
20963         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
20964         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
20965         * libio/freopen.c (freopen): Likewise.
20966         * libio/freopen64.c (freopen64): Likewise.
20967         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
20968         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
20969         * libio/iofwide.c (_IO_fwide): Likewise.
20970         * libio/memstream.c (open_memstream): Likewise.
20971         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
20972         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
20973         * libio/oldiopopen.c (_IO_old_popen): Likewise.
20975 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
20977         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
20978         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
20979         NADJ.
20980         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
20981         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
20982         NADJ.
20983         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
20984         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
20985         NADJ.
20987         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
20988         (p == 4) case.
20990         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
20991         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
20992         Remove variable.
20993         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
20994         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
20995         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
20997 2015-05-21  Florian Weimer  <fweimer@redhat.com>
20999         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
21000         Adjust jump table label generation macros.
21002 2015-05-21  Florian Weimer  <fweimer@redhat.com>
21004         * stdio-common/vfprintf.c (vfprintf): Move local variables
21005         args_malloced, specs, specs_malloced, and the code after
21006         do_positional to the printf_positional function.
21007         (printf_positional): New function.
21009 2015-05-21  Florian Weimer  <fweimer@redhat.com>
21011         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
21012         function.
21013         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
21014         STEP4_TABLE, process_arg): Move macro definitions
21015         out of the vfprintf function.  (Cosmetic change only.)
21017 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
21019         * benchtests/Makefile (stdio-common-bench): Define.
21020         (benchset): Add stdio-common-bench.
21021         * sprintf-inputs: New file.
21022         * sprintf-source.c: New file.
21024 2015-05-21  Andreas Schwab  <schwab@suse.de>
21026         [BZ #13028]
21027         [BZ #17053]
21028         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
21029         of struct __res_state.
21030         * resolv/res_send.c (__libc_res_nsend): Likewise.
21031         (get_nsaddr): New function.
21032         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
21033         statp directly.
21035 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
21037         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
21038         -D_POSIX_C_SOURCE=199506L.
21040         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
21042         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
21043         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
21044         Do not mention otherwise.
21045         [POSIX] (_XOPEN_VERSION): Do not expect.
21046         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
21047         [POSIX] (_POSIX2_C_BIND): Likewise.
21048         [POSIX] (_POSIX2_VERSION): Likewise.
21049         [POSIX] (_XOPEN_XPG2): Likewise.
21050         [POSIX] (_XOPEN_XPG3): Likewise.
21051         [POSIX] (_XOPEN_XPG4): Likewise.
21052         [POSIX] (_XOPEN_UNIX): Likewise.
21053         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
21054         [POSIX] (_POSIX_BARRIERS): Likewise.
21055         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
21056         [POSIX] (_POSIX_CPUTIME): Likewise.
21057         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
21058         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
21059         [POSIX] (_POSIX_SHELL): Likewise.
21060         [POSIX] (_POSIX_SPAWN): Likewise.
21061         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
21062         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
21063         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
21064         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
21065         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
21066         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
21067         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
21068         [POSIX] (_XBS5_LP64_OFF64): Likewise.
21069         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
21070         [POSIX] (_POSIX_TIMEOUTS): Likewise.
21071         [POSIX] (_POSIX2_PBS): Likewise.
21072         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
21073         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
21074         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
21075         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
21076         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
21077         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
21078         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
21079         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
21080         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
21081         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
21082         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
21083         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
21084         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
21085         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
21086         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
21087         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
21088         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
21089         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
21090         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
21091         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
21092         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
21093         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
21094         [POSIX] (_SC_2_C_BIND): Likewise.
21095         [POSIX] (_SC_2_C_VERSION): Likewise.
21096         [POSIX] (_SC_2_PBS): Likewise.
21097         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
21098         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
21099         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
21100         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
21101         [POSIX] (_SC_2_PBS_TRACK): Likewise.
21102         [POSIX] (_SC_ATEXIT_MAX): Likewise.
21103         [POSIX] (_SC_BARRIERS): Likewise.
21104         [POSIX] (_SC_BASE): Likewise.
21105         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
21106         [POSIX] (_SC_DEVICE_IO): Likewise.
21107         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
21108         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
21109         [POSIX] (_SC_FD_MGMT): Likewise.
21110         [POSIX] (_SC_FIFO): Likewise.
21111         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
21112         [POSIX] (_SC_FILE_LOCKING): Likewise.
21113         [POSIX] (_SC_FILE_SYSTEM): Likewise.
21114         [POSIX] (_SC_IOV_MAX): Likewise.
21115         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
21116         [POSIX] (_SC_NETWORKING): Likewise.
21117         [POSIX] (_SC_PAGE_SIZE): Likewise.
21118         [POSIX] (_SC_PASS_MAX): Likewise.
21119         [POSIX] (_SC_PIPE): Likewise.
21120         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
21121         [POSIX] (_SC_REGEXP): Likewise.
21122         [POSIX] (_SC_SHELL): Likewise.
21123         [POSIX] (_SC_SIGNALS): Likewise.
21124         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
21125         [POSIX] (_SC_SPIN_LOCKS): Likewise.
21126         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
21127         [POSIX] (_SC_USER_GROUPS): Likewise.
21128         [POSIX] (_SC_USER_GROUPS_R): Likewise.
21129         [POSIX] (_SC_STREAMS): Likewise.
21130         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
21131         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
21132         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
21133         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
21134         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
21135         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
21136         [POSIX] (_PC_FILESIZEBITS): Likewise.
21137         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
21138         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
21139         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
21140         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
21141         [POSIX] (uid_t): Likewise.
21142         [POSIX] (gid_t): Likewise.
21143         [POSIX] (off_t): Likewise.
21144         [POSIX] (pid_t): Likewise.
21145         [POSIX] (cuserid): Allow.
21146         (_SC_2_CHAR_TERM): Require constant.
21147         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
21148         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
21149         variable.
21151 2015-05-20  Roland McGrath  <roland@hack.frob.com>
21153         * sysdeps/nacl/pthread-pids.h: New file.
21154         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
21155         (create_thread): Use __nacl_get_tid to initialize PD->tid.
21157         * nptl/pthread-pids.h: New file.
21158         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
21159         * nptl/nptl-init.c: Include <pthread-pids.h>.
21160         (__pthread_initialize_minimal_internal):
21161         Call __pthread_initialize_pids instead of set_tid_address syscall.
21163         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
21164         * sysdeps/posix/usleep.c: ... here.
21166 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21168         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
21169         call_pselect6 object.
21170         [$(subdir) = io]: Remove call_sync_file_range object.
21171         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
21172         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
21173         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
21174         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
21176 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
21178         * math/s_cproj.c: Add include "math_private.h".
21179         * math/s_cprojf.c: Likewise.
21180         * math/s_cprojl.c: Likewise.
21182 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
21184         [BZ #18244]
21185         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
21186         high mantissa bit when testing whether P is a NaN.
21187         * math/libm-test.inc (remainder_test_data): Add more tests.
21188         (remquo_test_data): Likewise.
21190         [BZ #18049]
21191         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
21192         below -32, return the argument, with underflow if subnormal.
21193         * math/auto-libm-test-in: Add more tests of atanh.
21194         * math/auto-libm-test-out: Regenerated.
21196 2015-05-19  Roland McGrath  <roland@hack.frob.com>
21198         [BZ #18434]
21199         * nptl/tst-sem15.c: New file.
21200         * nptl/Makefile (tests): Add it.
21201         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
21202         s/<</>>/ to fix typo in EOVERFLOW check.
21203         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
21205 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
21207         * manual/strings.texi (envz_remove): Fix typo in safety
21208         annotations.
21210 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
21211             Steve Ellcey  <sellcey@imgtec.com>
21213         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
21214         in order to avoid strict alias warnings.
21215         (iruserok_af): Ditto for ra.
21217 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
21219         [BZ #17581]
21220         * malloc/hooks.c
21221         (magicbyte): Convert to a function and avoid returning 0x01.
21222         (mem2mem_check): Avoid using a length byte equal to the magic byte.
21223         (mem2chunk_check): Fix unsigned comparisons to zero.
21224         Hoist defs of sz and magic.
21226 2015-05-19  Richard Henderson  <rth@redhat.com>
21228         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
21230         * sysdeps/alpha/fpu/libm-test-ulps: Update.
21232 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
21234         [BZ #16159]
21235         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
21236         * malloc/arena.c (arena_lock): Check if arena is corrupt.
21237         (reused_arena): Find a non-corrupt arena.
21238         (heap_trim): Pass arena to unlink.
21239         * malloc/hooks.c (malloc_check_get_size): Pass arena to
21240         malloc_printerr.
21241         (top_check): Likewise.
21242         (free_check): Likewise.
21243         (realloc_check): Likewise.
21244         * malloc/malloc.c (malloc_printerr): Add arena argument.
21245         (unlink): Likewise.
21246         (munmap_chunk): Adjust.
21247         (ARENA_CORRUPTION_BIT): New macro.
21248         (arena_is_corrupt): Likewise.
21249         (set_arena_corrupt): Likewise.
21250         (sysmalloc): Use mmap if there are no usable arenas.
21251         (_int_malloc): Likewise.
21252         (__libc_malloc): Don't fail if arena_get returns NULL.
21253         (_mid_memalign): Likewise.
21254         (__libc_calloc): Likewise.
21255         (__libc_realloc): Adjust for additional argument to
21256         malloc_printerr.
21257         (_int_free): Likewise.
21258         (malloc_consolidate): Likewise.
21259         (_int_realloc): Likewise.
21260         (_int_memalign): Don't touch corrupt arenas.
21261         * malloc/tst-malloc-backtrace.c: New test case.
21263         * Makefile (summarize-tests): Fix return value on success.
21265         * manual/string.texi (Envz Functions): Add envz_remove.
21267 2015-05-18  Roland McGrath  <roland@hack.frob.com>
21269         * sysdeps/posix/opendir.c: Include <stdbool.h>.
21270         (invalid_name): New function, broken out of ...
21271         (__opendirat): ... here.  Call it.
21272         (need_isdir_precheck): New function, broken out of ...
21273         (__opendirat): ... here.  Call it.
21274         Use __fxstatat64, not __xstatat64.
21275         (opendir_oflags): New function, broken out of ...
21276         (__opendirat): ... here.  Call it.
21277         (opendir_tail): New function, broken out of ...
21278         (__opendirat): ... here.  Call it.
21279         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
21280         opendir_tail, rather than punting to __opendirat.
21281         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
21283 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
21285         * .gitignore: Ignore generated *.pyc.
21287 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
21289         * include/stdio.h: Define __need_wint_t.
21290         * test-skeleton.c: Avoid `for' loop initial declaration.
21291         * nptl/tst-initializers1.c: Use test-skeleton.c.
21293 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21295         [BZ #18418]
21296         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
21298 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
21300         [BZ #16352]
21301         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
21302         (__ieee754_atanh): Force underflow exception for results with
21303         small absolute value.
21304         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
21305         (__ieee754_atanhf): Force underflow exception for results with
21306         small absolute value.
21307         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
21308         (__ieee754_atanh): Force underflow exception for results with
21309         small absolute value.
21310         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
21311         (__ieee754_atanhf): Force underflow exception for results with
21312         small absolute value.
21313         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
21314         (__ieee754_atanhl): Force underflow exception for results with
21315         small absolute value.
21316         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
21317         (__ieee754_atanhl): Force underflow exception for results with
21318         small absolute value.
21319         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
21320         (__ieee754_atanhl): Force underflow exception for results with
21321         small absolute value.
21322         * math/auto-libm-test-in: Do not allow missing underflow
21323         exceptions from atanh.
21324         * math/auto-libm-test-out: Regenerated.
21326         [BZ #18221]
21327         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
21328         2**-28 as threshold for returning x or +/- 1/x.
21329         * math/auto-libm-test-in: Add more tests of tan.
21330         * math/auto-libm-test-out: Regenerated.
21332         [BZ #18220]
21333         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
21334         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
21335         * math/auto-libm-test-in: Add another test of lgamma.
21336         * math/auto-libm-test-out: Regenerated.
21338 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
21340         * stdio-common/printf_fp.c (___printf_fp): Use abs.
21341         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
21342         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
21343         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
21344         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
21345         (ADD2A): Use fabs.  (SUB2A): Use fabs.
21346         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
21347         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
21348         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
21349         (log1): Use fabs.  (my_log2): Use fabs.
21350         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
21351         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
21352         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
21353         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
21354         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
21355         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
21356         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
21357         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
21358         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
21359         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
21360         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
21362 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
21364         [BZ #18217]
21365         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
21366         as threshold for returning 1 - x.
21367         * math/auto-libm-test-in: Add more tests of erfc.
21368         * math/auto-libm-test-out: Regenerated.
21370 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
21372         [BZ #18196]
21373         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
21374         threshold for large arguments.
21375         * math/auto-libm-test-in: Add another test of atan.
21376         * math/auto-libm-test-out: Regenerated.
21378         [BZ #16339]
21379         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
21380         (__log1p): Force underflow exception for results with small
21381         absolute value.
21382         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
21383         (__log1pf): Force underflow exception for results with small
21384         absolute value.
21385         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
21386         (__log1p): Force underflow exception for results with small
21387         absolute value.
21388         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
21389         (__log1pf): Force underflow exception for results with small
21390         absolute value.
21391         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
21392         (__log1pl): Force underflow exception for results with small
21393         absolute value.
21394         * math/auto-libm-test-in: Do not allow missing underflow
21395         exceptions from log1p.
21396         * math/auto-libm-test-out: Regenerated.
21398 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
21399             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21401         [BZ #16704]
21402         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
21404 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
21406         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
21407         (libmvec): New variable.
21408         * configure.ac: Added option for mathvec build.
21409         * configure: Regenerated.
21410         * mathvec/Depend: New file.
21411         * mathvec/Makefile: New file.
21412         * shlib-versions: Added libmvec.
21413         * math/Makefile: Added rule for libm.so installation.
21415         * bits/math-vector.h: New file.
21416         * bits/libm-simd-decl-stubs.h: New header.
21417         * math/Makefile (headers): Added new header
21418         libm-simd-decl-stubs.h.
21419         * math/math.h (__MATHCALL_VEC): New macro.
21421         * math/gen-libm-have-vector-test.sh: Script generates series of macros
21422         for conditions in testing functions.
21423         * math/Makefile: Added call of libm-have-vector-test.sh.
21424         * math/libm-test.inc (HAVE_VECTOR): New macros.
21426         * math/libm-test.inc: START refactored.
21427         * math/test-double.c (TEST_MATHVEC): Add define.
21428         * math/test-float.c: Likewise.
21429         * math/test-idouble.c: Likewise.
21430         * math/test-ifloat.c: Likewise.
21431         * math/test-ildoubl.c: Likewise.
21432         * math/test-ldouble.c: Likewise.
21433         * sysdeps/generic/math-tests-arch.h
21434         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
21435         architecture check.
21437         * math/test-double.c (FUNC_TEST): New macro.
21438         * math/test-float.c: Likewise.
21439         * math/test-idouble.c: Likewise.
21440         * math/test-ifloat.c: Likewise.
21441         * math/test-ildoubl.c: Likewise.
21442         * math/test-ldouble.c: Likewise.
21443         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
21445 2015-05-13  Roland McGrath  <roland@hack.frob.com>
21447         * sysdeps/nacl/fdopendir.c: New file.
21449         * dirent/scandir-tail.c: New file.
21450         * dirent/scandir64-tail.c: New file.
21451         * dirent/Makefile (routines): Add them.
21452         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
21453         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
21454         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
21455         [!SCANDIR] (SCANDIR_TAIL): New macro.
21456         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
21457         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
21458         (SCANDIRAT): Macro removed.
21459         (SCANDIR_TAIL): New macro.
21460         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
21461         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
21462         (SCANDIRAT): Just call __opendirat and __scandir_tail.
21463         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
21464         (READDIR): Macro removed.
21465         (SCANDIR_TAIL): New macro.
21466         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
21467         (SCANDIR_TAIL): New macro.
21469         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
21470         * dirent/scandir-cancel.c: ... to this new file.
21471         * dirent/Makefile (routines): Add it.
21472         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
21473         * sysdeps/unix/sysv/linux/i386/scandir64.c
21474         (SKIP_SCANDIR_CANCEL): Macro removed.
21475         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
21477         * dirent/tst-scandir.c: New file.
21478         * dirent/tst-scandir64.c: New file.
21479         * dirent/Makefile (tests): Add them.
21481 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
21483         [BZ #18409]
21484         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
21486 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21488         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
21489         list.
21491 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
21493         * benchtests/bench-strcoll.c: New benchmark.
21494         * benchtests/Makefile: Generate locales and run benchmark.
21495         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
21496         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
21497         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
21498         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
21499         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
21500         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
21501         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
21502         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
21503         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
21504         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
21505         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
21506         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
21507         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
21508         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
21509         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
21510         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
21511         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
21512         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
21513         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
21514         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
21515         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
21516         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
21517         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
21518         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
21520 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
21522         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
21523         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
21525 2015-05-12  Roland McGrath  <roland@hack.frob.com>
21527         * posix/uname-values.h: New file.
21528         * posix/uname.c: Include that instead of <config-name.h>.
21529         * sysdeps/nacl/uname-values.h: New file.
21530         * sysdeps/arm/nacl/uname-values.h: New file.
21532 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
21534         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
21535         splitting into fields.
21537 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
21539         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
21540         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
21541         * locale/localeinfo.h: Add enum collation_encoding_type.
21542         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
21543         * programs/ld-collate.c (collate_output): Add encoding type info.
21544         * string/strcoll_l.c (STRDIFF): New function.
21545         * (STRCOLL): Use STRDIFF to skip over equal prefix.
21546         * wcsmbs/wcscoll_l.c: Define STRDIFF.
21548 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
21550         [BZ #18397]
21551         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
21552         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
21553         <fpu_control.h> instead of <math/fpu_control.c>.
21554         * sysdeps/mips/mips32/fpu/Makefile: New file.
21556 2015-05-11  Andreas Schwab  <schwab@suse.de>
21558         [BZ #18007]
21559         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
21560         nss_endgrent.
21561         (_nss_compat_endgrent): Call nss_endgrent.
21562         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
21563         nss_endpwent.
21564         (_nss_compat_endpwent): Call nss_endpwent.
21565         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
21566         needent, call nss_setspent only if non-zero.
21567         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
21568         (internal_endspent): Don't call nss_endspent.
21569         (_nss_compat_endspent): Call nss_endspent.
21570         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
21571         Remove.  All uses removed.
21572         (internal_setent): Remove parameter stayopen, add parameter
21573         stream.  Use it instead of global variable.
21574         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
21575         (internal_endent, internal_getent): Add parameter stream.  Use it
21576         instead of global variable.
21577         (CONCAT(_nss_files_end,ENTNAME))
21578         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
21579         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
21580         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
21581         uses removed.
21582         (internal_setent, internal_endent): Add parameter stream.  Use it
21583         instead of global variable.
21584         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
21585         stream.
21586         (get_next_alias): Add parameter stream.
21587         (_nss_files_getaliasent_r): Pass global stream.
21588         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
21589         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
21590         (_nss_files_gethostbyname4_r): Pass local stream to
21591         internal_setent, internal_getent and internal_endent.  Remove
21592         locking.
21594 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
21596         * tst-strfmon1.c (tests): Update expected currency symbol.
21598 2015-05-08  Roland McGrath  <roland@hack.frob.com>
21600         * sysdeps/nacl/gethostname.c: New file.
21602 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
21604         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
21605         and sinh.
21606         * math/auto-libm-test-out: Regenerated.
21607         * sysdeps/i386/fpu/libm-test-ulps: Update.
21608         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21610 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
21612         [BZ #18125]
21613         * stdlib/tst-setcontext3.c: New file.
21614         * stdlib/tst-setcontext3.sh: New file.
21615         * stdlib/Makefile (tests): Add tst-setcontext3.
21616         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
21617         to verify test program created output file.
21618         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
21619         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
21620         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
21621         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
21623 2015-05-06  Roland McGrath  <roland@hack.frob.com>
21625         [BZ #18383]
21626         * elf/tst-tlsalign.c: New file.
21627         * elf/tst-tlsalign-static.c: New file.
21628         * elf/tst-tlsalign-lib.c: New file.
21629         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
21630         (tests-static): Add tst-tlsalign-static.
21631         (modules-names): Add tst-tlsalign-lib.
21632         (test-xfail-tst-tlsalign): New variable.
21633         (test-xfail-tst-tlsalign-static): New variable.
21635         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
21636         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
21638 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
21640         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
21641         csqrt, erfc, sin and sincos.
21642         * math/auto-libm-test-out: Regenerated.
21643         * sysdeps/i386/fpu/libm-test-ulps: Update.
21644         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21646 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21648         * sysdeps/aarch64/libm-test-ulps: Update.
21650 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
21652         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
21653         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
21654         * math/auto-libm-test-out: Regenerated.
21655         * sysdeps/i386/fpu/libm-test-ulps: Update.
21656         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21658 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
21660         [BZ #18265]
21661         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
21662         (wcsncpy): Likewise.
21664 2015-05-05  Florian Weimer  <fweimer@redhat.com>
21666         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
21667         Assume __ASSUME_FALLOCATE is always true.
21668         * sysdeps/unix/sysv/linux/posix_fallocate64.c
21669         (__posix_fallocate64_l64): Likweise.
21670         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
21671         (posix_fallocate): Likewise.
21672         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
21673         (__posix_fallocate64_l64): Likewise.
21674         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
21675         [!__ASSUME_FALLOCATE]: Add comment.
21677 2015-05-05  Florian Weimer  <fweimer@redhat.com>
21679         * sysdeps/unix/sysv/linux/i386/Makefile
21680         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
21681         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
21682         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
21683         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
21684         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
21685         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
21686         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
21688 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
21690         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
21691         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
21692         tgamma.
21693         * math/auto-libm-test-out: Regenerated.
21694         * sysdeps/i386/fpu/libm-test-ulps: Update.
21695         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21697 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
21699         * math/auto-libm-test-in: Add more tests of tgamma.
21700         * math/auto-libm-test-out: Regenerated.
21701         * sysdeps/i386/fpu/libm-test-ulps: Update.
21702         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21704         * math/auto-libm-test-in: Add more tests of tanh.
21705         * math/auto-libm-test-out: Regenerated.
21706         * sysdeps/i386/fpu/libm-test-ulps: Update.
21707         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21709         * math/auto-libm-test-in: Add more tests of tan.
21710         * math/auto-libm-test-out: Regenerated.
21711         * sysdeps/i386/fpu/libm-test-ulps: Update.
21712         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21714         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
21715         * math/auto-libm-test-out: Regenerated.
21716         * sysdeps/i386/fpu/libm-test-ulps: Update.
21717         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21719         * math/auto-libm-test-in: Add another test of pow.
21720         * math/auto-libm-test-out: Regenerated.
21721         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21723         * math/auto-libm-test-in: Add more tests of lgamma.
21724         * math/auto-libm-test-out: Regenerated.
21725         * sysdeps/i386/fpu/libm-test-ulps: Update.
21726         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21728         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
21729         log1p.
21730         * math/auto-libm-test-out: Regenerated.
21731         * sysdeps/i386/fpu/libm-test-ulps: Update.
21732         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21734 2015-05-01  Mark Wielaard  <mjw@redhat.com>
21736         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
21737         Elf64_Chdr structs and ELFCOMPRESS constants.
21739 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
21741         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
21742         expm1.
21743         * math/auto-libm-test-out: Regenerated.
21744         * sysdeps/i386/fpu/libm-test-ulps: Update.
21745         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21747         * math/auto-libm-test-in: Add more tests of erf and erfc.
21748         * math/auto-libm-test-out: Regenerated.
21749         * sysdeps/i386/fpu/libm-test-ulps: Update.
21750         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21752 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21754         * config.h.in (HAVE_AARCH64_BE): Add.
21756 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
21758         * math/auto-libm-test-in: Add more tests of csqrt.
21759         * math/auto-libm-test-out: Regenerated.
21760         * sysdeps/i386/fpu/libm-test-ulps: Update.
21761         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21763         * math/auto-libm-test-in: Add more tests of cosh and sinh.
21764         * math/auto-libm-test-out: Regenerated.
21765         * sysdeps/i386/fpu/libm-test-ulps: Update.
21766         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21768         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
21770 2015-04-29  Roland McGrath  <roland@hack.frob.com>
21772         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
21773         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
21775         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
21776         (euidaccess, eaccess): Define as weak aliases.
21778         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
21779         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
21780         but __suseconds_t is often 'long int' so some sources assume that
21781         type is being used (e.g. they use %ld to print tv_usec).
21783 2015-04-29  Florian Weimer  <fweimer@redhat.com>
21785         [BZ #18007]
21786         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
21787         (CVE-2014-8121)
21788         * nss/tst-nss-getpwent.c: New file.
21789         * nss/Makefile (tests): Add new test.
21791 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
21793         [BZ #18346]
21794         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
21795         exponents less than 48 as cases where high part of mantissa needs
21796         examining to determine whether argument is integral.
21797         * math/libm-test.inc (round_test_data): Add more tests.
21799 2015-04-28  Mark Wielaard  <mjw@redhat.com>
21801         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
21803 2015-04-27  David S. Miller  <davem@davemloft.net>
21805         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
21806         __tls_get_addr.
21807         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
21809 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
21811         [BZ#18333]
21812         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
21814 2015-04-27  Florian Weimer  <fweimer@redhat.com>
21816         [BZ#18333]
21817         * time/tzset.c (parse_tzname): Return error on memory allocation
21818         failure.
21819         * test-skeleton.c (struct temp_name_list): Change type of name
21820         member to non-const.
21821         (add_temp_file): Create a copy of the file name.
21822         (delete_temp_files): Deallocate memory.
21823         (create_temp_file): Add comment.
21825 2015-04-24  Florian Weimer  <fweimer@redhat.com>
21827         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
21828         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
21830 2015-04-24  Roland McGrath  <roland@hack.frob.com>
21832         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
21833         * sysdeps/arm/configure: Regenerated.
21835 2015-04-24  Florian Weimer  <fweimer@redhat.com>
21837         [BZ #17715]
21838         * time/tzfile.c (__tzfile_read): Check for large values of
21839         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
21840         * time/tzset.c (__tzstring_len): New function, based on the old
21841         __tzstring function.
21842         (__tzstring): Call __tzstring_len.
21843         (parse_tzname): New helper function extracted from
21844         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
21845         the input string.
21846         (parse_offset): New helper function extracted from
21847         __tzset_parse_tz.  Replace switch with fallthrough with
21848         initialization before sscanf.
21849         (parse_rule): Likewise.
21850         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
21851         new-style function definition.
21852         * timezone/Makefile (tests): Add tst-tzset.
21853         (tst-tzset.out): Dependencies on time zone files.
21854         (tst-tzset-ENV): Set TZDIR.
21855         (testdata/XT%): Copy crafted time zone files.
21856         * timezone/README: Mention crafted time zone files.
21857         * timezone/testdata/XT1, timezone/testdata/XT2,
21858         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
21859         files.
21860         * timezone/tst-tzset.c: New test.
21862 2015-04-24  Florian Weimer  <fweimer@redhat.com>
21864         * Makeconfig (+gccwarn): Remove -Winline.
21866 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
21868         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
21870 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
21872         * NEWS: Mention sysconf() cache information support for s390.
21873         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
21875 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
21877         * math/k_casinh.c (__kernel_casinh): Use __copysign.
21878         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
21879         (__nearbyint): Likewise.
21880         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
21881         (copysignl): Likewise.
21883 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
21885         [BZ #18287]
21886         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
21887         based on padding.  (CVE-2015-1781)
21889 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21891         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
21892         libc-vdso.h.
21893         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
21894         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
21895         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
21896         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
21897         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
21898         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
21899         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
21900         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
21901         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
21902         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
21903         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
21904         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
21905         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
21906         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
21907         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
21908         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
21909         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
21910         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
21911         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
21912         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
21913         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
21914         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
21915         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
21917 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
21919         * stdlib/setenv.c (__add_to_environ):
21920         Dump core quickly if setenv (..., NULL, ...) is called.
21921         This time, do it the right way, and pacify GCC with a pragma.
21923 2015-04-17  Roland McGrath  <roland@hack.frob.com>
21925         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
21926         IMAP->l_prev cannot be null, and #if out the code for the contrary
21927         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
21928         believe that NS (&_dl_ns[NSID]) could point outside the array.
21930         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
21931         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
21932         before using NSID as an index.
21934 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
21936         [BZ #17825]
21937         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
21938         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
21939         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
21941 2015-04-17  Roland McGrath  <roland@hack.frob.com>
21943         Add preliminary port to Google Native Client on ARM.
21944         * abi-tags (.*-.*-nacl.*): New entry.
21945         * sysdeps/arm/nacl: New directory.
21946         * sysdeps/nacl: New directory.
21948 2015-04-16  David S. Miller  <davem@davemloft.net>
21950         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
21951         lowlevellock-futex.h
21953 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
21955         * sysdeps/tile/configure.ac: New file.
21956         * sysdeps/tile/configure: Regenerated.
21958 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21960         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
21961         conditionals for weak_alias and libc_hidden_weak.
21962         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
21963         libc_hidden_weak and weak_alias.
21964         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
21965         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
21966         and weak_alias for static one.
21968 2015-04-15  David S. Miller  <davem@davemloft.net>
21970         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
21972 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
21974         [BZ #18206]
21975         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
21976           Use signed comparision instead of substraction to avoid
21977           overflow bug.
21978         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
21979           Take the sign of ret.
21980         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
21981           Do not expect precise return values. Only the sign matters.
21982         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
21983         * wcsmbs/test-wcsncmp.c: New File.
21984         * string/test-strncmp.c: Add wcsncmp support.
21986 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
21988         [BZ #6792]
21989         * math/w_log1p.c: New file.
21990         * math/w_log1pf.c: Likewise.
21991         * math/w_log1pl.c: Likewise.
21992         * math/Makefile (libm-calls): Add w_log1p.
21993         * math/s_log1pl.c (log1pl): Remove weak_alias.
21994         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
21995         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
21996         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
21997         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
21998         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
21999         [NO_LONG_DOUBLE] (log1pl): Likewise.
22000         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
22001         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
22002         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
22003         (log1p): Remove long_double_symbol.
22004         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
22005         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
22006         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
22007         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
22008         remove weak_alias for corresponding log1p function.
22009         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
22010         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
22011         * sysdeps/ia64/fpu/w_log1p.c: New file.
22012         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
22013         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
22014         * math/libm-test.inc (log1p_test_data): Add errno expectations.
22016 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
22018         [BZ #18247]
22019         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
22020         decimal exponent by 1.
22021         * stdlib/tst-strtod-round-data: Add more tests.
22022         * stdlib/tst-strtod-round.c (tests): Regenerated.
22024 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
22026         * math/auto-libm-test-in: Add more tests of clog and clog10.
22027         * math/auto-libm-test-out: Regenerated.
22028         * sysdeps/i386/fpu/libm-test-ulps: Update.
22029         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22031 2015-04-09  Roland McGrath  <roland@hack.frob.com>
22033         * Makeconfig (module-cppflags): Exclude all .v.i files.
22034         (skip-module-cppflags): Variable removed.
22036         * configure.ac (libc_config_ok): Initialize before reading
22037         preconfigure scripts, not after.
22038         * configure: Regenerated.
22040         * test-skeleton.c (TIMEOUT): Move #define to top level.
22041         (main): Grok environment variable TEST_DIRECT.  If set, print
22042         test expectation details into that file and then behave as if
22043         given --direct.
22045 2015-04-09  Florian Weimer  <fweimer@redhat.com>
22047         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
22048         warning on 32-bit.
22050 2015-04-08  David S. Miller  <davem@davemloft.net>
22052         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22054 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
22056         * math/auto-libm-test-in: Add more tests of atanh.
22057         * math/auto-libm-test-out: Regenerated.
22058         * sysdeps/i386/fpu/libm-test-ulps: Update.
22059         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22061         * math/auto-libm-test-in: Add more tests of atan.
22062         * math/auto-libm-test-out: Regenerated.
22063         * sysdeps/i386/fpu/libm-test-ulps: Update.
22064         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22066 2015-04-08  Florian Weimer  <fweimer@redhat.com>
22068         * elf/pldd.c (main): Rewrite to use struct
22069         scratch_buffer instead of extend_alloca.
22070         * elf/pldd-xx.c (find_maps): Likewise.
22071         * grp/initgroups.c: Include <scratch_buffer.h> instead of
22072         <alloca.h>.
22073         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
22074         scratch_buffer instead of extend_alloca.
22075         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
22076         grp/compat-initgroups.c.
22077         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
22078         Rewrite to use struct scratch_buffer instead of extend_alloca.
22079         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
22080         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
22082 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
22084         * math/auto-libm-test-in: Add more tests of cbrt.
22085         * math/auto-libm-test-out: Regenerated.
22086         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22088         * math/auto-libm-test-in: Add more tests of cabs.
22089         * math/auto-libm-test-out: Regenerated.
22090         * sysdeps/i386/fpu/libm-test-ulps: Update.
22091         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22093         [BZ #18210]
22094         [BZ #18211]
22095         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
22096         (__ieee754_atan2): Set FE_TONEAREST mode for internal
22097         computations.
22098         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
22099         clog10.
22100         * math/auto-libm-test-out: Regenerated.
22101         * sysdeps/i386/fpu/libm-test-ulps: Update.
22102         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22104         [BZ #18197]
22105         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
22106         (atan): Set FE_TONEAREST mode for internal computations.
22107         * math/auto-libm-test-in: Add more tests of atan.
22108         * math/auto-libm-test-out: Regenerated.
22110 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
22112         [BZ #17930]
22113         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
22115 2015-04-07  Florian Weimer  <fweimer@redhat.com>
22117         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
22119 2015-04-07  Florian Weimer  <fweimer@redhat.com>
22121         * include/scratch_buffer.h: New file.
22122         * malloc/scratch_buffer_grow.c: Likewise.
22123         * malloc/scratch_buffer_grow_preserve.c: Likewise.
22124         * malloc/scratch_buffer_set_array_size.c: Likewise.
22125         * malloc/tst-scratch_buffer.c: Likewise.
22126         * malloc/Makefile (routines): Add scratch_buffer_grow.
22127         (tests): Add test case.
22128         * malloc/Versions (GLIBC_PRIVATE): Export
22129         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
22130         __libc_scratch_buffer_set_array_size.
22132 2015-04-06  Richard Henderson  <rth@redhat.com>
22134         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
22135         * sysdeps/alpha/fpu/libm-test-ulps: Update.
22137         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
22138         unsigned int before printing.
22140 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
22142         [BZ #17596]
22143         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
22144         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
22146 2015-04-02  Florian Weimer  <fweimer@redhat.com>
22148         * include/libc-internal.h (libc_max_align_t): Define.
22150 2015-04-02  Andreas Schwab  <schwab@suse.de>
22152         [BZ #16850]
22153         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
22155 2015-04-02  Mel Gorman  <mgorman@suse.de>
22157         [BZ #17195]
22158         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
22159         as well as the main arena.
22161 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
22163         [BZ #18185]
22164         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
22165         sharing L2 cache to 2 for Silvermont/Knights Landing.
22167 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
22169         [BZ #17711]
22170         * config.make.in (have-protected-data): New.
22171         * configure.ac: Check linker support for protected data symbol.
22172         * configure: Regenerated.
22173         * elf/Makefile (modules-names): Add tst-protected1moda and
22174         tst-protected1modb if $(have-protected-data) is yes.
22175         (tests): Add tst-protected1a and tst-protected1b if
22176         $(have-protected-data) is yes.
22177         ($(objpfx)tst-protected1a): New.
22178         ($(objpfx)tst-protected1b): Likewise.
22179         (tst-protected1modb.so-no-z-defs): Likewise.
22180         * elf/tst-protected1a.c: New file.
22181         * elf/tst-protected1b.c: Likewise.
22182         * elf/tst-protected1mod.h: Likewise.
22183         * elf/tst-protected1moda.c: Likewise.
22184         * elf/tst-protected1modb.c: Likewise.
22186 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
22188         [BZ #17711]
22189         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
22190         indicates it is called from do_lookup_x on relocation against
22191         protected data, skip the data definion in the executable from
22192         copy reloc.
22193         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
22194         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
22195         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
22196         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
22197         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
22198         otherwise to 0.
22199         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
22200         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
22201         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
22202         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
22203         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
22204         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
22206 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
22208         * sysdeps/nptl/pthread.h: Remove duplicate definition of
22209         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
22211 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
22213         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
22214         THREAD_SETMEM_NC.
22215         * sysdeps/x86_64/nptl/tls.h: Ditto.
22217 2015-03-27  Roland McGrath  <roland@hack.frob.com>
22219         * dlfcn/tststatic.c (main): Converted to ...
22220         (do_test): ... this.
22221         (TEST_FUNCTION): New macro.
22222         Include test-skeleton.c.
22224 2015-03-26  Alan Modra  <amodra@gmail.com>
22226         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
22227         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
22228         zero for undefined weak.
22229         (elf_machine_plt_conflict): Similarly.
22231 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
22233         * math/auto-libm-test-in: Add more tests of acosh, asinh and
22234         atanh.
22235         * math/auto-libm-test-out: Regenerated.
22236         * sysdeps/i386/fpu/libm-test-ulps: Update.
22237         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22239         * math/auto-libm-test-in: Add another test of asin.
22240         * math/auto-libm-test-out: Regenerated.
22241         * sysdeps/i386/fpu/libm-test-ulps: Update.
22242         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22244         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
22245         Remove macro.
22246         (LLL_EBX_REG): Likewise.
22247         (LLL_ENTER_KERNEL): Likewise.
22249         * math/auto-libm-test-in: Add more tests of asin.
22250         * math/auto-libm-test-out: Regenerated.
22251         * sysdeps/i386/fpu/libm-test-ulps: Update.
22252         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22254         [BZ #18138]
22255         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
22256         libc_do_syscall_args): New structure.
22257         (INTERNAL_SYSCALL_MAIN_0): New macro.
22258         (INTERNAL_SYSCALL_MAIN_1): Likewise.
22259         (INTERNAL_SYSCALL_MAIN_2): Likewise.
22260         (INTERNAL_SYSCALL_MAIN_3): Likewise.
22261         (INTERNAL_SYSCALL_MAIN_4): Likewise.
22262         (INTERNAL_SYSCALL_MAIN_5): Likewise.
22263         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
22264         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
22265         Replace conditional definitions by conditional definitions of ....
22266         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
22267         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
22268         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
22269         (libpthread-sysdep_routines): Add libc-do-syscall.
22270         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
22271         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
22272         to __NR_futex not 240.
22274 2015-03-25  Alan Modra  <amodra@gmail.com>
22276         * NEWS: Advertise TLS optimization.
22277         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
22278         (DT_PPC_NUM): Increment.
22279         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
22280         (CHECK_STATIC_TLS): Use here.
22281         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
22282         TLS descriptors.
22283         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
22284         * sysdeps/powerpc/dl-tls.c: New file.
22285         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
22286         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
22287         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
22288         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
22289         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
22290         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
22291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
22293 2015-03-25  Alan Modra  <amodra@gmail.com>
22295         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
22296         for overlapping .opd entries" to "support...".
22297         * sysdeps/powerpc/powerpc64/configure: Regenerate
22299 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
22301         * math/auto-libm-test-in: Add more tests of acos.
22302         * math/auto-libm-test-out: Regenerated.
22303         * sysdeps/i386/fpu/libm-test-ulps: Update.
22304         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22306         * math/auto-libm-test-in: Add more tests of expm1.
22307         * math/auto-libm-test-out: Regenerated.
22308         * sysdeps/i386/fpu/libm-test-ulps: Update.
22309         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22311 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
22313         * math/auto-libm-test-in: Add more tests of cosh and sinh.
22314         * math/auto-libm-test-out: Regenerated.
22315         * sysdeps/i386/fpu/libm-test-ulps: Update.
22316         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22318         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
22319         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22321         * math/auto-libm-test-in: Add more tests of log2.
22322         * math/auto-libm-test-out: Regenerated.
22323         * sysdeps/i386/fpu/libm-test-ulps: Update.
22324         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22326 2015-03-23  Roland McGrath  <roland@hack.frob.com>
22328         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
22329         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
22330         _IO_IS_APPENDING bit in READ_WRITE instead.
22332 2015-03-23  Florian Weimer  <fweimer@redhat.com>
22334         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
22335         (__determine_cpumask_size): Replace extend_alloca with a
22336         variable-length array.  Do not treat res == 0 as an error.
22338 2015-03-23  Florian Weimer  <fweimer@redhat.com>
22340         [BZ #18100]
22341         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
22342         and integer overflow.
22343         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
22344         (main): Add integer overflow tests.
22345         * manual/pattern.texi (Calling Wordexp): Document additional use
22346         for WRDE_SYNTAX.
22348 2015-03-23  Alan Modra  <amodra@gmail.com>
22350         * config.h.in: Remove HAVE_ASM_PPC_REL16.
22351         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
22352         and false branch of conditional.
22353         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
22354         Likewise.
22356 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
22358         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
22359         libc-modules.h
22360         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
22361         unused declaration of _hurd_intr_rpc_msg_in_trap.
22362         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
22363         defined instead of whether it is non-zero.
22364         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
22365         input constraint instead of both input and output constraint.  Use ecx
22366         clobber instead of %ecx.
22367         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
22368         mutex_unlock): Use a statement expression instead of an expression list.
22369         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
22370         type to vm_size_t instead of vm_address_t.
22371         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
22372         defined instead of whether it is non-zero.
22373         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
22374         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
22375         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
22376         comparisons with mapaddr.
22377         * nscd/nscd-client.h: Include <time.h>.
22378         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
22379         9th parameter to __vm_region instead of int.
22380         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
22381         * scripts/check-local-headers.sh (exclude): Add device/,
22382         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
22383         cthreads.h.
22385 2015-03-19  Roland McGrath  <roland@hack.frob.com>
22387         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
22388         to account for alignment padding.
22389         * sysdeps/arm/memmove.S: Likewise.
22391 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
22393         * sysdeps/unix/sysv/linux/generic/README: New file.
22395 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
22397         [BZ #18138]
22398         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
22399         (futex_abstimed_wait)
22400         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
22401         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
22402         of lll_futex_timed_wait.
22404 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
22406         [BZ #17542]
22407         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
22409 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
22411         [BZ #17090]
22412         [BZ #17620]
22413         [BZ #17621]
22414         [BZ #17628]
22415         * NEWS: Update.
22416         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
22417         entries with Static TLS too.  Skip entries past the end of the
22418         allocated DTV, from Alan Modra.
22419         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
22420         Static TLS DTV entry set up from...
22421         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
22422         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
22423         * nptl/allocatestack.c (init_one_static_tls): ... and here...
22424         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
22425         for Static TLS.
22426         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
22427         that the slot we find is associated with the given map before
22428         using its generation count.
22429         * nptl_db/db_info.c: Include ldsodefs.h.
22430         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
22431         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
22432         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
22433         (link_map::l_tls_offset): New struct field.
22434         (dtv_t::counter): Likewise.
22435         (rtld_global): New struct.
22436         (_rtld_global): New rtld variable.
22437         (dl_tls_dtv_slotinfo_list): New rtld global field.
22438         (dtv_slotinfo_list): New struct.
22439         (dtv_slotinfo): Likewise.
22440         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
22441         (td_lookup): Rename to...
22442         (td_mod_lookup): ... this.  Use new mod parameter instead of
22443         LIBPTHREAD_SO.
22444         * nptl_db/td_thr_tlsbase.c: Include link.h.
22445         (dtv_slotinfo_list, dtv_slotinfo): New functions.
22446         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
22447         addresses even if the DTV is out of date or missing them.
22448         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
22449         index zero-length arrays.
22450         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
22451         (td_lookup): Make it a macro implemented in terms of...
22452         (td_mod_lookup): ... this declaration.
22453         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
22454         (DB_MAIN_VARIABLE): Likewise.
22456 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
22458         [BZ #18134]
22459         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
22461 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
22463         * stdlib/setenv.c (__add_to_environ): Revert previous change.
22465 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
22467         [BZ #18128]
22468         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
22469         (atomic_add, atomic_increment_and_test)
22470         (atomic_decrement_and_test): Fix 64-bit arithmetic.
22472 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
22474         * stdlib/setenv.c (__add_to_environ):
22475         Dump core quickly if setenv (..., NULL, ...) is called.
22477 2015-03-13  Roland McGrath  <roland@hack.frob.com>
22479         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
22480         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
22481         all the necessary asm magic in one place.
22482         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
22483         using those.
22485 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
22487         [BZ #14906]
22488         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
22489         traced file mtime. Use consistent log message.
22490         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
22491         (register_traced_file): Call install_watches. Always set mtime.
22492         (invalidate_cache): Iterate over all trace files. Call install_watches.
22493         (inotify_check_files): Don't inline. Handle watching parent
22494         directories and configuration file movement in and out.
22495         (handle_inotify_events): New function.
22496         (main_loop_poll): Call handle_inotify_events.
22497         (main_loop_epoll): Likewise.
22498         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
22499         (struct traced_file): Use array of inotify fds. Add parent directory,
22500         and basename.
22501         (struct database_dyn): Remove unused file_mtime.
22502         (init_traced_file): New inline function.
22503         (define_traced_file): New macro.
22504         * nss/nss_db/db-init.c: Use define_traced_file.
22505         (_nss_db_init): Use init_traced_file.
22506         * nss/nss_files/files-init.c: Use define_traced_file.
22507         (_nss_files_init): Use init_traced_file.
22509 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
22511         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
22512         [_LIBC]: Do not include <stdlib.h>.
22513         [!_LIBC] (abort): Remove declaration.
22514         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
22515         _FP_STATIC_ASSERT instead of conditionally calling abort.
22516         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
22517         (_FP_EXTEND_CNAN): Likewise.
22518         (FP_TRUNC): Likewise.
22519         (__FP_CLZ): Likewise.
22520         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
22522 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
22524         * manual/string.texi (XPG basename): Fix prototype.
22526 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
22528         [BZ #18080]
22529         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
22530         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
22531         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
22532         (__setcontext): Likewise.
22533         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
22534         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
22535         Call rt_sigprocmask syscall one time to set new signal mask
22536         and retrieve the current signal mask instead of two calls.
22537         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
22538         (__swapcontext): Likewise.
22539         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
22540         * stdlib/tst-setcontext2.c: New file.
22542 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
22544         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
22546 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
22548         [BZ #18093]
22549         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
22550         the wrong size.
22552 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
22554         [BZ #18043]
22555         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
22557 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
22559         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
22560         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
22561         Remove define.
22562         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
22563         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
22564         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
22565         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
22566         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
22567         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
22568         define.
22569         * nptl_db/td_symbol_list.c (td_lookup): Remove
22570         HAVE_ASM_GLOBAL_DOT_NAME code.
22571         * sysdeps/powerpc/powerpc64/configure.ac: Remove
22572         HAVE_ASM_GLOBAL_DOT_NAME check.
22573         * sysdeps/powerpc/powerpc64/configure: Regenerate.
22574         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
22575         (DOT_LABEL): Remove define.
22576         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
22577         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
22578         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
22579         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
22580         (__TLS_GET_ADDR): Likewise.
22581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
22582         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
22584 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
22586         [BZ #18111]
22587         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
22588         (_FPU_SETCW): Initialize cw from fpsr before storing.
22589         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
22590         (fesetexceptflag): Rewrite using fpu_control.h.
22591         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
22593 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
22595         [BZ #18110]
22596         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
22597         asms.
22598         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
22600 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
22602         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
22603         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
22604         abort.
22605         (_FP_FMA): Likewise.
22606         (_FP_DIV): Likewise.
22608 2015-03-10  Roland McGrath  <roland@hack.frob.com>
22610         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
22611         with 0 in that case.
22612         * Makefile (summarize-tests): New canned sequence, factored out of
22613         commands for targets tests and xtests.  Display summary lines that
22614         don't start with PASS: or XFAIL: rather than ones that do start with
22615         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
22616         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
22617         do start with ERROR: or FAIL:.
22618         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
22619         (except for [$(build-shared) = yes]).
22620         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
22621         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
22622         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
22623         * nptl/Makefile: Revert 2015-03-04 changes.
22624         [$(CXX) empty] (tests-unsupported): New variable.
22625         * debug/Makefile: Likewise.
22627         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
22628         gnulib file.  Replace __attribute with __attribute__ throughout.
22630 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
22632         * sysdeps/hppa/fpu/libm-test-ulps: Update.
22634 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
22636         [BZ #18104]
22637         * math/auto-libm-test-in: Add another test of pow.
22638         * math/auto-libm-test-out: Regenerated.
22640 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22642         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
22643         $(config-cflags-nofma).
22645 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
22647         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
22648         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
22649         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
22650         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
22651         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
22652         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
22653         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
22654         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
22655         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
22656         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
22657         Add comment on closing #endif.
22659 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
22661         * posix/wordexp.c (CHAR_IN_SET): New macro.
22662         (parse_param): Use it.
22664 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22666         * sysdeps/powerpc/fpu/libm-test-ulps: update.
22668 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
22670         [BZ #18043]
22671         * posix/wordexp.c (parse_param): Fix buffer overflow.
22672         * posix/wordexp-test.c (test_case): Add test case.
22674 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
22676         [BZ #18042]
22677         * posix/wordexp.c (parse_backtick): Fix off-by-one.
22678         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
22680 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
22682         [BZ #18043]
22683         * posix/wordexp-test.c (test_case): Add test for BZ #18043
22684         (do_bz18043): Delete.
22685         (at_page_end): New.
22686         (testit): Refactor to have words at the edge of unreadable page.
22688 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
22690         [BZ #16734]
22691         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
22692         Cleanup read-only streams as well.
22693         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
22695 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22697         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
22698         <bits/libc-lockP.h>
22700 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
22702         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
22703         on [__KERNEL__].
22704         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
22705         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
22706         * soft-fp/op-common.h (_FP_DECL): Likewise.
22708 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
22710         * elf/ifuncdep2.c (global): Replace
22711         __attribute__((visibility("protected"))) with
22712         asm (".protected global").
22713         * elf/ifuncmod1.c (global): Likewise.
22714         * elf/ifuncmod5.c (global): Likewise.
22716 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
22718         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
22719         <asm/sfp-machine.h> instead of <sfp-machine.h>.
22721 2015-03-06  Roland McGrath  <roland@hack.frob.com>
22723         * manual/install.texi (Configuring and compiling):
22724         Document test-wrapper-env-only.
22725         * INSTALL: Regenerated.
22727 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
22729         [BZ #18043]
22730         * posix/wordexp.c (parse_param): Fix buffer overflow.
22731         * posix/wordexp-test.c (do_bz18043): Add test case.
22733 2015-03-06  Vincent Bernat  <vincent@bernat.im>
22735         * time/tst-strptime2.c (do_test): Ensure failing tests are
22736         reported correctly.
22737         * time/tst-strptime3.c (do_test): Likewise.
22739 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
22741         Fix aio_error thread-safety.
22742         * sysdeps/pthread/aio_error.c: New file
22743         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
22744         synchronization.
22746 2015-03-06  Florian Weimer  <fweimer@redhat.com>
22748         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
22749         (group_number, vfprintf): Use it.
22750         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
22751         (JUMP, REF): Use it.
22752         (WORK_BUFFER_SIZE): New enum constant.
22753         (process_arg, vfprintf): Use it.
22755 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
22757         * manual/errno.texi (Error Messages): Complete example function
22758         by adding missing #define.
22759         (program_invocation_name): Add statement indicating GNU
22760         extension and reference which header file declares the variable.
22761         (program_invocation_short_name): Likewise.
22763 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
22765         * manual/errno.texi (Error Messages): Delete strerror ISO C89
22766         compatibility note.
22768 2015-03-05  Roland McGrath  <roland@hack.frob.com>
22770         * Makeconfig (test-wrapper-env-only): New variable.
22771         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
22772         then use that with $(test-wrapper-env-only) rather than using
22773         $(test-wrapper-env) $(run-program-env) $($*-ENV).
22775 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
22777         [BZ #18082]
22778         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
22779         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
22780         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
22781         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
22782         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
22783         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
22784         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
22785         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
22786         Likewise.
22787         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
22788         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
22789         Likewise.
22790         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
22791         Likewise.
22792         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
22793         Likewise.
22794         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
22795         Likewise.
22796         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
22797         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
22798         Likewise.
22799         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
22800         Likewise.
22801         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
22802         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
22804 2015-03-04  Roland McGrath  <roland@hack.frob.com>
22806         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
22807         (ETH_ALEN): New macro.
22808         (struct ether_addr): Use it for length of ether_addr_octet.
22810         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
22811         (setdb): Don't call __nss_configure_lookup for "rpc".
22812         (do_test): Don't call test_rpc.
22813         (output_rpcent, test_rpc): Functions moved ...
22814         * sunrpc/test-rpcent.c: ... to this new file.
22815         * sunrpc/Makefile (tests): Add it.
22817         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
22818         __xpg_sigpause.
22819         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
22820         * nptl/tst-signal6.c: Likewise.
22821         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
22822         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
22824         * configure.ac (libc_cv_cxx_link_ok): New check.
22825         Reset CXX to empty if it fails to link.
22826         * configure: Regenerated.
22827         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
22828         bug-atexit3-lib only if $(CXX) is nonempty.
22829         * nptl/Makefile (tests): Likewise for tst-cancel24.
22830         (tests, tests-static): Likewise for tst-cancel24-static.
22831         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
22832         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
22833         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
22834         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
22836 2015-03-04  Andreas Schwab  <schwab@suse.de>
22838         [BZ #17631]
22839         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
22840         for non-GCC compilers.
22841         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
22842         Likewise.
22844 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
22846         [BZ #17776]
22847         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
22848         integer before bitwise and assembly operations.
22849         (feclearexcept): Likewise.
22850         * math/test-fenvinline.c: New file.
22851         * math/Makefile: Add test-fenvinline test.
22853 2015-03-03  Alan Modra  <amodra@gmail.com>
22855         [BZ #16512]
22856         * scripts/localplt.awk: Strip off symbol version.
22857         * NEWS: Mention bug fix.
22859 2015-03-02  Roland McGrath  <roland@hack.frob.com>
22861         * sysdeps/pthread/timer_routines.c
22862         (timer_free_list, thread_free_list, thread_active_list): Make static.
22864 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
22866         [BZ #17779]
22867         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
22868         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
22869         Undefine.
22870         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22871         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
22872         Likewise.
22873         * sysdeps/unix/sysv/linux/sh/kernel-features.h
22874         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
22875         Likewise.
22877 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
22879         [BZ #18036]
22880         * posix/fnmatch_loop.c (END): Detect invalid pattern.
22881         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
22883 2015-03-02  Andreas Schwab  <schwab@suse.de>
22885         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
22886         variable name.
22888 2015-03-02  Florian Weimer  <fweimer@redhat.com>
22890         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
22891         Return error status.
22893 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
22895         [BZ #15969]
22896         * locale/findlocale.c (_nl_find_locale): Introduce const
22897         version of loc_name and drop unsafe type casts.
22899 2015-02-27  Roland McGrath  <roland@hack.frob.com>
22901         * dlfcn/tststatic2.c (main): Converted to ...
22902         (do_test): ... this.
22903         (TEST_FUNCTION): New macro.
22904         Include test-skeleton.c.
22906 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
22908         [BZ #17711]
22909         * elf/Makefile (tests): Add vismain only if PIE is enabled.
22910         (tests-pie): Add vismain.
22911         (CFLAGS-vismain.c): New.
22912         * elf/vismain.c: Add comments for PIE requirement.
22914 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
22916         [BZ #18046]
22917         [BZ #18047]
22918         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
22919         0x1p-56L as threshold for just returning the argument.
22920         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
22921         0x1p-32L as threshold for just returning the argument.
22922         * math/auto-libm-test-in: Add more tests of atanh.
22923         * math/auto-libm-test-out: Regenerated.
22924         * sysdeps/i386/fpu/libm-test-ulps: Update.
22925         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
22927 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
22929         * string/bcopy.c (bcopy): Call memmove for performance.
22931 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
22933         * string/bzero.c (__bzero): Call memset for performance.
22935 2015-02-27  John David Anglin  <dave.anglin@bell.net>
22937         [BZ #18068]
22938         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
22939         to 00100000.
22941 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
22943         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
22945 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
22947         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
22948         (__kernel_standard): Use CSTR macro when setting exc.name.
22949         * sysdeps/ieee754/Makefile [$(subdir) = math]
22950         (CFLAGS-k_standard.c): Remove variable.
22952         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
22953         setting p and q from "else if" to "else".
22954         (qzero): Likewise.
22955         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
22956         (qone): Likewise.
22957         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
22958         (qzerof): Likewise.
22959         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
22960         (qonef): Likewise.
22961         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
22962         (qzero): Likewise.
22963         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
22964         (qone): Likewise.
22966         [BZ #18038]
22967         [BZ #18039]
22968         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
22969         return pi/2 for arguments below 0x1p-113L.
22970         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
22971         return pi/2 for arguments below 0x1p-106L.
22972         * math/auto-libm-test-in: Add more tests of acos.
22973         * math/auto-libm-test-out: Regenerated.
22975         [BZ #16351]
22976         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
22977         (MO): New macro.
22978         (__ieee754_asin): Force underflow exception for results with small
22979         absolute value.
22980         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
22981         (MO): New macro.
22982         (__ieee754_asinf): Force underflow exception for results with
22983         small absolute value.
22984         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
22985         (__ieee754_asin): Force underflow exception for results with small
22986         absolute value.
22987         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
22988         (__ieee754_asinf): Force underflow exception for results with
22989         small absolute value.
22990         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
22991         (__ieee754_asinl): Force underflow exception for results with
22992         small absolute value.
22993         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
22994         (__ieee754_asinl): Force underflow exception for results with
22995         small absolute value.
22996         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
22997         (__ieee754_asinl): Force underflow exception for results with
22998         small absolute value.
22999         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
23000         Include <math.h>.
23001         * math/auto-libm-test-in: Do not mark underflow exceptions as
23002         possibly missing for bug 16351.
23003         * math/auto-libm-test-out: Regenerated.
23005         [BZ #18030]
23006         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
23007         of power of 2 down when low part has opposite sign.
23008         * math/libm-test.inc (logb_test_data): Add more tests.
23010 2015-02-26  Andreas Schwab  <schwab@suse.de>
23012         [BZ #18032]
23013         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
23014         over collating symbol inside a bracket expression.  Minor cleanup.
23015         * posix/tst-fnmatch3.c (do_test): Add test case.
23017 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
23019         [BZ #18029]
23020         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
23021         Adjust exponent of power of 2 down when low part has opposite
23022         sign.
23023         * math/libm-test.inc (ilogb_test_data): Add more tests.
23025 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
23027         [BZ #15969]
23028         * locale/findlocale.c (_nl_find_locale): Fix constness error in
23029         the previous change.
23031         [BZ #15969]
23032         * locale/findlocale.c (_nl_find_locale): Retry archive search
23033         after alias expansion.
23035 2015-02-25  Roland McGrath  <roland@hack.frob.com>
23037         * iconv/tst-iconv3.c (main): Converted to ...
23038         (do_test): ... this.
23039         (TEST_FUNCTION): New macro.
23040         Include test-skeleton.c.
23042         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
23043         (convert): Make function static.
23044         (test_unalign): Likewise.  Add const to argument pointee types.
23045         (main): Replace with static function do_test.
23046         Print "Succeeded." only if RET is zero.
23047         (TEST_FUNCTION): New macro.
23048         Include test-skeleton.c.
23050         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
23051         returns a null pointer.
23053 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23055         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
23056         to __memcpy_ppc only for static builds.
23058 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
23060         [BZ #18020]
23061         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
23062         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
23063         * math/auto-libm-test-in: Add more tests of asinh.
23064         * math/auto-libm-test-out: Regenerated.
23065         * sysdeps/i386/fpu/libm-test-ulps: Update.
23066         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23068 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
23070         [BZ #15850]
23071         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
23072         and ip6_mtuinfo definitions here.
23073         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
23074         in this define too.  Update comment.
23076 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
23078         * elf/sprof.c (load_shobj): Tweak error message to match others.
23080 2015-02-24  Kevin Easton  <kevin@guarana.org>
23082         [BZ #16145] (partial fix)
23083         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
23084         to reduce lock contention.
23086 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
23088         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
23089         (struct timex): Update time comment.
23090         (ADJ_SETOFFSET): Define.
23092 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
23094         [BZ #18019]
23095         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
23096         2**56 not 2**28 as threshold for log (2x) formula.
23097         * math/auto-libm-test-in: Add more tests of acosh.
23098         * math/auto-libm-test-out: Regenerated.
23099         * sysdeps/i386/fpu/libm-test-ulps: Update.
23100         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23102 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
23104         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
23105         parenthesis around the buf assignment.
23106         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
23108 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
23110         [BZ #16783]
23111         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
23112         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
23113         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
23114         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
23115         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
23116         * math/libm-test.inc (scalb_test_data): Add more tests.
23118 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
23120         [BZ #17916]
23121         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
23122         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
23124 2015-02-24  Eric Rannaud  <e@nanocritical.com>
23126         [BZ #17523]
23127         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
23128         * io/bits/fcntl2.h (open): Use it.
23129         (openat): Likewise.
23130         * io/open.c (__libc_open): Likewise.
23131         * io/open64.c (__libc_open64): Likewise.
23132         * io/open64_2.c (__open64_2): Likewise.
23133         * io/open_2.c (__open_2): Likewise.
23134         * io/openat.c (__openat): Likewise.
23135         * io/openat64.c (__openat64): Likewise.
23136         * io/openat64_2.c (__openat64_2): Likewise.
23137         * io/openat_2.c (__openat_2): Likewise.
23138         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
23139         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
23140         * sysdeps/posix/open64.c (__libc_open64): Likewise.
23141         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
23142         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
23143         (__open_nocancel): Likewise.
23144         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
23145         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
23146         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
23148 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
23150         [BZ #14841]
23151         * resolv/gethnamaddr.c (getanswer): Skip logging if
23152         RES_USE_DNSSEC is set.
23153         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
23155 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
23157         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
23159 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
23161         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
23162         201304L, for Unicode 7.
23164 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
23166         [BZ #17836]
23167         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
23168         shared library.  Add gmon-start.os otherwise.
23169         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
23170         $(objpfx)gmon-start.os if builing shared library.
23171         ($(objpfx)g$(static-start-installed-name)): Likewise.
23173 2015-02-23  Andreas Schwab  <schwab@suse.de>
23175         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
23177 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
23179         [BZ #17269]
23180         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
23181         (enlarge_userbuf): Likewise.
23183 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
23185         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
23186         * math/atest-exp.c (TIMEOUT): Adjust to 200.
23187         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
23188         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
23190 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
23192         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
23193         expression inside statement expression.
23195 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
23197         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
23198         <sysdeps/nptl/lowlevellock.h> and remove macros and
23199         functions that are now defined there.
23200         (SYS_futex): Remove.
23201         (lll_compare_and_swap): Remove.
23202         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
23204 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
23206         [BZ #17999]
23207         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
23208         instead of scandirat.
23209         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
23210         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
23211         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
23212         __scandirat.
23213         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
23214         (__scandirat): Declare.  Use libc_hidden_proto.
23215         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
23216         Remove variable.
23217         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
23219 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
23221         [BZ #15319]
23222         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
23223         (MO): New macro.
23224         (__ieee754_atan2): For results with small absolute value, force
23225         underflow exception and remove excess range and precision from
23226         return value.
23227         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
23228         (MO): New macro.
23229         (__ieee754_atan2f): For results with small absolute value, force
23230         underflow exception and remove excess range and precision from
23231         return value.
23232         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
23233         (MO): New macro.
23234         (__atan): For results with small absolute value, force underflow
23235         exception and remove excess range and precision from return value.
23236         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
23237         (MO): New macro.
23238         (__atanf): For results with small absolute value, force underflow
23239         exception and remove excess range and precision from return value.
23240         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
23241         <math.h>.
23242         (__ieee754_atan2): Force underflow exception for results with
23243         small absolute value.
23244         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
23245         <math_private.h>.
23246         (atan): Force underflow exception for results with small absolute
23247         value.
23248         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
23249         (__atanf): Force underflow exception for results with small
23250         absolute value.
23251         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
23252         <math.h>.
23253         (__atanl): Force underflow exception for results with small
23254         absolute value.
23255         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
23256         (__atanl): Force underflow exception for results with small
23257         absolute value.
23258         * sysdeps/x86/fpu/bits/mathinline.h
23259         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
23260         (__ieee754_atan2): Only define inline for long double.
23261         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
23262         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
23263         * math/auto-libm-test-in: Do not mark underflow exceptions as
23264         possibly missing for bug 15319.  Add more tests of atan2.
23265         * math/auto-libm-test-out: Regenerated.
23266         * math/libm-test.inc (casin_test_data): Do not mark underflow
23267         exceptions as possibly missing for bug 15319.
23268         (casinh_test_data): Likewise.
23269         * sysdeps/i386/fpu/libm-test-ulps: Update.
23271 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
23273         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
23274         * sysdeps/mips/bits/endian.h: Fix comments.
23276 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
23278         [BZ #17996]
23279         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
23280         (hdestroy_r): Likewise.
23281         (hsearch_r): Likewise.
23282         (__hcreate_r): Declare and use libc_hidden_proto.
23283         (__hdestroy_r): Likewise.
23284         (__hsearch_r): Likewise.
23285         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
23286         (hcreate): Call __hcreate_r instead of hcreate_r.
23287         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
23288         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
23289         as weak alias of __hcreate_r.
23290         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
23291         __hdestroy_r.
23292         (hsearch_r): Rename to __hsearch_r and define as weak alias of
23293         __hsearch_r.
23294         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
23295         Remove variable.
23296         (test-xfail-XPG4/search.h/linknamespace): Likewise.
23297         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
23298         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
23299         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
23301 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
23303         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
23304         arena_lock into a single arena_get.
23306 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
23308         * dl-reloc.c: Inlucde libc-internal.h.
23309         (_dl_try_allocate_static_tls): Call ALIGN_UP.
23310         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
23311         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
23312         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
23313         (grow_heap): Likewise.
23314         * malloc/malloc.c: Include libc-internal.h.
23315         (do_check_malloc): Call powerof2.
23316         (sysmalloc): Use pagesize. Call ALIGN_UP.
23317         (systrim): Use pagesize.
23318         (mremap_chunk): Use pagesize. Call ALIGN_UP.
23319         (__libc_valloc): Use pagesize.
23320         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
23322 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
23324         [BZ #17991]
23325         * include/sys/resource.h (__getrlimit64): Declare.  Use
23326         libc_hidden_proto.
23327         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
23328         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
23329         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
23330         getrlimit64.
23331         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
23332         __getrlimit64.
23333         [!getrlimit64] (getrlimit64): Define as weak alias of
23334         __getrlimit64.  Use libc_hidden_weak.
23335         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
23336         using __getrlimit64 not __new_getrlimit64.
23337         (__GI_getrlimit64): Likewise.
23338         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
23339         Likewise.
23340         (__GI_getrlimit64): Likewise.
23341         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
23342         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
23343         (getrlimit): Add __getrlimit64 alias.
23344         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
23345         Likewise.
23346         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
23347         Remove variable.
23348         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
23349         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
23351 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
23353         * libio/fileops.c: Add missing sys/mman.h
23354         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
23356 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
23358         * manual/math.texi (Errors in Math Functions): Clarify goals
23359         regarding inexact and underflow exceptions.
23361 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
23363         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
23364         * sysdeps/mips/memset.S: Ditto.
23366 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
23368         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
23370 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
23372         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
23373         (__v1longjmp): Remove versioned symbol.
23374         (__v1siglongjmp): Remove alias and versioned symbol.
23375         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
23376         (__v2siglongjmp): Likewise.
23378 2015-02-16  Torvald Riegel  <triegel@redhat.com>
23380         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
23382 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
23384         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
23386 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
23388         [BZ #17987]
23389         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
23390         zero result does not depend on the sign resulting from
23391         subtraction.
23392         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
23393         Likewise.
23394         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
23395         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
23396         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
23397         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
23398         * math/libm-test.inc (remquo_test_data): Add more tests.
23400 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
23402         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
23403         Problem reported by J William Piggott.
23405 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
23407         [BZ #17978]
23408         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
23409         products 4 * y and 2 * y where those would overflow.
23410         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
23411         Likewise.
23412         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
23413         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
23414         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
23415         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
23416         * math/libm-test.inc (remquo_test_data): Add more tests.
23418         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
23420         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
23421         [defined _COMPILING_NEWLIB].
23422         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
23423         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
23425         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
23426         [!defined __mips_isa_rev || __mips_isa_rev < 6].
23428 2015-02-16  Torvald Riegel  <triegel@redhat.com>
23430         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
23431         acquired.
23433 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
23435         [BZ #17792]
23436         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
23437         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
23438         HOST_STACK_END_ADDR): Likewise.
23440 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
23442         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
23443         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
23444         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
23446 2015-02-13  Roland McGrath  <roland@hack.frob.com>
23448         * sysdeps/generic/c++-types.data: New file.
23449         * sysdeps/generic/ld.abilist: New file.
23450         * sysdeps/generic/libBrokenLocale.abilist: New file.
23451         * sysdeps/generic/libanl.abilist: New file.
23452         * sysdeps/generic/libc.abilist: New file.
23453         * sysdeps/generic/libcrypt.abilist: New file.
23454         * sysdeps/generic/libdl.abilist: New file.
23455         * sysdeps/generic/libm.abilist: New file.
23456         * sysdeps/generic/libpthread.abilist: New file.
23457         * sysdeps/generic/libresolv.abilist: New file.
23458         * sysdeps/generic/librt.abilist: New file.
23460 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
23462         [BZ #17569]
23463         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
23464         Compute absolute value of x as modified by fmod, not original
23465         value of x.
23466         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
23467         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
23468         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
23469         RUN_TEST_ffI_f1_mod8.
23470         (remquo_test_data): Add more tests.
23472 2015-02-13  Roland McGrath  <roland@hack.frob.com>
23474         * sysdeps/init_array/pt-crti.S: New file.
23476 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
23478         [BZ #17967]
23479         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
23480         __builtin_fmaf instead of relying on contraction of a * b + c.
23482 2015-02-12  J William Piggott  <elseifthen@gmx.com>
23484         [BZ #17969]
23485         * manual/time.texi: correct the zoneinfo path in the TZ Variable
23486         node.
23488 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
23490         [BZ #17964]
23491         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
23492         __builtin_fma instead of relying on contraction of a * b + c.
23494 2015-02-12  Roland McGrath  <roland@hack.frob.com>
23496         * Makeconfig (ASFLAGS): Add -Werror=undef.
23497         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
23498         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
23499         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
23501         * Makeconfig (after-link): New variable.
23502         (+link-pie, +link-pie-tests): Use it.
23503         (+link-static, +link-static-tests): Likewise.
23504         (+link, +link-tests): Likewise.
23505         * Makerules (build-module, build-module-asneeded): Likewise.
23506         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
23507         Likewise.
23508         * elf/Makefile ($(objpfx)ld.so): Likewise.
23510 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
23512         [BZ #17965]
23513         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
23514         both struct timeval and struct timespec.
23516 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
23518         [BZ #16560]
23519         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
23520         and redefine.
23521         (__ieee754_exp2l): Do not multiply small fractional parts by
23522         M_LN2l.
23523         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
23524         small argument.
23525         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
23526         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
23527         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
23528         * math/auto-libm-test-in: Add more tests of exp2.
23529         * math/auto-libm-test-out: Regenerated.
23531 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
23533         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
23534         unaligned path.
23536 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23538         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
23539         little endian.
23541 2015-02-12  Andreas Schwab  <schwab@suse.de>
23543         [BZ #15790]
23544         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
23545         Filter out elision flags from value returned in kind.
23546         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
23547         * nptl/tst-pthread-mutexattr.c: New file.
23549 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23551         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
23552         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
23553         into gnu-gnu, and update comment to refer to abi-tags.
23555 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
23557         [BZ #15467]
23558         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
23559         (__sincos): Set errno to EDOM for infinite argument.
23560         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
23561         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
23562         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
23563         (__sincosl): Set errno to EDOM for infinite argument.
23564         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
23565         (__sincosl): Set errno to EDOM for infinite argument.
23566         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
23567         (__sincosl): Set errno to EDOM for infinite argument.
23568         * math/libm-test.inc (sincos_test_data): Test errno setting.
23570 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
23572         * string/strxfrm_l.c: Remove #define STRCMP.
23573         * string/strcoll_l.c: Remove #define STRLEN.
23574         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
23575         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
23577 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
23579         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
23580         * sysdeps/mips/mips32/sfp-machine.h: ... here.
23581         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
23582         * sysdeps/mips/mips64/Makefile: ... here.
23583         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
23584         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
23585         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
23586         * sysdeps/mips/mips64/sfp-machine.h: ... here.
23587         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
23588         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
23589         * sysdeps/mips/mips64/n64/Implies: Likewise.
23591 2015-02-10  Roland McGrath  <roland@hack.frob.com>
23593         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
23594         <sys/time.h>, <string.h>, and <errno.h>.
23595         (dest_offset, dest_address, value, zero): Remove unused variables.
23596         (ldouble): Remove typedef.
23597         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
23598         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
23599         1).  Fix code style.
23600         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
23601         (check): Function removed.
23602         (CHECK): New macro.
23603         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
23604         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
23605         Don't call set_sigaction_FP and remove_sigaction_FP here.
23606         (ldouble_test): Just use 'long double' as macro argument, no need for
23607         the 'ldouble' typedef.
23608         (do_test): Set up SIGFPE handler at start, using plain signal rather
23609         than sigaction.  Fix code style.
23611 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
23613         [BZ #17949]
23614         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
23615         jump label.
23617 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
23619         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
23620         * sysdeps/powerpc/powerpc32/configure: Regenerated.
23622         * sysdeps/powerpc/configure.ac: Remove file.
23623         * sysdeps/powerpc/configure: Likewise.
23625         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
23626         [sysdep_routines]: Remove wordcopy-power6 object.
23627         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
23628         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
23629         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
23630         (__memmove_ppc32): Likewise.
23631         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
23632         file.
23633         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
23634         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
23635         Remove preprocessor.
23637         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
23638         [sysdep_routines]: Remove wide chars objects.
23639         [wcsmbs]: New rule for wide char objects.
23641         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23642         Remove wordcopy-power6 obejct.
23643         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
23644         Use local call for wordcopy and memcpy symbols.
23645         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
23646         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
23647         implementation for loader.
23648         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
23650         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23651         Remove wordcopy-power7 object.
23652         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
23653         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
23654         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
23655         (_wordcopy_fwd_dest_aligned): Likewise.
23656         (_wordcopy_bwd_aligned): Likewise.
23657         (_wordcopy_bwd_dest_aligned): Likewise.
23659         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
23660         Rewrite to call __memmove_ppc instead of include default
23661         implementation.
23663         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23664         Remove wide chars objects.
23665         [wcsmbs]: New rule for wide char objects.
23667 2015-02-09  Andreas Schwab  <schwab@suse.de>
23669         [BZ #17912]
23670         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
23671         in terms of __O_DIRECTORY.
23673 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23675         * time/getdate.c: Include <stdbool.h>.
23676         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
23677         call PTR_MANGLE.
23678         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
23679         PTR_DEMANGLE.
23681 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
23683         Add ersatz _Static_assert on older C hosts
23684         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
23685         pre-C11 C platform that is not known to support _Static_assert.
23687 2015-02-07  Richard Braun  <rbraun@sceen.net>
23689         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
23690         sigstate.
23691         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
23693 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23695         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
23696         priority against unexistent AIO_PRIO_DELTA_MAX.
23697         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
23698         instead of int.
23699         * misc/fchflags.c (fchflags): Likewise.
23700         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
23701         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
23702         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
23703         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
23704         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
23705         Declare macros.
23706         [__USE_MISC] (chflags, fchflags): Declare functions.
23707         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
23708         EINVAL when nfds is greater than FD_SETSIZE.
23709         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
23710         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
23711         45.
23712         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
23713         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
23714         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
23715         MACH_RCV_TIMED_OUT.
23716         * hurd/hurd/signal.h (_hurd_self_sigstate,
23717         _hurd_critical_section_lock, _hurd_critical_section_unlock):
23718         Explicit casts from void *.
23719         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
23720         * abi-tags: Rename gnu-gnu os into gnu.
23722         [BZ #4719]
23723         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
23724         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
23725         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
23726         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
23727         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
23728         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
23730         [BZ #17944]
23731         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
23732         duplicates ADDR->sun_path with sockaddr LEN limitation.
23733         * sysdeps/mach/hurd/connect.c: Include <string.h>
23734         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
23735         * sysdeps/mach/hurd/sendmsg.c: Likewise.
23736         * sysdeps/mach/hurd/sendto.c: Likewise.
23737         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
23738         implementing it by hand.
23740 2015-02-06  Roland McGrath  <roland@hack.frob.com>
23742         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
23743         Use sfi_breg on ldr.
23744         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
23745         Likewise.
23747         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
23748         it's defined.
23749         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
23750         Test SIGSETXID only if it's defined.
23752         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
23754         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
23755         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
23757         * nptl/tst-align2.c: Moved ...
23758         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
23759         * nptl/Makefile (tests): Remove tst-align2.
23760         * sysdeps/unix/sysv/linux/Makefile
23761         [$(subdir) = nptl] (tests): Add tst-align-clone.
23762         * nptl/tst-getpid1.c: Moved ...
23763         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
23764         * nptl/tst-getpid2.c: Moved ...
23765         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
23766         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
23767         * sysdeps/unix/sysv/linux/Makefile
23768         [$(subdir) = nptl] (tests): ... here.
23769         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
23770         * sysdeps/unix/sysv/linux/Makefile
23771         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
23773         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
23774         Drop trailing \n from perror argument.  Use return rather than exit.
23776         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
23777         on [SA_SIGINFO].
23778         * nptl/tst-cancel21.c (do_test): Likewise.
23779         * debug/tst-backtrace6.c: Include <signal.h> first thing.
23780         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
23781         [!SA_SIGINFO]: Make it a stub test.
23783         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
23784         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
23786         * posix/tst-getlogin.c: Move to ...
23787         * login/tst-getlogin.c: ... here.
23788         * posix/Makefile (tests): Move tst-getlogin to ...
23789         * login/Makefile (tests): ... here.
23791         * libio/tst-atime.c (do_test): Move local variables SV and E
23792         inside [ST_NOATIME] conditional.
23794         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
23796         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
23798         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
23799         (wait_code): New function replaces macro.
23800         Call nanosleep rather than syscall.
23802         * nptl/pt-system.c: Rewritten.  Put everything under
23803         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
23804         Use IFUNC to redirect when possible.
23806         * nptl/pt-longjmp.c: Rewritten.  Put everything under
23807         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
23808         Use IFUNC to redirect when possible.
23810         * nptl/pt-fork.c: Rewritten.  Put everything under
23811         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
23812         Use IFUNC to redirect when possible.
23813         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
23815         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
23816         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
23817         unconditionally nowadays.  This included the only reference to
23818         __vdso_clock_gettime that appears outside libc proper.
23819         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
23820         Remove version set (containing only __vdso_clock_gettime).
23821         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
23822         Add attribute_hidden.
23823         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
23824         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
23825         libc_hidden_data_def.
23826         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
23827         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
23829         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
23830         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
23831         setrpcent, and getrpcport to ...
23832         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
23833         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
23834         getrpcbynumber_r, and getrpcent_r to ...
23835         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
23836         * inet/getrpcbyname.c: Moved ...
23837         * sunrpc/getrpcbyname.c: ... here.
23838         * inet/getrpcbyname_r.c: Moved ...
23839         * sunrpc/getrpcbyname_r.c: ... here.
23840         * inet/getrpcbynumber.c: Moved ...
23841         * sunrpc/getrpcbynumber.c: ... here.
23842         * inet/getrpcbynumber_r.c: Moved ...
23843         * sunrpc/getrpcbynumber_r.c: ... here.
23844         * inet/getrpcent.c: Moved ...
23845         * sunrpc/getrpcent.c: ... here.
23846         * inet/getrpcent_r.c: Moved ...
23847         * sunrpc/getrpcent_r.c: ... here.
23848         * inet/Makefile (routines): Move those to ...
23849         * sunrpc/Makefile (routines): ... here.
23850         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
23851         the $(subdirs) list.
23852         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
23853         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
23854         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
23855         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
23857         * elf/Makefile (routines): Include $(all-dl-routines), not just
23858         $(dl-routines).
23859         (rtld-routines): Likewise.  Use = rather than :=.
23860         * sysdeps/aarch64/Makefile [$(subdir) = elf]
23861         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
23862         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
23863         * sysdeps/arm/Makefile: Likewise.
23864         * sysdeps/i386/Makefile: Likewise.
23865         * sysdeps/x86_64/Makefile: Likewise.
23866         * sysdeps/hppa/Makefile [$(subdir) = elf]
23867         (sysdep_routines, sysdep-rtld-routines): Don't add
23868         $(sysdep-dl-routines) to these.
23869         * sysdeps/ia64/Makefile: Likewise.
23870         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
23871         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
23872         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
23873         Don't add dl-static to these; sysdep-dl-routines alone is enough.
23874         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
23875         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
23876         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
23877         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
23878         * sysdeps/powerpc/Makefile [$(subdir) = elf]
23879         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
23880         these; sysdep-dl-routines alone is enough.
23882 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
23884         [BZ #17932]
23885         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
23886         where multiplication results in zero and third argument is finite
23887         and nonzero.
23888         * math/auto-libm-test-in: Add more tests of fma.
23889         * math/auto-libm-test-out: Regenerated.
23891         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
23892         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
23893         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
23894         (_FP_CMP_EQ): Likewise.
23895         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
23897         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
23898         extra argument CHECK_NAN.  Redefine as wrapper around
23899         _FP_EXTEND_CNAN.
23901 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
23903         * version.h (RELEASE): Set to "stable".
23904         (VERSION): Set to "2.21"
23905         * include/features.h (__GLIBC_MINOR__): Set to 21.
23907         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
23909 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
23910             Paul Eggert  <eggert@cs.ucla.edu>
23912         [BZ #16618]
23913         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
23914         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
23915         size in bytes. Store needed elements in wpmax. Use needed size
23916         in bytes for extend_alloca.
23918 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
23920         * manual/install.texi: Latest tested versions are GCC 4.9.2,
23921         binutls 2.25, and texinfo 5.2.
23922         * INSTALL: Regenerate.
23923         * sysdeps/nios2/configure: Regenerate.
23924         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
23925         * manual/contrib.texi: Update.
23926         * po/be.po: Update.
23927         * po/bg.po: Update.
23928         * po/ca.po: Update.
23929         * po/cs.po: Update.
23930         * po/da.po: Update.
23931         * po/de.po: Update.
23932         * po/el.po: Update.
23933         * po/eo.po: Update.
23934         * po/es.po: Update.
23935         * po/fi.po: Update.
23936         * po/fr.po: Update.
23937         * po/gl.po: Update.
23938         * po/hr.po: Update.
23939         * po/hu.po: Update.
23940         * po/ia.po: Update.
23941         * po/id.po: Update.
23942         * po/it.po: Update.
23943         * po/ja.po: Update.
23944         * po/ko.po: Update.
23945         * po/lt.po: Update.
23946         * po/nb.po: Update.
23947         * po/nl.po: Update.
23948         * po/pl.po: Update.
23949         * po/pt_BR.po: Update.
23950         * po/ru.po: Update.
23951         * po/rw.po: Update.
23952         * po/sk.po: Update.
23953         * po/sl.po: Update.
23954         * po/sv.po: Update.
23955         * po/tr.po: Update.
23956         * po/uk.po: Update.
23957         * po/vi.po: Update.
23958         * po/zh_CN.po: Update.
23959         * po/zh_TW.po: Update.
23961         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
23962         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
23963         * sysdeps/hppa/dl-irel.h: Remove #warning.
23964         * sysdeps/hppa/entry.h: Provide prototype for
23965         __canonicalize_funcptr_for_compare and cast argument.
23966         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
23967         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
23968         * sysdeps/hppa/sotruss-lib.c: New file.
23969         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
23970         (atomic_compare_and_exchange_val_acq): Use __typeof__.
23971         (atomic_compare_and_exchange_bool_acq): Likewise.
23972         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
23973         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
23975         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
23976         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
23977         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
23979 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
23981         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
23982         called function in non-PIC case.
23984 2015-01-31  David S. Miller  <davem@davemloft.net>
23986         * sysdeps/sparc/sparc32/bits/atomic.h
23987         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
23988         unlock not after it.
23989         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
23990         volatile register usage warnings from the compiler.
23992         * sysdeps/sparc/nptl/sem_init.c: Delete.
23993         * sysdeps/sparc/nptl/sem_post.c: Delete.
23994         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
23995         * sysdeps/sparc/nptl/sem_wait.c: Delete.
23996         * sysdeps/sparc/sparc32/sem_init.c: New file.
23997         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
23998         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
23999         padding explicitly initialized.
24000         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
24001         padding for in-semaphore spinlock.
24002         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
24003         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
24004         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
24005         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
24006         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
24007         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
24008         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
24009         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
24010         version.
24011         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
24012         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
24014 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
24016         [BZ #17801]
24017         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24018         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
24019         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
24020         New.
24021         (index_AVX_Fast_Unaligned_Load): Likewise.
24022         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
24023         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
24024         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
24025         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
24026         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
24027         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
24028         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
24029         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
24030         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
24032 2015-01-29  Andreas Schwab  <schwab@suse.de>
24034         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
24036 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
24038         [BZ #17892]
24039         * nscd/nscd_stat.c (send_stats): Initialize DATA.
24041 2015-01-28  Martin Sebor  <msebor@redhat.com>
24043         * math/README.libm-test: Clarify. Add "How to read the test output."
24045 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
24047         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
24048         Define to 0.
24050 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
24052         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
24053         (__HAVE_64B_ATOMICS): Define to 0.
24055 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
24057         [BZ #17885]
24058         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
24059         value to set as new flag.
24061         [BZ #16576]
24062         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
24063         and use _ARCH_PPCSQ instead.
24064         (__ieee754_sqrt): Likewise.
24065         (__ieee754_sqrtf): Likewise.
24066         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
24067         _ARCH_PPCSQ is defined.
24068         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
24069         fsqrt instruction.
24070         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
24071         _ARCH_PPCSQ is defined.
24072         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
24073         fsqrts instruction.
24074         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
24076 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24078         * iconv/loop.c: Suppress array out of bound warning caused by GCC
24079         bug (GCC BZ #64739).
24081 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
24083         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
24084         Mark _retval as used.
24085         (lll_futex_wake_unlock): Likewise.
24086         (lll_futex_timed_wait_requeue_pi): Likewise.
24088         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
24089         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
24090         register variables.
24092         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
24093         libm_hidden_def.
24095         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
24096         (__bswap_64): Mark as __always_inline.
24098 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
24100         [BZ #15378]
24101         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
24102         when none of the search directories exist.
24104 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
24106         [BZ #17869]
24107         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
24108         power8 in .machine directive.
24110         [BZ #17868]
24111         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
24112         set dependency from opd value.
24114 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
24116         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24117         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
24118         architecture.
24120 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
24122         [BZ #17870]
24123         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
24124         with uint64_t.
24125         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
24126         (uint64_t) 1.
24127         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
24128         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
24129         Replace 1UL with (uint64_t) 1.
24130         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
24131         int with uint64_t.
24133 2015-01-23  Roland McGrath  <roland@hack.frob.com>
24135         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
24136         (if_freenameindex): Likewise.
24138         * resource/getrlimit64.c: Add missing libc_hidden_def.
24140 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
24142         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
24143         __label__.
24144         (_FP_FMA): Likewise.
24145         (_FP_TO_INT_ROUND): Likewise.
24146         (_FP_FROM_INT): Likewise.
24148 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24150         [BZ #16418]
24151         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
24152         Make code racy and cancel safe.
24154 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
24156         * sysdeps/arm/unwind-resume.h: Fix copyright year.
24157         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
24158         attribution.
24160         * pwd/tst-getpw.c: Rewrite.
24162         [BZ #17702]
24163         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
24164         (modules-names): Add moddummy1 and moddummy2.
24165         ($(objpfx)tst-rec-dlopen): Define.
24166         * dlfcn/moddummy1.c: New file.
24167         * dlfcn/moddummy2.c: New file.
24168         * dlfcn/tst-rec-dlopen.c: New file.
24169         * elf/dl-cache.c (_dl_load_cache_lookup):
24170         Return char*. Copy result with alloca/strcpy/strdup.
24171         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
24172         returns char*. Free cached. If not saving realname
24173         free cached.
24174         * elf/dl-open.c (dl_open_worker): Do not assert that
24175         _r_debug->r_state is RT_CONSISTENT.
24176         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
24177         returns char*.
24179 2015-01-21  Torvald Riegel  <triegel@redhat.com>
24180             Carlos O'Donell  <carlos@redhat.com>
24182         [BZ #12674]
24183         * nptl/sem_waitcommon.c: New file.
24184         * nptl/sem_wait.c: Include sem_waitcommon.c.
24185         (__sem_wait_cleanup, do_futex_wait): Remove.
24186         (__new_sem_wait): Adapt.
24187         (__new_sem_trywait): New function.
24188         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
24189         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
24190         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
24191         (sem_timedwait): Adapt.
24192         * nptl/sem_post.c (__new_sem_post): Adapt.
24193         (futex_wake): New function.
24194         (__old_sem_post): Add release MO fence.
24195         * nptl/sem_open.c (sem_open): Adapt.
24196         * nptl/sem_init.c (__new_sem_init): Adapt.
24197         (futex_private_if_supported): New function.
24198         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
24199         (__old_sem_getvalue): Add using previous code.
24200         * sysdeps/nptl/internaltypes.h: Adapt.
24201         * nptl/tst-sem13.c (do_test): Adapt.
24202         * nptl/tst-sem11.c (main): Adapt.
24203         * nptl/sem_trywait.c: Remove.
24204         * nptl/DESIGN-sem.txt: Remove.
24205         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
24206         (gen-as-const-headers): Remove structsem.sym.
24207         * nptl/structsem.sym: Remove.
24208         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
24209         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
24210         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
24211         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
24212         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
24213         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
24214         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
24215         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
24216         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
24217         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
24218         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
24219         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
24220         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
24221         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
24222         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
24223         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
24224         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
24225         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
24226         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
24227         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
24228         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
24229         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
24231 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
24233         * INSTALL: Regenerated.
24235         * po/libc.pot: Regenerated.
24237 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
24238             Sandra Loosemore  <sandra@codesourcery.com>
24239             Andrew Jenner  <andrew@codesourcery.com>
24240             Joseph Myers  <joseph@codesourcery.com>
24241             Nathan Sidwell  <nathan@codesourcery.com>
24243         * NEWS: Mention new Nios II port.
24244         * sysdeps/nios2/Implies: New file.
24245         * sysdeps/nios2/Makefile: New file.
24246         * sysdeps/nios2/Subdirs: New file.
24247         * sysdeps/nios2/Versions: New file.
24248         * sysdeps/nios2/__longjmp.S: New file.
24249         * sysdeps/nios2/abort-instr.h: New file.
24250         * sysdeps/nios2/backtrace.c: New file.
24251         * sysdeps/nios2/bits/endian.h: New file.
24252         * sysdeps/nios2/bits/fenv.h: New file.
24253         * sysdeps/nios2/bits/link.h: New file.
24254         * sysdeps/nios2/bits/setjmp.h: New file.
24255         * sysdeps/nios2/bsd-_setjmp.S: New file.
24256         * sysdeps/nios2/bsd-setjmp.S: New file.
24257         * sysdeps/nios2/configure: New generated file.
24258         * sysdeps/nios2/configure.ac: New file.
24259         * sysdeps/nios2/crti.S: New file.
24260         * sysdeps/nios2/crtn.S: New file.
24261         * sysdeps/nios2/dl-init.c: New file.
24262         * sysdeps/nios2/dl-machine.h: New file.
24263         * sysdeps/nios2/dl-sysdep.h: New file.
24264         * sysdeps/nios2/dl-tls.h: New file.
24265         * sysdeps/nios2/dl-trampoline.S: New file.
24266         * sysdeps/nios2/gccframe.h: New file.
24267         * sysdeps/nios2/gmp-mparam.h: New file.
24268         * sysdeps/nios2/jmpbuf-offsets.h: New file.
24269         * sysdeps/nios2/jmpbuf-unwind.h: New file.
24270         * sysdeps/nios2/ldsodefs.h: New file.
24271         * sysdeps/nios2/libc-tls.c: New file.
24272         * sysdeps/nios2/libm-test-ulps: New file.
24273         * sysdeps/nios2/machine-gmon.h: New file.
24274         * sysdeps/nios2/math-tests.h: New file.
24275         * sysdeps/nios2/math_private.h: New file.
24276         * sysdeps/nios2/memusage.h: New file.
24277         * sysdeps/nios2/nptl/Makefile: New file.
24278         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
24279         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
24280         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
24281         * sysdeps/nios2/nptl/pthreaddef.h: New file.
24282         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
24283         * sysdeps/nios2/nptl/tls.h: New file.
24284         * sysdeps/nios2/preconfigure: New file.
24285         * sysdeps/nios2/s_fma.c: New file.
24286         * sysdeps/nios2/s_fmaf.c: New file.
24287         * sysdeps/nios2/setjmp.S: New file.
24288         * sysdeps/nios2/sfp-machine.h: New file.
24289         * sysdeps/nios2/sotruss-lib.c: New file.
24290         * sysdeps/nios2/stackguard-macros.h: New file.
24291         * sysdeps/nios2/stackinfo.h: New file.
24292         * sysdeps/nios2/start.S: New file.
24293         * sysdeps/nios2/sysdep.h: New file.
24294         * sysdeps/nios2/tls-macros.h: New file.
24295         * sysdeps/nios2/tst-audit.h: New file.
24296         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
24297         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
24298         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
24299         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
24300         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
24301         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
24302         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
24303         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
24304         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
24305         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
24306         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
24307         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
24308         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
24309         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
24310         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
24311         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
24312         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
24313         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
24314         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
24315         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
24316         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
24317         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
24318         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
24319         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
24320         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
24321         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
24322         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
24323         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
24324         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
24325         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
24326         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
24327         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
24328         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
24329         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
24330         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
24331         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
24332         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
24333         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
24334         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
24335         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
24336         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
24337         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
24338         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
24339         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
24341 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
24343         [BZ #17844]
24344         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
24345         (getutent): Use weak_alias in non SHARED case
24346         and default_symbol_version in SHARED case.
24347         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
24348         (getutent_r, pututline): Likewise.
24349         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
24350         (getutid): Likewise.
24351         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
24352         (getutid_r): Likewise.
24353         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
24354         (getutline): Likewise.
24355         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
24356         (getutline_r): Likewise.
24357         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
24358         (updwtmp): Likewise.
24360 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
24362         [BZ #17848]
24363         * sysdeps/s390/s390-32/memcmp.S
24364         (memcmp_g5): Rename to __memcmp_g5.
24365         * sysdeps/s390/s390-32/memcpy.S
24366         (memcpy_g5): Rename to __memcpy_g5.
24367         Jump to __memcpy_mvcle instead of memcpy_mvcle.
24368         (memcpy_mvcle) Rename to __memcpy_mvcle.
24369         * sysdeps/s390/s390-32/memset.S
24370         (memset_g5): Rename to __memset_g5.
24371         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
24372         (IFUNC_RESOLVE): Prefix ifunc-resolve function
24373         and use prefixed functions.
24374         * sysdeps/s390/s390-32/multiarch/memcmp.S
24375         (memcmp_z196): Rename to __memcmp_z196.
24376         (memcmp_z10): Rename to __memcmp_z10.
24377         (memcmp): Set alias to __memcmp_g5.
24378         (bcmp): Set alias to __memcmp_g5.
24379         * sysdeps/s390/s390-32/multiarch/memcpy.S
24380         (memcpy_z196): Rename to __memcpy_z196.
24381         Jump to __memcpy_mvcle instead of memcpy_mvcle.
24382         (memcpy_z10): Rename to __memcpy_z10.
24383         Jump to __memcpy_mvcle instead of memcpy_mvcle.
24384         (memcpy): Set alias to __memcpy_g5.
24385         * sysdeps/s390/s390-32/multiarch/memset.S
24386         (memset_z196): Rename to __memset_z196.
24387         Jump to __memset_mvcle instead of memset_mvcle.
24388         (memset_z10): Rename to __memset_z10.
24389         Jump to __memset_mvcle instead of memset_mvcle.
24390         (memset_mvcle) Rename to __memset_mvcle.
24391         (memset): Set alias to __memset_g5.
24392         * sysdeps/s390/s390-64/memcmp.S
24393         (memcmp_z900): Rename to __memcmp_z900.
24394         * sysdeps/s390/s390-64/memcpy.S
24395         (memcpy_z900): Rename to __memcpy_z900.
24396         Jump to __memcpy_mvcle instead of memcpy_mvcle.
24397         (memcpy_mvcle) Rename to __memcpy_mvcle.
24398         * sysdeps/s390/s390-64/memset.S
24399         (memset_z900): Rename to __memset_z900.
24400         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
24401         (IFUNC_RESOLVE): Prefix ifunc-resolve function
24402         and use prefixed functions.
24403         * sysdeps/s390/s390-64/multiarch/memcmp.S
24404         (memcmp_z196): Rename to __memcmp_z196.
24405         (memcmp_z10): Rename to __memcmp_z10.
24406         (memcmp): Set alias to __memcmp_z900.
24407         (bcmp): Set alias to __memcmp_z900.
24408         * sysdeps/s390/s390-64/multiarch/memcpy.S
24409         (memcpy_z196): Rename to __memcpy_z196.
24410         Jump to __memcpy_mvcle instead of memcpy_mvcle.
24411         (memcpy_z10): Rename to __memcpy_z10.
24412         Jump to __memcpy_mvcle instead of memcpy_mvcle.
24413         (memcpy): Set alias to __memcpy_z900.
24414         * sysdeps/s390/s390-64/multiarch/memset.S
24415         (memset_z196): Rename to __memset_z196.
24416         Jump to __memset_mvcle instead of memset_mvcle.
24417         (memset_z10): Rename to __memset_z10.
24418         Jump to __memset_mvcle instead of memset_mvcle.
24419         (memset_mvcle) Rename to __memset_mvcle.
24420         (memset): Set alias to __memset_z900.
24422 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
24424         [BZ #17748]
24425         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
24426         __fesetenv instead of fesetenv.
24428 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
24430         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
24431         macro.
24433 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24435         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
24436         regression on LE.
24438         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
24439         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
24440         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
24441         strncmp-power8 object.
24442         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24443         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
24444         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
24445         * NEWS: Update.
24447 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
24448             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24450         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
24451         trailing byte check.
24453 2015-01-13  David S. Miller  <davem@davemloft.net>
24455         * include/signal.h (__sigreturn): Guard with __USE_MISC.
24457 2015-01-13  Roland McGrath  <roland@hack.frob.com>
24459         * login/logout.c (logout): Use memset rather than bzero.
24460         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
24461         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
24462         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
24463         (_gethtbyaddr): Likewise.
24464         * locale/programs/simple-hash.c (bcopy): Macro removed.
24466 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24468         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
24469         Add strcmp-power8 object.
24470         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24471         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
24472         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
24473         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
24474         __strcmp_power8 implementation.
24475         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
24476         * NEWS: Update.
24478         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
24479         Add strncpy-power8 and stpncpy-power8 objects.
24480         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24481         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
24482         implementations.
24483         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
24484         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
24485         __stpncpy_power8 implementation.
24486         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
24487         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
24488         __strncpy_power8 implementation.
24489         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
24490         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
24491         * NEWS: Update.
24493         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
24494         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
24495         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
24497         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
24498         strncat-power8 object.
24499         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
24500         __strcat_power8 implementation.
24501         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24502         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
24503         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
24504         optimized strcat for power8.
24506         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
24507         strcpy-power8 and stpcpy-power8 objects.
24508         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24509         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
24510         implementations.
24511         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
24512         multiarch stpcpy implementation for POWER8.
24513         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
24514         multiarch strcpy implementation for POWER8.
24515         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
24516         __strcpy_power8 function.
24517         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
24518         stpcpy for POWER8.
24519         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
24520         strcpy for POWER8.
24521         * NEWS: Update.
24523 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
24525         [BZ #16009]
24526         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
24527         weights and rules. Use do_xfrm_cached if data fits in cache,
24528         do_xfrm otherwise.  Moved former main loop to...
24529         * (do_xfrm_cached): New function.
24530         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
24531         find_idx, find_position and stack_push.
24532         * (find_idx): New function.
24533         * (find_position): Likewise.
24534         * localedata/sort-test.sh: Added test run for do_xfrm.
24535         * localedata/xfrm-test.c (main): Added command line option
24536         -nocache to run the test with strings that are too large for
24537         the STRXFRM cache.
24539 2015-01-13  Torvald Riegel  <triegel@redhat.com>
24541         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
24542         variable to lll_futex_wake call, not the value itself.
24544 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
24546         [BZ #17803]
24547         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
24548         twom64.  Adjust value to 0x1p-64L.
24549         (__scalblnl): Only return standard underflowing result for K <=
24550         -64 not K <= -63; adjust exponent for underflowing result by 64
24551         not 63.
24552         * math/libm-test.inc (scalbn_test_data): Add more tests.
24553         (scalbln_test_data): Likewise.
24555         [BZ #17834]
24556         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
24557         0x1p63L.
24558         (__scalblnl): Get new exponent of adjusted subnormal value from ES
24559         not HX.
24560         * math/libm-test.inc (scalbn_test_data): Add more tests.
24561         (scalbln_test_data): Likewise.
24563 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24564             Stefani Seibold  <stefani@seibold.net>
24566         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
24567         (sysdep_routines): Add dl-vdso here, ...
24568         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
24569         (sysdep_routines): ... not here.
24570         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
24571         fallback when vDSO is not presented.
24572         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
24573         Define with libc_hidden_proto/libc_hidden_data_def definitions.
24574         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
24575         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
24576         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
24577         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
24578         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
24579         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
24580         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
24581         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
24582         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
24583         fallback configurable symbol when vDSO is not available.
24584         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
24585         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
24586         be able to redefine fallback symbol when vDSO is not available.
24587         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
24588         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
24590 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24592         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
24593         (TLS_INIT_TP): Add tm_capable initialization.
24594         (TLS_DEFINE_INIT_TP): Likewise.
24595         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
24596         TCB.
24597         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
24598         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
24599         calculation.
24600         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
24601         transactoion is lock elision is built and TCB tm_capable is set.
24602         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
24603         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
24604         (INTERNAL_SYSCALL_NCS): Likewise.
24605         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
24606         (INTERNAL_SYSCALL_NCS): Likewise.
24607         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
24609         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
24610         for powerpc.
24611         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
24612         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
24613         and remove it for 32 bits case.
24614         [pthread_rwlock_t] (__rwelision): New field for lock elision.
24615         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
24616         initialization.
24617         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
24618         Disable lock elision with rdlocks if elision is not available.
24620         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
24621         (sysdep_routines): Add lock elision objects.
24622         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
24623         [pthread_mutex_t] (__spins): Rework to add lock elision field.
24624         [pthread_mutex_t] (__elision): Add field.
24625         [__PTHREAD_SPINS]: Adjust to init lock elision field.
24626         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
24627         elision definitions for powerpc.
24628         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
24629         implementation of lock elision for powerpc.
24630         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
24631         implementation of timed lock elision for powerpc.
24632         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
24633         implementation of trylock with lock elision for powerpc.
24634         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
24635         implementaion of unlock for lock elision for powerpc.
24636         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
24637         automatic enable lock elision for mutexes.
24638         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
24639         transaction execution definitions for powerpc.
24640         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
24641         definitions.
24642         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
24643         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
24644         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
24645         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
24646         * NEWS: Update.
24648 2015-01-09  Roland McGrath  <roland@hack.frob.com>
24650         * sysdeps/posix/shm-directory.c: Use <> rather than ""
24651         for #include of <shm-directory.h>.
24653 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
24655         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
24656         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
24658 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
24660         [BZ #17791]
24661         * NEWS: Mention bug fix.
24662         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
24663         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
24664         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
24666 2015-01-09  Torvald Riegel <triegel@redhat.com>
24668         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
24670 2015-01-09  Torvald Riegel <triegel@redhat.com>
24672         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
24674 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
24676         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
24677         pointer and cast to uintptr_t.
24679 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
24681         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
24682         removed.
24683         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
24685 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
24687         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
24688         of 0.
24690 2015-01-08  Roland McGrath  <roland@hack.frob.com>
24692         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
24693         <nptl/pthreadP.h> instead.
24694         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
24696         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
24697         already defined.
24698         [__SIGRTMIN] (init): Function removed.
24699         [__SIGRTMIN] (initialized): Variable removed.
24700         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
24701         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
24702         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
24703         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
24704         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
24705         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
24706         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
24707         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
24708         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
24709         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
24710         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
24711         * sysdeps/nptl/allocrtsig.c: New file.
24712         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
24713         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
24714         * sysdeps/generic/testrtsig.h: File removed.
24716         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
24717         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
24719         * nptl/nptl-init.c (pthread_functions): Conditionalize
24720         .ptr__nptl_setxid initialization on [SIGSETXID].
24722         * sysdeps/nptl/sys/procfs.h: New file.
24723         * nptl_db/Makefile (headers): Add it.
24724         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
24726         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
24727         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
24728         * nptl/pthread_attr_setaffinity.c: Include it.
24729         * nptl/pthread_setattr_default_np.c: Likewise.
24730         * nptl/check-cpuset.h: New file.
24732 2015-01-08  Richard Henderson  <rth@redhat.com>
24734         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
24735         (CFLAGS-tst-execstack-prog.c): Likewise.
24736         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
24738 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
24739             Sandra Loosemore  <sandra@codesourcery.com>
24740             Andrew Jenner  <andrew@codesourcery.com>
24741             Joseph Myers  <joseph@codesourcery.com>
24742             Nathan Sidwell  <nathan@codesourcery.com>
24744         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
24745         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
24746         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
24747         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
24748         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
24749         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
24750         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
24751         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
24752         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
24753         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
24754         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
24755         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
24756         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
24757         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
24758         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
24759         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
24760         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
24762 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24764         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
24765         timespec struct member in syscall macro.
24766         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
24767         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
24768         first timeval struct member in syscall macro.
24769         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
24771 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
24773         [BZ #17748]
24774         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
24775         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
24776         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
24777         __feupdateenv and define as weak alias of __feupdateenv.  Use
24778         libm_hidden_weak.
24779         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
24780         libm_hidden_def.
24781         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
24782         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
24783         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
24784         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
24785         libm_hidden_def.
24786         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
24787         __feupdateenv and define as weak alias of __feupdateenv.  Use
24788         libm_hidden_weak.
24789         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
24790         libm_hidden_def.
24791         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
24792         __feupdateenv and define as weak alias of __feupdateenv.  Use
24793         libm_hidden_weak.
24794         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
24795         libm_hidden_def.
24796         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
24797         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
24798         (__feupdateenv): Likewise.
24799         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
24800         __feupdateenv and define as weak alias of __feupdateenv.  Use
24801         libm_hidden_weak.
24802         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
24803         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
24804         libm_hidden_def.
24805         * sysdeps/tile/math_private.h (__feupdateenv): New inline
24806         function.
24807         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
24808         libm_hidden_def.
24809         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
24810         __feupdateenv instead of feupdateenv.
24811         (default_libc_feupdateenv_test): Likewise.
24812         (libc_feresetround_ctx): Likewise.
24814 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24816         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
24817         prototype.
24819 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
24821         * posix/regcomp.c (parse_bracket_exp): Initialize type to
24822         COLL_SYM in a couple of places to avoid uninitialized variable
24823         wanings on tilegx gcc 4.8.2.
24825 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
24827         * sysdeps/aarch64/strcpy.S: New file.
24828         * sysdeps/aarch64/stpcpy.S: New file.
24829         * NEWS: Updated.
24831 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
24833         * sysdeps/aarch64/strrchr.S: New file.
24834         * NEWS: Updated.
24836 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
24838         [BZ #17658]
24839         * stdlib/setenv.c: Fix memory leak when setting large,
24840         duplicate string.
24842 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
24844         [BZ #17273]
24845         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
24846         and tabs from buffer before parsing fstab entry.
24847         * misc/tst-mntent.c (main): Add test for mount entry with
24848         trailing spaces and tabs.
24850 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
24852         [BZ #17748]
24853         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
24854         * math/fesetround.c (fesetround): Rename to __fesetround and
24855         define as weak alias of __fesetround.  Use libm_hidden_weak.
24856         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
24857         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
24858         * sysdeps/arm/fesetround.c (fesetround): Likewise.
24859         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
24860         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
24861         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
24862         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
24863         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
24864         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
24865         __fesetround_inline.
24866         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
24867         __fesetround_inline instead of __fesetround.
24868         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
24869         __fesetround and define as weak alias of __fesetround.  Use
24870         libm_hidden_weak.  Call __fesetround_inline instead of
24871         __fesetround.
24872         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
24873         __fesetround and define as weak alias of __fesetround.  Use
24874         libm_hidden_weak.
24875         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
24876         Likewise.
24877         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
24878         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
24879         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
24880         * sysdeps/tile/math_private.h (__fesetround): New inline function.
24881         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
24882         __fesetround and define as weak alias of __fesetround.  Use
24883         libm_hidden_weak.
24884         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
24885         __fesetround instead of fesetround.
24886         (default_libc_feholdexcept_setround): Likewise.
24887         (libc_feholdsetround_ctx): Likewise.
24888         (libc_feholdsetround_noex_ctx): Likewise.
24890         [BZ #17748]
24891         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
24892         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
24893         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
24894         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
24895         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
24896         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
24897         define as weak alias of __fesetenv.  Use libm_hidden_weak.
24898         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
24899         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
24900         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
24901         define as weak alias of __fesetenv.  Use libm_hidden_weak.
24902         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
24903         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
24904         define as weak alias of __fesetenv.  Use libm_hidden_weak.
24905         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
24906         libm_hidden_def.
24907         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
24908         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
24909         Likewise.
24910         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
24911         define as weak alias of __fesetenv.  Use libm_hidden_weak.
24912         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
24913         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
24914         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
24915         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
24916         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
24917         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
24918         __fesetenv instead of fesetenv.
24919         (libc_feresetround_noex_ctx): Likewise.
24920         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
24921         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
24922         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
24923         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
24924         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
24925         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
24926         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
24927         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
24928         (__feupdateenv): Likewise.
24929         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
24930         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
24931         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
24932         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
24934 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
24936         [BZ #17806]
24937         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
24938         addresses have been freed.
24940 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
24942         * resolv/res_init.c (__res_vinit): Improve comments about nserv
24943         and nservall.
24945 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
24947         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
24948         Clean up check_pf allocation pattern. addresses
24950 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24952         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
24953         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
24954         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
24955         * nptl/pthread_exit.c (__pthread_exit): Likewise.
24956         * nptl/pthread_join.c (pthread_join): Likewise.
24957         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
24958         * sysdeps/posix/waitid.c (__waitid): Likewise.
24959         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
24960         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
24961         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
24962         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
24963         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
24964         Likewise.
24965         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
24966         (__libc_pread64): Likewise.
24967         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
24968         (__libc_pwrite): Likewise.
24969         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
24970         (__libc_pwrite64): Likewsie.
24971         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
24972         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
24973         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
24974         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
24975         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
24976         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
24977         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
24978         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
24979         Likewise.
24980         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
24981         (__libc_pread64): Likewise.
24982         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
24983         Likewise.
24984         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
24985         (__libc_pwrite64): Likewise.
24986         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
24987         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
24988         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
24989         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
24990         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
24991         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
24992         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
24993         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
24994         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
24995         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
24996         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
24997         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
24998         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
24999         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
25000         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
25001         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
25002         Likewise.
25004 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
25006         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
25007         (CFLAGS-test-double.c): Likewise.
25008         (CFLAGS-test-ldouble.c): Likewise.
25009         (CPPFLAGS-test-ifloat.c): Likewise.
25010         (CPPFLAGS-test-idouble.c): Likewise.
25011         (CPPFLAGS-test-ildoubl.c): Likewise.
25012         (CFLAGS-test-test-fenv.c): Remove variable.
25013         (CFLAGS-test-misc.c): Likewise.
25015 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
25017         [BZ #17797]
25018         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
25019         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
25020         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
25021         CLOCKS_PER_SEC == 1000000.
25022         * time/clocktest.c (main): Replace %ld with %jd and cast to
25023         intmax_t.
25025 2015-01-05  Roland McGrath  <roland@hack.frob.com>
25027         * sysdeps/generic/unwind-resume.h: New file.
25028         * sysdeps/gnu/unwind-resume.c: Include it.
25029         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
25030         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
25031         argument list.
25032         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
25033         global rather than static.
25034         (_Unwind_Resume): Update user.
25035         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
25036         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
25037         rather than static.  Add __attribute__ ((cold)).
25038         (_Unwind_Resume, __gcc_personality_v0): Update callers.
25039         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
25040         * sysdeps/arm/arm-unwind-resume.S: New file.
25041         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
25042         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
25043         * sysdeps/arm/Makefile [$(subdir) = csu]
25044         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
25045         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
25046         Add rt-arm-unwind-resume.
25047         [$(subdir) = nptl]
25048         (libpthread-sysdep_routines, libpthread-shared-only-routines):
25049         Add pt-arm-unwind-resume.
25050         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
25051         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
25053 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
25055         [BZ #17748]
25056         * include/fenv.h (__feholdexcept): Declare.  Use
25057         libm_hidden_proto.
25058         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
25059         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
25060         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
25061         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
25062         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
25063         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
25064         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
25065         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
25066         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
25067         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
25068         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
25069         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
25070         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
25071         (feholdexcept): Likewise.
25072         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
25073         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
25074         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
25075         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
25076         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
25077         __feholdexcept instead of feholdexcept.
25078         (default_libc_feholdexcept_setround): Likewise.
25080 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
25082         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
25083         to avoid using stl/str to align destination.
25085 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
25087         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
25089 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
25091         [BZ #17796]
25092         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
25093         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
25094         Define as weak alias not strong alias.
25096 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
25098         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
25099         bltzal with addiupc.
25100         (RTLD_START): Ditto.
25102 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
25104         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
25105         for __vdso_* functions in declarations.
25106         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
25107         definitions.
25108         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
25109         INTERNAL_VSYSCALL): Use struct return types to check for error.
25111         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
25112         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
25113         function with cast from llround().
25114         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
25115         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
25116         Define.
25118 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
25120         [BZ #17793]
25121         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
25122         Define as weak alias not strong alias.
25124         [BZ #17635]
25125         * ctype/ctype-c99.c: New file.  isblank implementation moved from
25126         ...
25127         * ctype/ctype-extn.c: ... here.
25128         (__isblank_l): Move to ...
25129         * ctype/ctype-c99_l.c: ... here.  New file.
25130         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
25131         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
25132         Remove variable.
25133         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
25134         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
25135         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
25136         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
25137         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
25139         [BZ #17777]
25140         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
25141         (posix_fadvise64): Define as weak alias not strong alias.
25142         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
25143         (posix_fallocate64): Likewise.
25144         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
25145         Remove variable.
25146         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
25147         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
25148         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
25149         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
25150         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
25152 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
25154         [BZ #16191]
25155         * NEWS: Mention bug fix.
25156         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
25157         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
25158         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
25159         (HOST_STACK_END_ADDR): Likewise.
25161 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
25163         [BZ #17748]
25164         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
25165         * math/fegetround.c (fegetround): Rename to __fegetround and
25166         define as weak alias of __fegetround.  Use libm_hidden_weak.
25167         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
25168         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
25169         * sysdeps/arm/fegetround.c (fegetround): Likewise.
25170         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
25171         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
25172         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
25173         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
25174         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
25175         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
25176         Undefine after rather than before function definition; use
25177         parentheses around function name in definition.
25178         (__fegetround): Also undefine macro after function definition.
25179         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
25180         __fegetround and define as weak alias of __fegetround.  Use
25181         libm_hidden_weak.  Do not undefine as macro.
25182         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
25183         Likewise.
25184         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
25185         __fegetround and define as weak alias of __fegetround.  Use
25186         libm_hidden_weak.
25187         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
25188         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
25189         * sysdeps/tile/math_private.h (__fegetround): New inline function.
25190         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
25191         __fegetround and define as weak alias of __fegetround.  Use
25192         libm_hidden_weak.
25193         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
25194         __fegetround instead of fegetround.
25196         [BZ #17782]
25197         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
25198         Condition macro definition on [__USE_MISC].
25200         [BZ #17781]
25201         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
25202         (struct sigaction): Change type of sa_flags field to int.
25204         [BZ #17780]
25205         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
25206         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
25207         __glibc_reserved0.
25209         * nptl/version.c (banner): Use single year in copyright notice.
25211         * NEWS: Update copyright dates.
25212         * catgets/gencat.c (print_version): Likewise.
25213         * csu/version.c (banner): Likewise.
25214         * debug/catchsegv.sh: Likewise.
25215         * debug/pcprofiledump.c (print_version): Likewise.
25216         * debug/xtrace.sh (do_version): Likewise.
25217         * elf/ldconfig.c (print_version): Likewise.
25218         * elf/ldd.bash.in: Likewise.
25219         * elf/pldd.c (print_version): Likewise.
25220         * elf/sotruss.sh: Likewise.
25221         * elf/sprof.c (print_version): Likewise.
25222         * iconv/iconv_prog.c (print_version): Likewise.
25223         * iconv/iconvconfig.c (print_version): Likewise.
25224         * locale/programs/locale.c (print_version): Likewise.
25225         * locale/programs/localedef.c (print_version): Likewise.
25226         * login/programs/pt_chown.c (print_version): Likewise.
25227         * malloc/memusage.sh (do_version): Likewise.
25228         * malloc/memusagestat.c (print_version): Likewise.
25229         * malloc/mtrace.pl: Likewise.
25230         * manual/libc.texinfo: Likewise.
25231         * nptl/version.c (banner): Likewise.
25232         * nscd/nscd.c (print_version): Likewise.
25233         * nss/getent.c (print_version): Likewise.
25234         * nss/makedb.c (print_version): Likewise.
25235         * posix/getconf.c (main): Likewise.
25236         * scripts/test-installation.pl: Likewise.
25237         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
25239 2015-01-02  Will Newton  <will.newton@linaro.org>
25241         * sysdeps/arm/armv7/configure: Removed.
25242         * sysdeps/arm/armv7/configure.ac: Likewise.
25244 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
25246         * All files with FSF copyright notices: Update copyright dates
25247         using scripts/update-copyrights.
25248         * intl/plural.c: Regenerated.
25249         * locale/programs/charmap-kw.h: Likewise.
25250         * locale/programs/locfile-kw.h: Likewise.
25252 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
25254         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
25256 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
25258         [BZ #17748]
25259         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
25260         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
25261         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
25262         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
25263         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
25264         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
25265         define as weak alias of __fegetenv.  Use libm_hidden_weak.
25266         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
25267         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
25268         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
25269         define as weak alias of __fegetenv.  Use libm_hidden_weak.
25270         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
25271         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
25272         define as weak alias of __fegetenv.  Use libm_hidden_weak.
25273         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
25274         libm_hidden_def.
25275         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
25276         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
25277         Likewise.
25278         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
25279         define as weak alias of __fegetenv.  Use libm_hidden_weak.
25280         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
25281         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
25282         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
25283         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
25284         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
25285         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
25286         __fegetenv instead of fegetenv.
25287         (libc_feholdsetround_noex_ctx): Likewise.
25289 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
25291         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
25292         (Elf_MIPS_ABIFlags_v0): New structure.
25293         (EF_MIPS_FP64): Define.
25294         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
25295         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
25296         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
25297         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
25298         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
25299         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
25300         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
25301         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
25302         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
25303         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
25304         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
25305         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
25306         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
25307         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
25308         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
25309         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
25310         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
25311         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
25312         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
25313         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
25314         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
25315         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
25316         field.
25317         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
25318         EF_MIPS_FP64.
25319         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
25320         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
25321         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
25322         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
25323         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
25324         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
25325         * sysdeps/mips/tst-abi-interlink.c: Likewise.
25326         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
25327         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
25328         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
25329         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
25330         record the current FP ABI extension.
25331         (mips-mode-switch): Define to show if kernel headers support mode
25332         switching.
25333         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
25334         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
25335         supported SYSV ABI version to 3.
25336         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
25337         feature.
25339 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
25340             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25342         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
25343         path.
25344         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
25346 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
25348         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
25349         __fegetround and redefine to call __fegetround.  Remove condition
25350         on [!__NO_MATH_INLINES].
25351         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
25352         function.
25353         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
25354         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
25355         Remove macro.
25356         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
25357         instead of <fenv_libc.h>.
25358         (__llrintl): Call fegetround instead of __fegetround.
25359         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
25360         instead of <fenv_libc.h>.
25361         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
25362         (__lrintl): Call fegetround instead of __fegetround.
25363         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
25364         instead of <fenv_libc.h>.
25365         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
25366         (__rintl): Call fegetround instead of __fegetround.
25368 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
25370         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
25371         arrays.
25373 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
25375         [BZ #17775]
25376         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
25377         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
25378         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
25380 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
25382         * sysdeps/i386/tls-macros.h: Include <features.h>.
25383         (TLS_LE): Use non-PIC version for GCC >= 5.0.
25384         (TLS_IE): Likewise.
25385         (TLS_LD): Likewise.
25386         (TLS_GD): Likewise.
25387         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
25388         define for GCC >= 5.0.
25390 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
25392         * math/test-fenv.c (test_single_exception, set_single_exc,
25393         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
25394         feexcp_mask_test, feenable_test, fe_single_test): Add
25395         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
25396         case where they are not used.
25397         * math/libm-test.inc: Likewise.
25398         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
25399         unused in the absence of FP rounding/exception support.
25400         * stdio-common/tst-printf-round.c: Likewise.
25401         * stdlib/tst-strtod-round.c: Likewise.
25402         * stdlib/tst-strtod-underflow.c: Likewise.
25404 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
25406         [BZ #17723]
25407         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
25408         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
25409         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
25410         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
25411         libm_hidden_weak.
25412         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
25413         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
25414         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
25415         libm_hidden_def.
25416         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
25417         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
25418         libm_hidden_weak.
25419         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
25420         Likewise.
25421         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
25422         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
25423         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
25424         libm_hidden_weak.
25425         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
25426         libm_hidden_def.
25427         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
25428         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
25429         (__feraiseexcept): Likewise.
25430         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
25431         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
25432         libm_hidden_weak.
25433         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
25434         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
25435         libm_hidden_def.
25436         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
25437         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
25438         Use libm_hidden_def.
25439         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
25440         libm_hidden_def.
25441         (feraiseexcept): Define as weak not strong alias.  Use
25442         libm_hidden_weak.
25443         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
25444         New inline function.  Factored out of ...
25445         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
25446         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
25447         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
25448         feraiseexcept.
25449         * math/w_acos.c (__acos): Likewise.
25450         * math/w_asin.c (__asin): Likewise.
25451         * math/w_ilogb.c (__ilogb): Likewise.
25452         * math/w_j0.c (y0): Likewise.
25453         * math/w_j1.c (y1): Likewise.
25454         * math/w_jn.c (yn): Likewise.
25455         * math/w_log.c (__log): Likewise.
25456         * math/w_log10.c (__log10): Likewise.
25457         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
25458         * sysdeps/aarch64/fpu/math_private.h
25459         (libc_feupdateenv_test_aarch64): Likewise.
25460         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
25461         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
25462         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
25463         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
25464         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
25465         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
25466         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
25467         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
25468         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
25469         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
25471 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
25473         [BZ #17732]
25474         * io/test-utime.c (main): Replace %ld with %jd and cast to
25475         intmax_t.
25476         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
25477         * nptl/tst-mutex5.c: Include <stdint.h>.
25478         (do_test): Replace %ld with %jd and cast to intmax_t.
25479         * posix/tst-regex.c (run_test): Likewise.
25480         (run_test_backwards): Likewise.
25481         * rt/tst-clock.c: Include <stdint.h>.
25482         (clock_test): Replace %ld with %jd and cast to intmax_t.
25483         * rt/tst-cpuclock1.c: Include <stdint.h>.
25484         (do_test): Replace %lu with %ju and cast to uintmax_t.
25485         * rt/tst-cpuclock2.c: Include <stdint.h>.
25486         (do_test): Replace %lu with %ju and cast to uintmax_t.
25487         * rt/tst-mqueue1.c: Include <stdint.h>.
25488         (check_attrs): Replace %ld with %jd and cast to intmax_t.
25489         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
25490         intmax_t.
25491         * rt/tst-mqueue4.c (do_test): Likewise.
25492         * rt/tst-timer4.c: Include <stdint.h>.
25493         (check_ts): Replace %ld with %jd and cast to intmax_t.
25494         (do_test): Likewise.
25495         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
25496         and cast to intmax_t.
25497         * sysdeps/pthread/tst-timer.c (main): Likewise.
25498         * time/clocktest.c (main): Likewise.
25499         * time/tst-posixtz.c (do_test): Likewise.
25500         * timezone/tst-timezone.c (main): Likewise.
25502 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
25503             H.J. Lu  <hongjiu.lu@intel.com>
25505         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
25506         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
25507         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
25508         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
25509         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
25510         version if bit_Fast_Unaligned_Load is set.
25511         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
25512         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
25513         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
25514         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
25515         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
25516         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
25517         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25518         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
25519         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
25520         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
25521         to 4.
25522         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
25523         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
25524         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
25525         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
25527 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
25529         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
25530         instead of #if to avoid a Wundef warning.
25531         * stdlib/tst-limits.c (do_test): Likewise.
25533         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
25534         parallel other exception macros.
25535         (fegetenv): Convert from macro to extern inline so that it applies
25536         retroactively to inline functions already seen by the compiler.
25537         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
25539         * posix/Makefile (before-compile): Use $(objpfx) for
25540         posix-conf-vars-def.h.
25542 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
25544         * posix/getconf.c (main): Use size_t for type of I.
25545         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
25546         NSPEC.
25548         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
25549         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
25550         * posix/posix-envs.def: Likewise.
25551         * sysdeps/posix/sysconf.c: Likewise.
25552         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
25553         (specs): Remove array.
25554         * scripts/gen-posix-conf-vars.awk: Support generation of specs
25555         array.
25557         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
25558         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
25559         (__sysconf): Use CONF_IS_* macros.
25561         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
25562         ($(objpfx)posix-conf-vars-def.h): New target.
25563         * posix/posix-conf-vars.list: New file.
25564         * posix/posix-conf-vars.h: New file.
25565         * posix/confstr.c: Include posix-conf-vars.h.
25566         (confstr): Use CONF_IS_* macros.
25567         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
25568         CONF_IS_* macros.
25569         * scripts/gen-posix-conf-vars.awk: New file.
25571 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
25573         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
25574         fegetround): Add no-op macros to avoid linknamespace issues.
25576         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
25577         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
25579         * sysdeps/unix/sysv/linux/tile/sysdep.h
25580         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
25581         assembly-specific section to avoid a redefinition warning.
25583         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
25584         long before casting to pointer to avoid a cast warning.
25586 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
25588         * sysdeps/tile/tilegx/Implies: New file.
25590 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
25592         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
25594 2014-12-23  Florian Weimer  <fweimer@redhat.com>
25596         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
25598 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
25600         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
25601         not define.
25602         * sysdeps/unix/sysv/linux/utimes.c: Do not include
25603         <kernel-features.h>.
25604         (__utimes) [__NR_utimes]: Make code unconditional.
25605         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
25606         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
25607         (__ASSUME_UTIMES): Do not undefine.
25608         * sysdeps/unix/sysv/linux/tile/kernel-features.h
25609         (__ASSUME_UTIMES): Likewise.
25610         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
25611         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
25612         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
25613         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
25615 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
25617         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
25619 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
25621         [BZ #17747]
25622         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
25623         alias to weak alias for j0l, y0l.
25624         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
25625         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
25627         [BZ #17746]
25628         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
25629         conversion.
25631 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
25633         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
25634         to zero if not already defined.
25636 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
25638         [BZ #17724]
25639         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
25640         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
25641         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
25642         (char *) casts added.
25643         * sysdeps/ieee754/k_standardf.c: New file.
25644         * sysdeps/ieee754/k_standardl.c: Likewise.
25645         * math/Makefile (libm-support): Remove k_standard.
25646         (libm-calls): Add k_standard.
25648 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
25650         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
25651         Optimize to avoid an unnecessary FPCR read.
25653 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
25655         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
25656         Optimize to reduce FPCR/FPSR accesses.
25658 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
25660         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
25661         Call libc_fetestexcept_aarch64.
25663 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
25665         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
25666         Call libc_fesetround_aarch64.
25668 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
25670         [BZ #17733]
25671         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
25672         (__bind): Do not define as weak alias.
25673         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
25674         define.
25675         (__getsockname): Do not define as weak alias.
25677 2014-12-22  Will Newton  <will.newton@linaro.org>
25679         * manual/install.texi: Document that we require bison 2.7
25680         or above.
25681         * INSTALL: Regenerate.
25682         * configure.ac: Use AC_CHECK_PROG_VER instead of
25683         AC_PATH_PROG when checking for bison and check for
25684         version 2.7 or above.
25685         * configure: Regenerate.
25687 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
25689         [BZ #17745]
25690         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
25691         * sysdeps/tile/ffsll.c (ffsll): To here.
25693         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
25695 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
25697         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
25698         if not defined.
25699         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
25700         definition.
25701         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
25702         hidden ___tls_get_addr.
25703         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
25704         hidden __tls_get_addr.
25705         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
25706         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
25707         Likewise.
25709 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
25711         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
25712         _dl_init call.
25714 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
25716         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
25717         from "call _dl_init@PLT".
25718         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
25720 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
25722         * manual/search.texi: (Array Sort Function): Clarify stable sorting
25723         guarantees.
25725 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
25727         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
25729 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
25731         [BZ #17744]
25732         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
25733         strnlen.
25735 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
25737         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
25738         of multu on MIPSr6.
25739         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
25740         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
25741         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
25742         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
25743         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
25745 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
25747         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
25748         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
25749         (PTR_SUBU): Use subu for mips32r6/mips64r6.
25750         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
25751         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
25752         mips32r6/mips64r6.
25753         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
25755 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
25757         * string/strncat.c (STRNCAT): Simplify implementation.
25759 2014-12-19  David S. Miller  <davem@davemloft.net>
25761         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
25762         access the quad as both a long double and as a series of 4 words.
25764         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
25765         link_map->l_info array access.
25767 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
25769         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
25771         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
25772         * math/atest-exp2.c (TIMEOUT): Likewise.
25773         * math/atest-sincos.c (TIMEOUT): Likewise.
25775 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
25777         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
25778         -Wno-error with -fno-builtin-lround.
25780 2014-12-19  Torvald Riegel  <triegel@redhat.com>
25782         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
25783         Contains futex constants and functions moved over from ...
25784         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
25785         <lowlevellock-futex.h>.
25786         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
25787         (lll_timedwait_tid): Add comments and parentheses around macro
25788         arguments.
25790 2014-12-19  Torvald Riegel  <triegel@redhat.com>
25792         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
25793         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
25794         (__lll_private_flag): Remove.
25795         (lll_futex_wait): Likewise.
25796         (lll_futex_timed_wait): Likewise.
25797         (lll_futex_wake): Likewise.
25798         (lll_futex_requeue): Likewise.
25799         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
25800         (__lll_timedwait_tid): Spell out argument names.
25801         (lll_timedwait_tid): Add comments and parentheses around macro
25802         arguments.
25803         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
25804         LLL_SHARED and LLL_PRIVATE usable from assembly code.
25806 2014-12-19  Torvald Riegel  <triegel@redhat.com>
25808         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
25809         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
25810         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
25811         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
25812         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
25813         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
25814         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
25815         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
25816         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
25817         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
25818         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
25819         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
25820         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
25821         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
25822         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
25823         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
25824         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
25825         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
25826         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
25828 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
25830         * sysdeps/x86_64/x32/Makefile: New file.
25832 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
25834         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
25835         1L with (mp_limb_t) 1.
25837 2014-12-17  Roland McGrath  <roland@hack.frob.com>
25839         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
25840         * nptl/libc_pthread_init.c: ... here.
25841         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
25842         * nptl/register-atfork.c: ... here.
25844         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
25845         Use pthread_sigmask rather than INTERNAL_SYSCALL.
25846         Use assert_perror to check its return value.
25847         (__gai_create_helper_thread): Likewise.
25849         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
25851         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
25853 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
25855         [BZ #17725]
25856         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
25857         __profil_counter.
25858         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
25859         Likewise.
25860         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
25861         Likewise.
25862         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
25863         Likewise.
25864         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
25865         (profil_counter): Likewise.
25866         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
25867         (profil_counter): Likewise.
25868         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
25869         Likewise.
25870         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
25871         Likewise.
25872         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
25873         (profil_counter): Likewise.
25874         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
25875         Likewise.
25876         [!__profil_counter] (profil_counter): Define as weak alias of
25877         __profil_counter.
25878         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
25879         (profil_counter): Rename to __profil_counter.
25880         [!__profil_counter] (profil_counter): Define as weak alias of
25881         __profil_counter.
25882         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
25883         (profil_counter): Rename to __profil_counter.
25884         [!__profil_counter] (profil_counter): Define as weak alias of
25885         __profil_counter.
25886         * sysdeps/posix/profil.c: Update comment referring to
25887         profil_counter.
25888         (__profil): Use __profil_counter instead of profil_counter.
25889         * sysdeps/posix/sprofil.c (profil_counter): Rename to
25890         __profil_counter.  Use __profil_counter_ushort and
25891         __profil_counter_uint in definitions.
25892         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
25893         instead of profil_counter_uint and profil_counter_ushort.
25895         [BZ #17722]
25896         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
25897         define as weak alias of __inet_makeaddr.
25898         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
25899         as weak alias of __inet_addr.
25900         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
25901         as weak alias of __inet_pton.  Use libc_hidden_weak.
25902         * include/arpa/inet.h (__inet_pton): Declare.  Use
25903         libc_hidden_proto.
25904         (inet_makeaddr): Don't use libc_hidden_proto.
25905         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
25906         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
25907         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
25908         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
25909         Remove variable.
25910         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
25911         (test-xfail-POSIX/time.h/linknamespace): Likewise.
25913 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
25915         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
25917 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
25919         * stdio-common/bug-vfprintf-nargs.c (do_test):
25920         Cast value to intptr_t to avoid format warning
25921         for usage with PRIdPTR printing macro.
25923 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
25925         * libio/tst-widetext.c (do_test):
25926         Use format type %td instead of %Zd for ptrdiff_t
25927         in order to avoid format warning.
25929 2014-12-17  Andreas Schwab  <schwab@suse.de>
25931         * nscd/mem.c (gc): Add size_t cast to match printf format.
25933 2014-12-16  Roland McGrath  <roland@hack.frob.com>
25935         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
25936         (init): Apply PTR_MANGLE to pointers before storing them.
25937         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
25938         before using them.
25940 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
25942         [BZ #17719]
25943         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
25944         define as weak alias of __memrchr.
25945         (__memrchr): Do not define as strong alias of memrchr.
25946         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
25947         Remove variable.
25948         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
25949         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
25950         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
25952         [BZ #17717]
25953         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
25954         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
25955         (if_indextoname): Rename to __if_indextoname and define as weak
25956         alias of __if_indextoname.  Use libc_hidden_weak.
25957         (if_freenameindex): Rename to __if_freenameindex and define as
25958         weak alias of __if_freenameindex.
25959         (if_nameindex): Rename to __if_nameindex and define as weak alias
25960         of __if_nameindex.
25961         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
25962         __if_nametoindex and define as weak alias of __if_nametoindex.
25963         Use libc_hidden_weak.
25964         (if_freenameindex): Rename to __if_freenameindex and define as
25965         weak alias of __if_freenameindex.
25966         (if_nameindex): Rename to __if_nameindex and define as weak alias
25967         of __if_nameindex.
25968         (if_indextoname): Rename to __if_indextoname and define as weak
25969         alias of __if_indextoname.  Use libc_hidden_weak.
25970         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
25971         __if_nametoindex and define as weak alias of __if_nametoindex.
25972         Use libc_hidden_weak.
25973         (if_freenameindex): Rename to __if_freenameindex and define as
25974         weak alias of __if_freenameindex.  Use libc_hidden_weak.
25975         (if_nameindex_netlink): Use __if_freenameindex instead of
25976         if_freenameindex.
25977         (if_nameindex): Rename to __if_nameindex and define as weak alias
25978         of __if_nameindex.  Use libc_hidden_weak.
25979         (if_indextoname): Rename to __if_indextoname and define as weak
25980         alias of __if_indextoname.  Use libc_hidden_weak.
25981         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
25982         libc_hidden_proto.
25983         [!_ISOMAC] (__if_freenameindex): Likewise.
25984         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
25985         if_nametoindex.
25986         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
25987         variable.
25988         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
25989         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
25990         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
25991         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
25992         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
25993         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
25994         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
25996         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
25997         Remove variable.
25998         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
25999         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
26001 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26003         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
26004         subscript above bounds'
26006         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
26007         bounds.
26009 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
26011         * libio/tst-fopenloc.c: Use test-skeleton.c.
26013         * stdlib/tst-bsearch.c: Use test-skeleton.c.
26014         (entry): Rename to ITEM.
26015         (do_test, comp): Adjust.
26017         * stdio-common/tst-fseek.c: Use test-skeleton.c.
26019 2014-12-16  Torvald Riegel  <triegel@redhat.com>
26021         * string/tester.c: Include <libc-internal.h>.
26022         (test_memset): Ignore -Wmemset-transposed-args.
26024 2014-12-16  Torvald Riegel  <triegel@redhat.com>
26026         * misc/tst-mntent2.c (do_test): Fix warning.
26028 2014-12-16  Torvald Riegel  <triegel@redhat.com>
26030         * elf/tst-unique4lib.cc(a): Mark as used.
26032 2014-12-16  Florian Weimer  <fweimer@redhat.com>
26034         [BZ #17630]
26035         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
26036         names.
26038 2014-12-16  Allan McRae  <allan@archlinux.org>
26040         * stdio-common/Makefile (tests): Re-add bug26.
26042 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
26044         [BZ #17657]
26045         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
26046         static array.
26048 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
26050         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
26051         (__lll_lock_wait): Likewise.
26052         (__lll_timedlock_wait): Likewise.
26053         (__lll_timedwait_tid): Likewise.
26054         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
26055         (__lll_robust_timedlock_wait): Likewise.
26056         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
26057         (lll_cond_trylock): Likewise.
26058         (__lll_lock): Likewise.
26059         (__lll_robust_lock): Likewise.
26060         (__lll_cond_lock): Likewise.
26061         (lll_robust_cond_lock): Likewise.
26062         (__lll_timedlock): Likewise.
26063         (__lll_robust_timedlock): Likewise.
26064         (__lll_unlock): Likewise.
26065         (__lll_robust_unlock): Likewise.
26066         (lll_wait_tid): Likewise.
26067         (lll_timedwait_tid): Likewise.
26069 2014-12-15  Torvald Riegel  <triegel@redhat.com>
26071         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
26073 2014-12-15  Torvald Riegel  <triegel@redhat.com>
26075         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
26077 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
26079         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
26080         * stdio-common/tst-sprintf.c: Likewise.
26082 2014-12-15  Torvald Riegel  <triegel@redhat.com>
26084         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
26086 2014-12-15  Jeff Law  <law@redhat.com>
26088         [BZ #16617]
26089         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
26090         on the heap.  (CVE-2012-3406)
26091         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
26092         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
26093         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
26095 2014-12-15  Will Newton  <will.newton@linaro.org>
26097         * manual/install.texi: Bump required version of texinfo
26098         to 4.7 from 4.5.
26099         * INSTALL: Regenerated.
26100         * configure.ac: Check for makeinfo version 4.7 and above.
26101         * configure: Regenerated.
26103 2014-12-12  Roland McGrath  <roland@hack.frob.com>
26105         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
26106         PREFIX, string constant to insert between directory and name.
26107         * sysdeps/posix/shm_open.c: Update caller.
26108         * sysdeps/posix/shm_unlink.c: Likewise.
26109         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
26110         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
26111         (SEM_SHM_PREFIX): New macro.
26112         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
26113         [$(have-thread-library) = no].
26114         * nptl/Makefile (libpthread-routines): Add shm-directory.
26115         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
26116         * sysdeps/nptl/shm-directory.h: New file.
26117         * sysdeps/posix/shm-directory.c
26118         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
26119         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
26120         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
26121         INTERNAL_SYSCALL.
26122         (__where_is_shmfs): Function removed.
26123         (mountpoint, defaultmount, defaultdir, __namedsem_once):
26124         Variables removed.
26125         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
26126         Use SHM_GET_NAME.
26127         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
26129         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
26130         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
26131         unconditional for use inside libpthread.
26132         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
26134 2014-12-12  Roland McGrath  <roland@hack.frob.com>
26136         * nptl/pthread_getaffinity.c: New file.
26137         * nptl/pthread_setaffinity.c: New file.
26138         * nptl/pthread_getname.c: New file.
26139         * nptl/pthread_setname.c: New file.
26141         * nptl/pthread_create.c (START_THREAD_DEFN)
26142         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
26144 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
26145             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26147         * resolv/res_send.c (send_vc): Disable warning resplen may
26148         be used uninitialized.
26150 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
26152         * nptl/tst-mutex6.c
26153         (ATTR_NULL): New define checks ATTR against NULL.
26154         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
26155         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
26157 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
26159         [BZ #17581]
26160         * malloc/hooks.c
26161         (mem2mem_check): Revert my previous change.
26162         (malloc_check_get_size): Revert my previous change.
26163         (mem2chunk_check): Revert my previous change.
26165 2014-12-11  Roland McGrath  <roland@hack.frob.com>
26167         * sysdeps/posix/shm-directory.c: New file.
26168         * sysdeps/posix/shm-directory.h: New file.
26169         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
26170         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
26171         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
26172         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
26173         Transmute EPERM to EACCES.
26174         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
26175         from ...
26176         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
26177         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
26179 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26181         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
26182         pointer and cast to uintptr_t.
26183         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
26184         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
26185         Add cast to avoid warning.
26186         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
26188 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
26190         * nptl/semaphore.h: Move to ...
26191         * sysdeps/pthread/semaphore.h: ... here.
26192         * Makefile (installed-headers): Change nptl/semaphore.h to
26193         sysdeps/pthread/semaphore.h.
26195 2014-12-11  Roland McGrath  <roland@hack.frob.com>
26197         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
26198         generated error format strings.
26200         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
26201         -Wformat-extra-args warnings for scanf formats.
26202         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
26203         test of zero-length format (duh).
26204         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
26205         corner-case scanf format test.
26206         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
26207         generated fprintf format string.
26208         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
26209         corner-case sprintf format tests.
26210         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
26211         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
26212         -Wformat-extra-args warnings throughout.
26213         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
26214         (CFLAGS-scanf4.c): Likewise.
26215         (CFLAGS-scanf7.c): Likewise.
26216         (CFLAGS-tst-sprintf.c): Likewise.
26217         (CFLAGS-tst-printf.c): Likewise.
26218         (CFLAGS-tst-printfsz.c): Likewise.
26220 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
26222         * include/cpio.h: New file.
26223         * include/fmtmsg.h: Likewise.
26225         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
26226         corresponding format argument to size_t.
26227         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
26228         arguments.
26229         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
26230         corresponding format argument to size_t.
26231         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
26232         arguments.
26233         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
26234         corresponding format argument to size_t.
26235         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
26236         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
26237         (CFLAGS-tst-mbswcs2.c): Likewise.
26238         (CFLAGS-tst-mbswcs3.c): Likewise.
26239         (CFLAGS-tst-mbswcs4.c): Likewise.
26240         (CFLAGS-tst-mbswcs5.c): Likewise.
26241         (CFLAGS-tst-trans.c): Likewise.
26243 2014-12-11  Roland McGrath  <roland@hack.frob.com>
26245         * posix/regexbug1.c (main): Use "%s" format with regerror results,
26246         rather than assuming they won't contain any '%'s.
26248 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
26250         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
26251         inhibit_loop_to_libcall to avoid recursive calls.
26252         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
26253         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
26255 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
26257         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
26258         prototype.
26260 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
26262         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
26263         integer value instead of boolean.
26265 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
26267         * malloc/malloc.c: Fix powerof2 check.
26269 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
26271         * locale/programs/locfile.h (maybe_swap_uint32):
26272         Remove inline and add unused attribute.
26274 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
26276         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
26277         Truncating assembler expression to a .long expression.
26279 2014-12-11  Andreas Schwab  <schwab@suse.de>
26281         * elf/rtld.c (struct map_args): Constify str member.
26282         (do_preload): Constify fname argument.
26284 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26286         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
26287         constants definition.
26289 2014-12-11  Andreas Schwab  <schwab@suse.de>
26291         [BZ #16657]
26292         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
26293         FORCE_ELISION instead of DO_ELISION.
26294         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
26295         Remove.
26296         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
26297         Likewise.
26299         * iconvdata/gconv-modules: Remove duplicate entry.
26301 2014-12-11  Will Newton  <will.newton@linaro.org>
26303         Merge gettext 0.19.3 into intl/.
26305         This involves a number of cosmetic changes to comments
26306         and ANSI function definitions and prototypes throughout
26307         all the files. The gettext copyright header is used but
26308         with the date ranges taken from the glibc copy.
26310         * NEWS: Add gettext merge to 2.21.
26311         * intl/bindtextdom.c: Switch to gettext copyright.
26312         Use ANSI definitions and prototypes.
26313         Use gl_* locking primitives rather than __libc_* ones.
26314         Use __builtin_expect rather than __glibc_likely/unlikely.
26315         * intl/dcgettext.c: Switch to gettext copyright.
26316         Use ANSI definitions and prototypes.
26317         * intl/dcigettext.c: Switch to gettext copyright.
26318         Use ANSI definitions and prototypes.
26319         (INTDIV0_RAISES_SIGFPE): New define.
26320         Use gl_* locking primitives rather than __libc_* ones.
26321         Include eval-plural.h instead of plural-eval.c.
26322         Use __builtin_expect rather than __glibc_likely/unlikely.
26323         * intl/dcngettext.c: Switch to gettext copyright.
26324         Use ANSI definitions and prototypes.
26325         * intl/dgettext.c: Likewise.
26326         * intl/dngettext.c: Likewise.
26327         * intl/plural-eval.c: Renamed to...
26328         * intl/eval-plural.h: ...this.
26329         * intl/explodename.c: Switch to gettext copyright.
26330         Use ANSI definitions and prototypes.
26331         (_nl_explode_name): Use strchr instead of __rawmemchr.
26332         * intl/finddomain.c: Switch to gettext copyright.
26333         Use ANSI definitions and prototypes.
26334         Use gl_* locking primitives rather than __libc_* ones.
26335         (_nl_find_domain): Use malloc rather than alloca for
26336         allocation of temporary locale name.
26337         * intl/gettext.c: Switch to gettext copyright.
26338         Use ANSI definitions and prototypes.
26339         * intl/gettextP.h: Switch to gettext copyright.
26340         Use ANSI definitions and prototypes.
26341         Use gl_* locking primitives rather than __libc_* ones.
26342         * intl/gmo.h: Switch to gettext copyright.
26343         (struct sysdep_string): Move struct segment_pair outside of
26344         struct definition.
26345         * intl/hash-string.c: Use ANSI definitions and prototypes.
26346         * intl/hash-string.h: Switch to gettext copyright.
26347         Use ANSI definitions and prototypes.
26348         * intl/l10nflist.c: Switch to gettext copyright.
26349         Use ANSI definitions and prototypes.
26350         (_nl_normalize_codeset): Avoid integer overflow.
26351         * intl/loadinfo.h: Switch to gettext copyright.
26352         Use ANSI definitions and prototypes.
26353         (LIBINTL_DLL_EXPORTED): New define.
26354         (PATH_SEPARATOR): New define.
26355         * intl/loadmsgcat.c: Switch to gettext copyright.
26356         * intl/localealias.c: Switch to gettext copyright.
26357         Use ANSI definitions and prototypes.
26358         (_nl_expand_alias): Use PATH_SEPARATOR.
26359         * intl/ngettext.c: Switch to gettext copyright.
26360         Use ANSI definitions and prototypes.
26361         * intl/plural-exp.c: Likewise.
26362         * intl/plural-exp.h: Switch to gettext copyright.
26363         Use ANSI definitions and prototypes.
26364         (struct expression): Move definition of enum operator outside
26365         of struct definition.
26366         * intl/plural.c: Regenerate.
26367         * intl/plural.y: Switch to gettext copyright.
26368         Use ANSI definitions and prototypes.
26369         Port to bison 3.0.
26370         * intl/textdomain.c: Switch to gettext copyright.
26371         Use ANSI definitions and prototypes.
26372         Use gl_* locking primitives rather than __libc_* ones.
26374 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
26376         * debug/warning-nop.c: Add used atrribute.
26378 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
26380         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
26382         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
26383         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
26384         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
26386 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
26387             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26389         [BZ #17634]
26390         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
26391         Undefine after defining function.  Define as weak alias of
26392         __wcschr.  Use libc_hidden_weak.
26393         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
26394         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
26395         (libc_hidden_def): Also define __GI___wcschr alias.
26396         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
26397         __wcschr and define as weak alias of __wcschr.
26398         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
26399         __wcschr.
26400         [!WCSCHR] (DEFAULT_WCSCHR): Define.
26401         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
26402         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
26403         libc_hidden_weak.  Do not use libc_hidden_def.
26404         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
26405         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
26406         __GI___wcschr alias.
26407         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
26408         [IS_IN (libc)] (wcschr): Define as macro expanding to
26409         __redirect_wcschr.
26410         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
26411         [IS_IN (libc)] (__wcschr_power6): Likewise.
26412         [IS_IN (libc)] (__wcschr_power7): Likewise.
26413         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
26414         instead of wcschr.
26415         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
26416         __libc_wcschr.
26417         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
26418         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
26419         __wcschr and define as weak alias of __wcschr.  Use
26420         libc_hidden_builtin_def.
26421         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
26422         as weak alias of __wcschr.  Use libc_hidden_weak.
26423         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
26424         wcschr.
26425         * time/era.c (_nl_init_era_entries): Likewise.
26426         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
26427         variable.
26428         (test-xfail-XPG3/time.h/linknamespace): Likewise.
26429         (test-xfail-XPG4/time.h/linknamespace): Likewise.
26431 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
26433         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
26434         format for long int variable.
26436 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
26438         [BZ #10672]
26439         * manual/search.texi: (Array Sort Function): Remove claim how to make
26440         qsort stable.
26442 2014-12-10  Andreas Schwab  <schwab@suse.de>
26444         [BZ #12847]
26445         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
26446         user-controlled locks.
26448 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
26450         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
26451         register.
26453 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
26455         * configure.ac (--disable-werror): New configure option.
26456         (enable_werror): New AC_SUBST.
26457         * configure: Regenerated.
26458         * config.make.in (enable-werror): New variable.
26459         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
26460         -Wno-error=undef.
26461         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
26462         * manual/install.texi (Configuring and compiling): Document
26463         --disable-werror.
26464         * INSTALL: Regenerated.
26465         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
26466         (CFLAGS-tst-chk2.c): Likewise.
26467         (CFLAGS-tst-chk3.c): Likewise.
26468         (CFLAGS-tst-chk4.cc): Likewise.
26469         (CFLAGS-tst-chk5.cc): Likewise.
26470         (CFLAGS-tst-chk6.cc): Likewise.
26471         (CFLAGS-tst-lfschk1.c): Likewise.
26472         (CFLAGS-tst-lfschk2.c): Likewise.
26473         (CFLAGS-tst-lfschk3.c): Likewise.
26474         (CFLAGS-tst-lfschk4.cc): Likewise.
26475         (CFLAGS-tst-lfschk5.cc): Likewise.
26476         (CFLAGS-tst-lfschk6.cc): Likewise.
26478         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
26479         (main): Disable -Wdeprecated-declarations around calls to
26480         register_printf_function.
26482         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
26483         (do_test): Disable -Wdiv-by-zero around some calls to
26484         fwrite_unlocked and fread_unlocked.
26486         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
26487         (DIAG_POP_NEEDS_COMMENT): Likewise.
26488         (_DIAG_STR1): Likewise.
26489         (_DIAG_STR): Likewise.
26490         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
26491         * stdio-common/bug21.c: Include <libc-internal.h>.
26492         (do_test): Disable -Wformat around call to sscanf.
26493         * stdio-common/scanf14.c: Include <libc-internal.h>.
26494         (main): Disable -Wformat around some calls to scanf functions.
26496 2014-12-09  Torvald Riegel  <triegel@redhat.com>
26498         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
26500 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26502         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
26503         stack variable alignment.
26505 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
26507         [BZ #17682]
26508         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
26509         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
26510         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
26511         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
26512         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
26513         __getrlimit instead of getrlimit.
26514         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
26515         __gettimeofday instead of gettimeofday.
26516         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
26517         Likewise.
26518         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
26519         Likewise.
26520         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
26521         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
26522         Remove variable.
26523         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
26524         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
26526 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26528         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
26529         for wide-character tests.
26531 2014-12-04  Roland McGrath  <roland@hack.frob.com>
26533         * io/openat64.c: #include <libc-internal.h>
26534         (__openat64): Prototypify.  Use ignore_value on MODE.
26535         * io/openat.c: Likewise.
26536         * misc/reboot.c: #include <libc-internal.h>
26537         (reboot): Prototypify.  Use ignore_value on HOWTO.
26538         * misc/ptrace.c: #include <libc-internal.h>
26539         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
26541 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
26543         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
26544         XPG4, UNIX98 and XOPEN2K.
26545         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
26546         Remove variable.
26547         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
26549 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
26551         * libio/fileops.c: Use ISO C style for function definitions.
26552         * libio/iofopen.c: Likewise.
26553         * libio/wfileops.c: Likewise.
26555         [BZ #17653]
26556         * libio/fileops.c (_IO_new_file_underflow): Unset cached
26557         offset on EOF.
26558         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
26559         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
26560         (fgets_func): Function pointer to fgets and fgetws.
26561         (do_ftell_test): Add test to verify ftell value after read
26562         EOF.
26563         (do_test): Set fgets_func.
26565         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
26566         O_TRUNC flag for w and w+ modes.
26567         (do_rewind_test): Likewise.
26568         (do_ftell_test): Likewise.
26569         (do_write_test): Likewise.
26571         [BZ #17647]
26572         * libio/fileops.c (do_ftell): Seek only when there are
26573         unflushed writes.
26574         * libio/wfileops.c (do_ftell_wide): Likewise.
26575         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
26576         test case.
26577         (do_one_test): Call it.
26579 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
26581         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
26582         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
26583         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
26584         Remove variable.
26585         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
26586         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
26587         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
26589 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
26591         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
26592         Remove variable.
26593         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
26595         [BZ #17668]
26596         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
26597         as weak alias of __getifaddrs.  Use libc_hidden_weak.
26598         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
26599         __freeifaddrs.  Use libc_hidden_weak.
26600         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
26601         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
26602         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
26603         __freeifaddrs.  Use libc_hidden_weak.
26604         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
26605         __getifaddrs and define as weak alias of __getifaddrs.  Use
26606         libc_hidden_weak.
26607         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
26608         __freeifaddrs.  Use libc_hidden_weak.
26609         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
26610         Remove variable.
26611         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
26612         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
26614 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
26616         [BZ #17601]
26617         * sysdeps/mips/start.S (__start): Use indirect jump to call
26618         __libc_start_main.
26620 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
26622         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
26624         * nptl/tst-mutex1.c: Include <stdbool.h>.
26625         [!ATTR] (ATTR_NULL): New macro.
26626         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
26627         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
26628         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
26630         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
26631         to char *.
26633         [BZ #17665]
26634         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
26635         Change conditional to [__USE_MISC].
26637         [BZ #17664]
26638         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
26639         fgets_unlocked.
26640         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
26641         __fgets_unlocked.
26642         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
26643         fgets_unlocked.
26644         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
26645         Remove variable.
26646         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
26647         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
26648         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
26649         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
26650         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
26651         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
26652         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
26653         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
26654         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
26656         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
26658 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26660         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
26661         Remove strpbrk objects.
26662         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26663         (__libc_ifunc_impl_list): Remove strpbrk implementation.
26664         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
26665         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
26666         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
26667         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
26669         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
26670         Remove strcspn objects.
26671         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26672         (__libc_ifunc_impl_list): Remove strcspn implementation.
26673         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
26674         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
26675         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
26676         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
26678         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
26679         Remove strspn objetcs.
26680         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26681         (__libc_ifunc_impl_list): Remove strspn implementation.
26682         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
26683         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
26684         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
26685         * sysdeps/powerpc/powerpc64/strspn.S: New file.
26687 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
26689         [BZ #17581]
26690         * malloc/hooks.c
26691         (mem2mem_check): Add a terminator to the chain of checking blocks.
26692         (malloc_check_get_size): Use it here.
26693         (mem2chunk_check): Ditto.
26695 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26697         * sysdeps/powerpc/powerpc64/strtok.S: New file.
26698         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
26700 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
26702         * bits/ioctl-types.h: Indent preprocessor directives correctly.
26704         * nptl/nptl-init.c: Include libc-internal.h.
26705         (__pthread_initialize_minimal_internal): Use ROUND_UP.
26707         * elf/ldconfig.c (search_dir): Expand comment.
26709 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
26711         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
26712         variable.
26713         (linknamespace-symlist-stdlibs-tests): Likewise.
26714         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
26715         instead of $(objpfx)symlist-stdlibs.
26716         (linknamespace-libs-isoc): New variable.
26717         (linknamespace-libs): Use $(linknamespace-libs-isoc).
26718         (linknamespace-libs-ISO): New variable.
26719         (linknamespace-libs-ISO99): Likewise.
26720         (linknamespace-libs-ISO11): Likewise.
26721         (linknamespace-libs-XPG3): Likewise.
26722         (linknamespace-libs-XPG4): Likewise.
26723         (linknamespace-libs-POSIX): Likewise.
26724         (linknamespace-libs-UNIX98): Likewise.
26725         (linknamespace-libs-XOPEN2K): Likewise.
26726         (linknamespace-libs-POSIX2008): Likewise.
26727         (linknamespace-libs-XOPEN2K8): Likewise.
26728         ($(objpfx)symlist-stdlibs): Replace by
26729         $(linknamespace-symlist-stdlibs-tests).  Use
26730         $(linknamespace-libs-$*) as set of libraries.
26731         ($(linknamespace-header-tests)): Update dependencies.  Use
26732         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
26733         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
26734         * conform/linknamespace.pl: Remove comment about considering
26735         definitions of symbols from irrelevant libraries.
26737 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
26739         [BZ #13862]
26740         * elf/dl-tls.c: Include <atomic.h>.
26741         (oom): Remove #ifdef SHARED/#endif.
26742         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
26743         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
26744         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
26745         big enough.
26746         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
26747         * nptl/Makefile (tests): Add tst-stack4.
26748         (modules-names): Add tst-stack4mod.
26749         ($(objpfx)tst-stack4): New.
26750         (tst-stack4mod.sos): Likewise.
26751         ($(objpfx)tst-stack4.out): Likewise.
26752         ($(tst-stack4mod.sos)): Likewise.
26753         (clean): Likewise.
26754         * nptl/tst-stack4.c: New file.
26755         * nptl/tst-stack4mod.c: Likewise.
26757 2014-11-27  J. Brown  <jb999@gmx.de>
26759         * sysdeps/x86/bits/string.h: Add recent CPUs.
26761 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
26763         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
26764         sigblock.
26766         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
26767         feof.
26769         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
26770         variable.
26772 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
26774         * nscd/connections.c: Include libc-internal.h because of macro
26775         usage ignore_value.
26777 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
26779         * string/bits/string3.h (__warn_memset_zero_len): Don't
26780         declare for gcc newer than 5.0.
26781         (memset): Don't test for zero-length __LEN for gcc newer than
26782         5.0.
26784 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
26786         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
26787         size_t for %zu format.
26789         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
26790         difference, not %ju.
26792 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
26794         * include/libc-internal.h (ignore_value): New macro.
26795         * nscd/connections.c (restart): Wrap calls to setuid and setgid
26796         with ignore_value.
26798         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
26799         definition.
26801         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
26802         pthread_cleanup_push to void *.
26804         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
26805         Undefine.
26807         [BZ #16619]
26808         [BZ #16740]
26809         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
26810         instead of 1L << 52.
26812         * libio/bug-rewind.c (do_test): Check fwscanf return values.
26813         * libio/bug-rewind2.c (do_test): Likewise.
26815         * debug/test-stpcpy_chk-ifunc.c: Remove file.
26816         * debug/test-strcpy_chk-ifunc.c: Likewise.
26817         * wcsmbs/test-wcschr-ifunc.c: Likewise.
26818         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
26819         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
26820         * wcsmbs/test-wcslen-ifunc.c: Likewise.
26821         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
26822         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
26823         * Rules [$(multi-arch) = no] (tests): Do not filter out
26824         $(tests-ifunc).
26825         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
26826         * debug/Makefile (tests-ifunc): Remove variable.
26827         (tests): Do not add $(tests-ifunc).
26828         * wcsmbs/Makefile (tests-ifunc): Remove variable.
26829         (tests): Do not add $(tests-ifunc).
26830         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
26831         [TEST_IFUNC]: Remove conditionals.
26832         * string/test-string.h (TEST_IFUNC): Remove macro.
26833         [TEST_IFUNC]: Remove conditionals.
26835         * string/test-strchr.c [!WIDE] (L): New macro.
26836         [WIDE] (L): Likewise.
26837         (check1): Use CHAR instead of char.  Use L on string and character
26838         constants.
26840 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
26842         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
26843         tests.
26844         * sysdeps/powerpc/bits/atomic.h
26845         (__arch_atomic_exchange_and_add_32_acq): Add definition.
26846         (__arch_atomic_exchange_and_add_32_rel): Likewise.
26847         (atomic_exchange_and_add_acq): Likewise.
26848         (atomic_exchange_and_add_rel): Likewise.
26849         * sysdeps/powerpc/powerpc32/bits/atomic.h
26850         (__arch_atomic_exchange_and_add_64_acq): Add definition.
26851         (__arch_atomic_exchange_and_add_64_rel): Likewise.
26852         * sysdeps/powerpc/powerpc64/bits/atomic.h
26853         (__arch_atomic_exchange_and_add_64_acq): Add definition.
26854         (__arch_atomic_exchange_and_add_64_rel): Likewise.
26856 2014-11-26  Torvald Riegel  <triegel@redhat.com>
26858         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
26859         Change synchronization of __sched_fifo_min_prio and
26860         __sched_fifo_max_prio.
26861         * nptl/pthread_mutexattr_getprioceiling.c
26862         (pthread_mutexattr_getprioceiling): Likewise.
26863         * nptl/pthread_mutexattr_setprioceiling.c
26864         (pthread_mutexattr_setprioceiling): Likewise.
26865         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
26866         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
26867         Likewise.
26869 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
26871         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
26872         void.
26874 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
26876         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
26877         third argument const.
26879 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
26881         fnmatch: work around GCC compiler warning bug with uninit var
26882         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
26883         This works around a bug with x86-64 GCC 4.9.2 and earlier
26884         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
26885         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
26886         used uninitialized in this function [-Wmaybe-uninitialized]".
26888 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
26890         * posix/bug-regex31.c (main): Return RES not 0.
26892 2014-11-25  Anton Blanchard <anton@samba.org>
26894         * sysdeps/powerpc/bits/atomic.h
26895         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
26897 2014-11-24  Sterling Augustine  <saugustine@google.com>
26899         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
26901 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
26903         [BZ #17608]
26904         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
26906 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
26908         [BZ #17633]
26909         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
26910         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
26911         variable.
26912         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
26913         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
26915 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
26917         * string/strncpy.c (strncpy): Improve performance by using memset.
26919 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
26921         * string/strcpy.c (strcpy):
26922         Improve performance by using strlen and memcpy.
26924 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
26926         * string/strcoll_l.c (get_next_seq): __always_inline.
26927         * string/strcoll_l.c (do_compare): __always_inline.
26929 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
26931         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
26932         defined.
26933         * include/mqueue.h: Likewise.
26934         * include/stdlib.h: Likewise.
26936         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
26937         (get_null_defines): Adjust.
26938         * sunrpc/Makefile: Adjust comment.
26939         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
26940         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
26941         (CFLAGS-interp.c): Likewise.
26942         (CFLAGS-ldconfig.c): Likewise.
26943         (CPPFLAGS-.os): Likewise.
26944         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
26945         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
26946         * extra-modules.mk (extra-modules.mk): Likewise.
26947         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
26948         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
26949         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
26950         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
26951         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
26952         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
26953         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
26954         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
26955         * iconvdata/Makefile (CPPFLAGS): Likewise.
26956         (cpp-srcs-left): Add libof for all iconvdata routines.
26957         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
26958         * include/assert.h: Likewise.
26959         * include/ctype.h: Likewise.
26960         * include/errno.h: Likewise.
26961         * include/libc-symbols.h: Likewise.
26962         * include/math.h: Likewise.
26963         * include/netdb.h: Likewise.
26964         * include/resolv.h: Likewise.
26965         * include/stdio.h: Likewise.
26966         * include/stdlib.h: Likewise.
26967         * include/string.h: Likewise.
26968         * include/sys/stat.h: Likewise.
26969         * include/wctype.h: Likewise.
26970         * intl/l10nflist.c: Likewise.
26971         * libidn/idn-stub.c: Likewise.
26972         * libio/libioP.h: Likewise.
26973         * nptl/libc_multiple_threads.c: Likewise.
26974         * nptl/pthreadP.h: Likewise.
26975         * posix/regex_internal.h: Likewise.
26976         * resolv/res_hconf.c: Likewise.
26977         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
26978         * sysdeps/arm/memmove.S: Likewise.
26979         * sysdeps/arm/sysdep.h: Likewise.
26980         * sysdeps/generic/_itoa.h: Likewise.
26981         * sysdeps/generic/symbol-hacks.h: Likewise.
26982         * sysdeps/gnu/errlist.awk: Likewise.
26983         * sysdeps/gnu/errlist.c: Likewise.
26984         * sysdeps/i386/i586/memcpy.S: Likewise.
26985         * sysdeps/i386/i586/memset.S: Likewise.
26986         * sysdeps/i386/i686/memcpy.S: Likewise.
26987         * sysdeps/i386/i686/memmove.S: Likewise.
26988         * sysdeps/i386/i686/mempcpy.S: Likewise.
26989         * sysdeps/i386/i686/memset.S: Likewise.
26990         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
26991         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
26992         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
26993         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
26994         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
26995         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
26996         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
26997         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
26998         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
26999         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
27000         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
27001         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
27002         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
27003         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
27004         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
27005         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
27006         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
27007         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
27008         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
27009         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
27010         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
27011         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
27012         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
27013         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
27014         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
27015         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
27016         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
27017         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
27018         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
27019         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
27020         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
27021         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
27022         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
27023         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27024         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
27025         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
27026         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
27027         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
27028         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
27029         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
27030         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
27031         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
27032         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
27033         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
27034         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
27035         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
27036         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
27037         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
27038         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
27039         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
27040         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
27041         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
27042         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
27043         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
27044         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
27045         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
27046         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
27047         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
27048         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
27049         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
27050         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
27051         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
27052         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
27053         * sysdeps/nptl/bits/libc-lock.h: Likewise.
27054         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
27055         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
27056         * sysdeps/posix/closedir.c: Likewise.
27057         * sysdeps/posix/opendir.c: Likewise.
27058         * sysdeps/posix/readdir.c: Likewise.
27059         * sysdeps/posix/rewinddir.c: Likewise.
27060         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
27061         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
27062         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
27063         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
27064         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
27065         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
27066         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
27067         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
27068         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
27069         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
27070         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
27071         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
27072         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
27073         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
27074         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
27075         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
27076         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
27077         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
27078         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
27079         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
27080         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
27081         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
27082         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
27083         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
27084         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
27085         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
27086         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
27087         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
27088         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
27089         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
27090         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
27091         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
27092         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
27093         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
27094         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
27095         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
27096         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
27097         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
27098         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
27099         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
27100         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
27101         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
27102         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
27103         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
27104         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
27105         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
27106         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
27107         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
27108         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
27109         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
27110         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
27111         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
27112         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
27113         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
27114         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
27115         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
27116         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
27117         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
27118         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
27119         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
27120         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
27121         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
27122         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
27123         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
27124         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
27125         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
27126         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
27127         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
27128         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
27129         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
27130         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
27131         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
27132         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
27133         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
27134         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
27135         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
27136         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
27137         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
27138         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
27139         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
27140         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
27141         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
27142         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
27143         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
27144         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
27145         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
27146         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
27147         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
27148         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
27149         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
27150         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
27151         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
27152         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
27153         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
27154         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
27155         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
27156         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
27157         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
27158         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
27159         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
27160         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27161         * sysdeps/unix/alpha/sysdep.S: Likewise.
27162         * sysdeps/unix/alpha/sysdep.h: Likewise.
27163         * sysdeps/unix/make-syscalls.sh: Likewise.
27164         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
27165         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
27166         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
27167         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
27168         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
27169         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
27170         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
27171         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
27172         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
27173         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
27174         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
27175         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
27176         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
27177         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
27178         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
27179         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
27180         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
27181         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
27182         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
27183         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
27184         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
27185         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
27186         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
27187         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
27188         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
27189         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
27190         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
27191         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
27192         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
27193         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
27194         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
27195         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
27196         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
27197         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
27198         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
27199         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
27200         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
27201         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
27202         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
27203         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
27204         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
27205         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
27206         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
27207         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
27208         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
27209         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
27210         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
27211         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
27212         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
27213         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27214         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
27215         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
27216         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
27217         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
27218         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
27219         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
27220         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
27221         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
27222         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
27223         * sysdeps/x86_64/memcpy.S: Likewise.
27224         * sysdeps/x86_64/memmove.c: Likewise.
27225         * sysdeps/x86_64/memset.S: Likewise.
27226         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
27227         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
27228         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
27229         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
27230         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
27231         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
27232         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
27233         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
27234         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
27235         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
27236         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
27237         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
27238         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
27239         * sysdeps/x86_64/multiarch/memset.S: Likewise.
27240         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
27241         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
27242         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
27243         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
27244         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
27245         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
27246         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
27247         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
27248         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
27249         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
27250         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
27251         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
27252         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
27253         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
27254         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
27255         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
27256         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
27257         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
27258         * sysdeps/x86_64/strcmp.S: Likewise.
27260         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
27262         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
27263         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
27264         * elf/rtld-Rules: Likewise.
27265         * elf/setup-vdso.h: Likewise.
27266         * include/assert.h: Likewise.
27267         * include/bits/stdlib-float.h: Likewise.
27268         * include/errno.h: Likewise.
27269         * include/sys/stat.h: Likewise.
27270         * include/unistd.h: Likewise.
27271         * sysdeps/aarch64/setjmp.S: Likewise.
27272         * sysdeps/alpha/setjmp.S: Likewise.
27273         * sysdeps/arm/__longjmp.S: Likewise.
27274         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
27275         * sysdeps/arm/setjmp.S: Likewise.
27276         * sysdeps/arm/sysdep.h: Likewise.
27277         * sysdeps/generic/_itoa.h: Likewise.
27278         * sysdeps/generic/dl-sysdep.h: Likewise.
27279         * sysdeps/generic/ldsodefs.h: Likewise.
27280         * sysdeps/i386/dl-tls.h: Likewise.
27281         * sysdeps/i386/setjmp.S: Likewise.
27282         * sysdeps/m68k/setjmp.c: Likewise.
27283         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
27284         * sysdeps/mach/hurd/opendir.c: Likewise.
27285         * sysdeps/posix/getcwd.c: Likewise.
27286         * sysdeps/posix/opendir.c: Likewise.
27287         * sysdeps/posix/profil.c: Likewise.
27288         * sysdeps/powerpc/dl-procinfo.h: Likewise.
27289         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
27290         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
27291         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
27292         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
27293         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
27294         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
27295         * sysdeps/s390/dl-tls.h: Likewise.
27296         * sysdeps/s390/s390-32/setjmp.S: Likewise.
27297         * sysdeps/s390/s390-64/setjmp.S: Likewise.
27298         * sysdeps/sh/sh3/setjmp.S: Likewise.
27299         * sysdeps/sh/sh4/setjmp.S: Likewise.
27300         * sysdeps/unix/alpha/sysdep.h: Likewise.
27301         * sysdeps/unix/arm/sysdep.S: Likewise.
27302         * sysdeps/unix/i386/sysdep.S: Likewise.
27303         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
27304         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
27305         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
27306         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
27307         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
27308         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
27309         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
27310         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
27311         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
27312         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
27313         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
27314         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
27315         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
27316         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
27317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27318         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
27319         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
27320         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
27321         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
27322         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
27323         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
27324         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
27325         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27326         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
27327         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
27328         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
27329         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
27330         * sysdeps/unix/x86_64/sysdep.S: Likewise.
27331         * sysdeps/x86_64/setjmp.S: Likewise.
27333         * include/math.h: Use IS_IN instead of IS_IN_libm.
27334         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
27335         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
27336         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
27337         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
27338         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
27339         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
27340         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
27341         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
27342         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
27343         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
27344         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
27345         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
27346         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
27347         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
27348         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
27349         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
27350         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
27351         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
27352         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
27353         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
27354         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
27355         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
27356         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
27357         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
27358         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
27359         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
27360         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
27361         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
27362         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
27363         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
27364         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
27365         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
27366         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
27367         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
27368         Likewise.
27369         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
27370         Likewise.
27371         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
27372         Likewise.
27373         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
27374         Likewise.
27375         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
27376         Likewise.
27377         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
27378         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
27379         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
27380         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
27381         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
27382         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
27383         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
27384         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
27385         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
27386         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
27387         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
27388         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
27389         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
27390         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
27391         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
27392         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
27393         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
27394         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
27395         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
27396         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
27397         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
27398         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
27399         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
27400         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
27401         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
27402         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
27403         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
27405         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
27406         * nptl/pthreadP.h: Likewise.
27407         * nptl_db/structs.def: Likewise.
27408         * sysdeps/arm/sysdep.h: Likewise.
27409         * sysdeps/nptl/bits/libc-lock.h: Likewise.
27410         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
27411         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
27412         * sysdeps/unix/alpha/sysdep.h: Likewise.
27413         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
27414         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
27415         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
27416         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
27417         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
27418         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
27419         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
27420         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
27421         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
27422         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
27423         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
27424         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
27425         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
27426         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
27427         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
27428         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
27429         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
27430         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
27431         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
27432         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
27433         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
27434         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
27435         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
27436         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
27437         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
27438         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
27440         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
27441         * nptl/pthreadP.h: Likewise.
27442         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
27443         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
27444         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
27445         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
27446         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
27447         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
27448         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
27449         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
27450         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
27451         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
27452         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
27453         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
27454         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
27455         Likewise.
27456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
27457         Likewise.
27458         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
27459         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
27460         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
27461         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
27462         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
27463         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
27464         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
27465         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
27467         * dlfcn/dladdr.c: Use IS_IN.
27468         * dlfcn/dladdr1.c: Likewise.
27469         * dlfcn/dlclose.c: Likewise.
27470         * dlfcn/dlerror.c: Likewise.
27471         * dlfcn/dlinfo.c: Likewise.
27472         * dlfcn/dlmopen.c: Likewise.
27473         * dlfcn/dlopen.c: Likewise.
27474         * dlfcn/dlsym.c: Likewise.
27475         * dlfcn/dlvsym.c: Likewise.
27477         * include/ifaddrs.h: Use IS_IN.
27478         * inet/check_pf.c: Likewise.
27479         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
27480         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
27482         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
27483         IS_IN_ldconfig.
27484         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
27485         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
27487         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
27488         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
27489         IS_IN (libc).
27491         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
27493         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
27494         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
27495         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
27496         * include/libc-symbols.h (IS_IN_LIB): New macro.
27497         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
27498         * include/netdb.h: Likewise.
27499         * include/stap-probe.h: Remove all uses of IN_LIB.
27501         * Makeconfig (module-cppflags-real): Define MODULE_NAME
27502         instead of IN_MODULE.
27503         * include/libc-symbols.h (IN_MODULE): Define using
27504         MODULE_NAME.
27505         (PASTE_NAME, PASTE_NAME1): New macros.
27506         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
27507         of IN_LIB.
27508         (STAP_PROBE_ASM): Likewise.
27510 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27512         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
27513         __mach_init in dlopened libc.
27515 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
27517         * sysdeps/arm/preconfigure.ac: Delete EABI check.
27518         * sysdeps/arm/preconfigure: Regenerate.
27520 2014-11-21  Roland McGrath  <roland@hack.frob.com>
27522         * nptl/pthread_create.c (__pthread_create_2_1): Set
27523         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
27524         when copying values from IATTR into PD.
27526 2014-11-21  Will Newton  <will.newton@linaro.org>
27527             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
27529         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
27530         Refactor inline-asm.  Also add comment.
27532         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
27533         ElfW macro instead of hardcoded Elf64 types.
27534         (la_aarch64_gnu_pltenter): Likewise.
27535         * sysdeps/aarch64/dl-machine.h
27536         (elf_machine_runtime_setup): Use ElfW(Addr).
27538         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
27539         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
27540         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
27541         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
27542         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
27543         (R_AARCH64_TLS_DTPMOD64): Rename to ..
27544         (R_AARCH64_TLS_DTPMOD): This.
27545         (R_AARCH64_TLS_DTPREL64): Rename to ...
27546         (R_AARCH64_TLS_DTPREL): This.
27547         (R_AARCH64_TLS_TPREL64): Rename to ...
27548         (R_AARCH64_TLS_TPREL): This.
27549         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
27550         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
27551         R_AARCH64_TLS_TPREL64.
27552         (elf_machine_rela): Likewise.
27554 2014-11-21  Torvald Riegel  <triegel@redhat.com>
27556         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
27557         by setting it to 0.  64b atomics are not supported currently.
27559 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
27561         [BZ #16469]
27562         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
27563         search domain names.
27565 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
27567         [BZ #16469]
27568         * NEWS: Update.
27569         * resolv/res_query.c (__libc_res_nquerydomain): Retain
27570         trailing dot.
27571         * posix/tst-getaddrinfo5.c: New.
27572         * posix/Makefile (tests): Add it.
27574 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
27576         [BZ #14498]
27577         * NEWS: Fixed.
27578         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
27579         after parsing line but before break_if_match.
27580         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
27581         if there is a protocol mismatch.
27583 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
27585         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
27586         because the potential race is on the user-supplied stream.
27588 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
27590         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
27591         string literal if not passed a buffer.
27592         * manual/job.texi (ctermid): Update reasoning, note deviation
27593         from posix, suggest mtasurace when not passed a buffer, for
27594         future non-preliminary safety notes.
27596 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
27598         * manual/users.texi (cuserid): Fix MT-Safety note for the case
27599         of not passing it a buffer.
27600         Reported by Peng Haitao.
27602 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
27604         * manual/Makefile ($(objpfx)stamp-summary): Require
27605         check-safety.sh to pass.
27606         * manual/check-safety.sh: Wish for verification that every
27607         @deftypefn and @deftypefun is followed by a @safety remark.
27609 2014-11-20  Roland McGrath  <roland@hack.frob.com>
27611         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
27613         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
27614         PTHREAD_CANCEL_ASYNCHRONOUS.
27615         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
27616         send SIGCANCEL.
27618         * nptl/default-sched.h: New file.
27619         * sysdeps/unix/sysv/linux/default-sched.h: New file.
27620         * nptl/pthread_create.c: Include it.
27621         (__pthread_create_2_1): Use collect_default_sched instead of making
27622         Linux syscalls here directly.
27624 2014-11-20  Torvald Riegel  <triegel@redhat.com>
27626         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
27627         __pthread_once): Use C11 atomics.
27629 2014-11-20  Torvald Riegel  <triegel@redhat.com>
27631         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
27633 2014-11-20  Torvald Riegel  <triegel@redhat.com>
27635         * include/atomic.h (__atomic_link_error, __atomic_check_size,
27636         atomic_thread_fence_acquire, atomic_thread_fence_release,
27637         atomic_thread_fence_seq_cst, atomic_load_relaxed,
27638         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
27639         atomic_compare_exchange_weak_relaxed,
27640         atomic_compare_exchange_weak_acquire,
27641         atomic_compare_exchange_weak_release,
27642         atomic_exchange_acquire, atomic_exchange_release,
27643         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
27644         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
27645         atomic_fetch_and_acquire,
27646         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
27648 2014-11-20  Torvald Riegel  <triegel@redhat.com>
27650         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
27651         USE_ATOMIC_COMPILER_BUILTINS): Define.
27652         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
27653         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27654         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
27655         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27656         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
27657         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27658         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
27659         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27660         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
27661         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27662         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
27663         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27664         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
27665         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27666         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
27667         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27668         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
27669         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27670         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
27671         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27672         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
27673         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27674         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
27675         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27676         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
27677         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27678         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
27679         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27680         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
27681         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27682         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
27683         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27684         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
27685         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27686         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
27687         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27688         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
27689         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27690         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
27691         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27693 2014-11-19  Roland McGrath  <roland@hack.frob.com>
27695         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
27696         the sched_priority value here.  It was already checked when the user
27697         called pthread_attr_setschedparam.
27699         * nptl/tst-bad-schedattr.c: New file.
27700         * nptl/Makefile (tests): Add it.
27702 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
27703             Florian Weimer  <fweimer@redhat.com>
27704             Joseph Myers  <joseph@codesourcery.com>
27705             Adam Conrad  <adconrad@0c3.net>
27706             Andreas Schwab  <schwab@suse.de>
27707             Brooks  <bmoses@google.com>
27709         [BZ #17625]
27710         * wordexp-test.c (__dso_handle): Add prototype.
27711         (__register_atfork): Likewise.
27712         (__app_register_atfork): New function.
27713         (registered_forks): New global.
27714         (register_fork): New function.
27715         (test_case): Add 3 new tests for WRDE_CMDSUB.
27716         (main): Call __app_register_atfork.
27717         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
27718         fork count is non-zero fail the test.
27719         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
27720         is set.
27721         (parse_dollars): Remove check for WRDE_NOCMD.
27722         (parse_dquote): Likewise.
27724 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
27726         * Makeconfig (built-modules): List non-library modules to be
27727         built.
27728         (module-cppflags): Include libc-modules.h for
27729         everything except shlib-versions.v.i.
27730         (CPPFLAGS): Use it.
27731         (before-compile): Add libc-modules.h.
27732         ($(common-objpfx)libc-modules.h,
27733         $(common-objpfx)libc-modules.stmp): New targets.
27734         (common-generated): Add libc-modules.h and libc-modules.stmp.
27735         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
27736         * include/libc-symbols.h: Don't include libc-modules.h.
27737         * include/libc-modules.h: Remove file.
27738         * scripts/gen-libc-modules.awk: New script to generate
27739         libc-modules.h.
27740         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
27741         Depend on libc-modules.stmp.
27743         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
27745         * Makeconfig (in-module): Get value of libof set for the
27746         translation unit.
27747         (CPPFLAGS): Use $(in-module).
27748         * Makerules: Don't suffix routine names for nonlib.
27749         * include/libc-modules.h: New file.
27750         * include/libc-symbols.h: Include libc-modules.h
27751         (IS_IN): New macro to replace IS_IN_* macros.
27752         * elf/Makefile: Set libof-* for each routine.
27753         * elf/rtld-Rules: Likewise.
27754         * extra-modules.mk: Likewise.
27755         * iconv/Makefile: Likewise.
27756         * iconvdata/Makefile: Likewise.
27757         * locale/Makefile: Likewise.
27758         * malloc/Makefile: Likewise.
27759         * nss/Makefile: Likewise.
27760         * sysdeps/gnu/Makefile: Likewise.
27761         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
27762         * sysdeps/unix/sysv/linux/Makefile: Likewise.
27763         * sysdeps/s390/s390-64/Makefile: Likewise.
27764         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
27765         CPPFLAGS for nscd instead of nonlib.
27767 2014-11-18  Roland McGrath  <roland@hack.frob.com>
27769         * nptl/createthread.c: New file.
27771         * nptl/createthread.c: Moved ...
27772         * sysdeps/unix/sysv/linux/createthread.c: ... here.
27774         * nptl/createthread.c: Add proper top-line comment.
27775         (do_clone): Folded into ...
27776         (create_thread): ... here.  Take new arguments STOPPED_START and
27777         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
27778         increment __nptl_threads, do event-reporting logic, do
27779         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
27780         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
27781         resource cleanup if sched_setaffinity or sched_setscheduler fails,
27782         just send SIGCANCEL.
27783         * nptl/pthread_create.c: Forward-declare create_thread before
27784         including createthread.c.
27785         (start_thread): Use new macro START_THREAD_DEFN to replace defining
27786         declaration, and new macro START_THREAD_SELF to replace argument.
27787         Remove return statement.
27788         (report_thread_creation): New function.
27789         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
27790         synchronization logic, and __nptl_nthreads increment here, around
27791         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
27792         PD->parent_cancelhandling here, before create_thread.  When
27793         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
27794         __deallocate_stack, and ENOMEM translation here.
27796 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
27798         [BZ #17616]
27799         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
27800         (mptwo): Rename to __mptwo.
27801         (__inv): Use __mptwo instead of mptwo.
27802         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
27803         (mptwo): Rename to __mptwo.
27804         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
27805         of mpone and __mptwo instead of mptwo.
27806         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
27807         instead of mpone.
27808         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
27809         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
27810         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
27811         of mpone and __mptwo instead of mptwo.
27812         (__mpranred): Use __mpone instead of mpone.
27813         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
27814         variable.
27815         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
27816         (test-xfail-ISO99/math.h/linknamespace): Likewise.
27817         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
27818         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
27819         (test-xfail-ISO11/math.h/linknamespace): Likewise.
27820         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
27821         (test-xfail-XPG3/math.h/linknamespace): Likewise.
27822         (test-xfail-XPG4/math.h/linknamespace): Likewise.
27823         (test-xfail-POSIX/math.h/linknamespace): Likewise.
27824         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
27825         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
27826         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
27827         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
27828         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
27829         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
27830         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
27831         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
27832         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
27833         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
27835 2014-11-18  Tom de Vries  <tom@codesoucery.com>
27837         * manual/signal.texi (Primitives Interrupted by Signals): In section,
27838         replace BSD Handler xref with BSD Signal Handling.
27840 2014-11-17  Richard Henderson  <rth@redhat.com>
27842         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
27843         (_FP_PACK_RAW_2): Remove.
27844         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
27845         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
27846         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
27847         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
27848         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
27849         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
27850         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
27851         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
27852         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
27853         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
27854         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
27855         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
27856         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
27857         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
27858         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
27859         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
27861 2014-11-14  Roland McGrath  <roland@hack.frob.com>
27863         * signal/signal.h [__USE_MISC]
27864         (struct sigvec): Remove type.
27865         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
27866         (sigvec): Remove declaration.
27867         * sysdeps/posix/sigvec.c: Moved ...
27868         * signal/sigvec.c: ... here, replacing old file.
27869         (struct sigvec): New type, copied from old signal.h definition.
27870         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
27871         (__sigvec): Convert definition to prototype.
27872         (sigvec): Replace weak_alias with compat_symbol.
27873         * signal/Versions (libc: GLIBC_2.21): New version set.
27874         * include/signal.h: Remove __sigvec declaration.
27875         * sysdeps/unix/bsd/sigvec.c: Remove file.
27876         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
27877         * manual/signal.texi (BSD Handler): Remove subsection.
27878         Move siginterrupt up to ...
27879         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
27880         (Blocking in BSD): Fold subsection into its parent.
27881         * NEWS: Mention sigvec removal.
27883 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
27885         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
27886         (DLA_FMS): Make definition conditional only on [__FMA4__].
27887         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
27888         definition.
27890         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
27891         Make definition conditional only on [PROF].
27892         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
27893         definition.
27894         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
27895         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
27897         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
27898         !__GNUC__].
27899         * include/signal.h (__sigpause): Move declaration above call to
27900         libc_hidden_proto.
27901         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
27902         variable.
27903         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
27904         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
27906 2014-11-14  David S. Miller  <davem@davemloft.net>
27908         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
27909         Define before including <string/memcpy.c> and <string/mempcpy.c>.
27911 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
27913         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
27914         * configure: Regenerated.
27915         * manual/install.texi (Tools for Compilation): Document a
27916         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
27917         compiler verified to work.
27918         * INSTALL: Regenerated.
27920         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
27921         redeclare with asm name.
27922         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
27923         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
27924         including <string.h>.
27925         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
27926         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
27927         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
27928         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
27929         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
27930         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
27931         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
27933 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
27935         * stdlib/strtol.c (__strtol): Use prototype definition.
27937         [BZ #17594]
27938         * stdlib/strtol.c (SYM__): New macro.
27939         (SYM__1): Likewise.
27940         (__strtol): Likewise.
27941         (strtol): Rename to __strtol and define as weak alias of
27942         __strtol.  Use libc_hidden_weak.
27944 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
27946         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
27947         Use numbered labels in inline assembly.
27949 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
27951         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
27952         Add setjmp LIBC_PROBE.
27953         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
27954         Likewise.
27955         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
27956         Add longjmp, longjmp_target LIBC_PROBE.
27957         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
27958         Likewise.
27960 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
27962         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
27963         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
27964         to get rid of unused variable warning.
27966 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
27968         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
27969         Check for unwind_backtrace ==  NULL only in SHARED case.
27970         (__backchain_backtrace): Compile only in SHARED case.
27971         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
27972         Likewise.
27973         (__backchain_backtrace): Declare as static.
27975 2014-11-12  Roland McGrath  <roland@hack.frob.com>
27977         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
27978         (__libc_multiple_threads_ptr): Variable moved ...
27979         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
27981 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
27983         * conform/GlibcConform.pm: New file.
27984         * conform/conformtest.pl: Use GlibcConform module.
27985         * conform/linknamespace.pl: New file.
27986         * conform/list-header-symbols.pl: Likewise.
27987         * conform/Makefile (linknamespace-symlists-base): New variable.
27988         (linknamespace-symlists-tests): Likewise.
27989         (linknamespace-header-base): Likewise.
27990         (linknamespace-header-tests): Likewise.
27991         (tests-special): Add new tests.
27992         ($(linknamespace-symlists-tests)): New rule.
27993         (linknamespace-libs): New variable.
27994         ($(objpfx)symlist-stdlibs): New rule.
27995         ($(linknamespace-header-tests)): Likewise.
27996         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
27997         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
27998         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
27999         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
28000         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
28001         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
28002         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
28003         (test-xfail-ISO/math.h/linknamespace): Likewise.
28004         (test-xfail-ISO/signal.h/linknamespace): Likewise.
28005         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
28006         (test-xfail-ISO/time.h/linknamespace): Likewise.
28007         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
28008         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
28009         (test-xfail-ISO99/math.h/linknamespace): Likewise.
28010         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
28011         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
28012         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
28013         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
28014         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
28015         (test-xfail-ISO11/math.h/linknamespace): Likewise.
28016         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
28017         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
28018         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
28019         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
28020         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
28021         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
28022         (test-xfail-XPG3/math.h/linknamespace): Likewise.
28023         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
28024         (test-xfail-XPG3/search.h/linknamespace): Likewise.
28025         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
28026         (test-xfail-XPG3/time.h/linknamespace): Likewise.
28027         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
28028         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
28029         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
28030         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
28031         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
28032         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
28033         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
28034         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
28035         (test-xfail-XPG4/math.h/linknamespace): Likewise.
28036         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
28037         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
28038         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
28039         (test-xfail-XPG4/search.h/linknamespace): Likewise.
28040         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
28041         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
28042         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
28043         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
28044         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
28045         (test-xfail-XPG4/time.h/linknamespace): Likewise.
28046         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
28047         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
28048         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
28049         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
28050         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
28051         (test-xfail-POSIX/math.h/linknamespace): Likewise.
28052         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
28053         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
28054         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
28055         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
28056         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
28057         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
28058         (test-xfail-POSIX/time.h/linknamespace): Likewise.
28059         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
28060         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
28061         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
28062         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
28063         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
28064         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
28065         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
28066         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
28067         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
28068         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
28069         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
28070         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
28071         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
28072         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
28073         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
28074         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
28075         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
28076         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
28077         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
28078         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
28079         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
28080         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
28081         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
28082         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
28083         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
28084         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
28085         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
28086         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
28087         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
28088         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
28089         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
28090         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
28091         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
28092         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
28093         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
28094         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
28095         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
28096         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
28097         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
28098         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
28099         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
28100         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
28101         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
28102         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
28103         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
28104         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
28105         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
28106         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
28107         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
28108         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
28109         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
28110         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
28111         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
28112         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
28113         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
28114         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
28115         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
28116         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
28117         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
28118         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
28119         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
28120         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
28121         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
28122         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
28123         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
28124         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
28125         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
28126         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
28127         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
28128         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
28129         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
28130         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
28131         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
28132         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
28133         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
28134         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
28135         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
28136         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
28137         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
28138         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
28139         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
28140         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
28141         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
28142         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
28143         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
28144         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
28145         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
28146         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
28147         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
28148         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
28149         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
28150         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
28151         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
28152         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
28153         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
28154         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
28155         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
28156         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
28158         [BZ #17589]
28159         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
28160         of fgets_unlocked.
28162         [BZ #17585]
28163         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
28164         (memmem): Rename to __memmem and define as weak alias of
28165         __memmem.  Use libc_hidden_weak.
28166         (__memmem): Use libc_hidden_def.
28167         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
28168         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
28169         memmem.
28171         [BZ #17582]
28172         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
28173         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
28174         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
28175         and define as weak alias of __fgets_unlocked.  Use
28176         libc_hidden_weak.
28177         (__fgets_unlocked): Use libc_hidden_def.
28178         * include/stdio.h (__fgets_unlocked): Declare.  Use
28179         libc_hidden_proto.
28180         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
28181         __fgets_unlocked instead of fgets_unlocked.
28182         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
28183         (GET_NPROCS_CONF_PARSER): Likewise.
28184         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
28185         (GET_NPROCS_CONF_PARSER): Likewise.
28187         [BZ #17574]
28188         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
28189         weak alias of __wmemset.  Use libc_hidden_weak.
28190         (__wmemset): Use libc_hidden_def.
28191         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
28192         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
28193         of wmemset.
28195         [BZ #17573]
28196         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
28197         with asm name __mempcpy.
28198         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
28200         [BZ #17572]
28201         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
28202         and define as weak alias of __rawmemchr.
28203         (__rawmemchr): Do not define as strong alias of rawmemchr.
28205         [BZ #17571]
28206         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
28207         alias of __qsort_r.
28208         (qsort): Call __qsort_r instead of qsort_r.
28209         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
28210         (__qsort_r): Declare.  Call libc_hidden_proto.
28211         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
28212         instead of qsort_r.
28213         * nscd/gai.c (__qsort_r): Define to qsort_r.
28214         * posix/tst-rfc3484.c (__qsort_r): Likewise.
28215         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
28216         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
28218         [BZ #17570]
28219         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
28220         define as weak alias of __malloc_info.
28222         [BZ #17584]
28223         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
28224         as weak alias of __rewinddir.  Don't use libc_hidden_def.
28225         (__rewinddir): Use libc_hidden_def.
28226         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
28227         as weak alias of __rewinddir.  Don't use libc_hidden_def.
28228         (__rewinddir): Use libc_hidden_def.
28229         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
28230         weak alias of __rewinddir.  Don't use libc_hidden_def.
28231         (__rewinddir): Use libc_hidden_def.
28232         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
28233         (__rewinddir): Use libc_hidden_proto.
28234         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
28235         rewinddir.
28236         (__getcwd): Use __rewinddir instead of rewinddir.
28238         [BZ #17583]
28239         * libio/fileno.c (fileno): Rename to __fileno and define as weak
28240         alias of __fileno.  Use libc_hidden_weak.
28241         (__fileno): Use libc_hidden_def.
28242         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
28243         * libio/ftello.c (ftello): Rename to __ftello and define as weak
28244         alias of __ftello.
28245         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
28246         __ftello.
28247         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
28248         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
28249         libc_hidden_def.
28250         (fread_unlocked): Don't use libc_hidden_ver.
28251         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
28252         and define as weak alias of __fread_unlocked.  Don't use
28253         libc_hidden_def.
28254         (__fread_unlocked): Use libc_hidden_def.
28255         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
28256         (ftello): Don't use libc_hidden_proto.
28257         (__ftello): Declare.  Use libc_hidden_proto.
28258         (fread_unlocked): Don't use libc_hidden_proto.
28259         (__fread_unlocked): Declare.  Use libc_hidden_proto.
28260         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
28261         and __ftello instead of fileno, fread_unlocked and ftello.
28263 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
28265         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
28266         GOT12.
28267         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
28268         Likewise.
28269         (_dl_start_user): Likewise.
28270         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
28272 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
28273             Siddhesh Poyarekar  <siddhesh@redhat.com>
28275         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
28276         Move argv and envp down instead of moving argc up.
28277         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
28279 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
28281         [BZ #17506]
28282         * test-skeleton.c (main): Return successful if one of
28283         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
28284         * string/tst-strcoll-overflow.c: Define expected status.
28286 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
28288         [BZ #17475]
28289         * locale/iso-639.def: Define Bhili and Tulu language codes.
28291 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
28293         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
28295 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
28297         [BZ #17555]
28298         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
28300 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
28302         * configure.ac: Updated check of minimal required version to
28303         2.22.
28304         * manual/install.texi (Tools for Compilation): Updated version
28305         number.
28306         * configure: Regenerated.
28307         * INSTALL: Likewise.
28309 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
28311         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
28312         __tls_get_addr.
28314 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
28316         * include/sys/wait.h (__libc_waitpid): Remove declaration.
28317         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
28318         (__waitpid): Don't define as alias.  Use libc_hidden_def not
28319         libc_hidden_weak.
28320         (waitpid): Define as alias of __waitpid.
28321         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
28322         __waitpid.
28323         (__waitpid): Don't define as alias.  Use libc_hidden_def not
28324         libc_hidden_weak.
28325         (waitpid): Define as alias of __waitpid.
28326         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
28327         __libc_waitpid alias.
28328         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
28329         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
28330         Likewise.
28331         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
28332         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
28333         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
28334         alias.
28335         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
28336         __waitpid.
28337         (__waitpid): Don't define as alias.  Use libc_hidden_def not
28338         libc_hidden_weak.
28339         (waitpid): Define as alias of __waitpid.
28341 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
28343         * manual/llio.texi: Add comment that write safety has been
28344         fixed in Linux.
28346         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
28347         (localplt-build-dso): Add elf/ld.so.
28348         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
28349         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
28350         and free for ld.so.
28351         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
28352         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
28353         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
28354         Likewise.
28355         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
28356         Likewise.
28357         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
28358         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
28359         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
28360         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
28361         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
28362         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
28363         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
28364         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
28365         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
28366         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
28367         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
28369 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
28371         [BZ #14132]
28372         * include/libc-symbols.h (INTUSE): Remove macro.
28373         (INTDEF): Likewise.
28374         (INTVARDEF): Likewise.
28375         (_INTVARDEF): Likewise.
28376         (INTDEF2): Likewise.
28377         (INTVARDEF2): Likewise.
28378         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
28379         rtld_hidden_def instead of INTVARDEF.
28380         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
28381         (_dl_starting_up_internal): Remove declaration.
28382         (_dl_starting_up): Use rtld_hidden_proto.
28383         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
28384         declaration.
28385         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
28386         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
28387         _dl_starting_up.
28388         * elf/dl-writev.h (_dl_writev): Likewise.
28389         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
28390         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
28391         _dl_starting_up_internal.
28393 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28395         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
28396         test-skeleton.c.
28398 2014-11-05  Will Newton  <will.newton@linaro.org>
28400         * benchtests/Makefile: (bench-malloc): Add malloc thread
28401         scalability benchmark.
28402         * benchtests/bench-malloc-threads.c: New file.
28404 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
28406         * sysdeps/aarch64/strchrnul.S: New file.
28408 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28410         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
28411         definition.
28412         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
28413         Likwise.
28414         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
28415         Likewise.
28416         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
28417         Likewise.
28418         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
28419         Likewise.
28420         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
28421         Likewise.
28423 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
28425         * catgets/test-gencat.c: Use test-skeleton.c.
28426         * catgets/tst-catgets.c: Likewise.
28427         * csu/tst-empty.c: Likewise.
28428         * elf/tst-audit2.c: Likewise.
28429         * elf/tst-global1.c: Likewise.
28430         * elf/tst-pathopt.c: Likewise.
28431         * elf/tst-piemod1.c: Likewise.
28432         * elf/tst-tls10.c: Likewise.
28433         * elf/tst-tls11.c: Likewise.
28434         * elf/tst-tls12.c: Likewise.
28435         * gnulib/tst-gcc.c: Likewise.
28436         * iconvdata/tst-e2big.c: Likewise.
28437         * iconvdata/tst-loading.c: Likewise.
28438         * iconv/tst-iconv1.c: Likewise.
28439         * iconv/tst-iconv2.c: Likewise.
28440         * inet/test-inet6_opt.c: Likewise.
28441         * inet/tst-gethnm.c: Likewise.
28442         * inet/tst-network.c: Likewise.
28443         * inet/tst-ntoa.c: Likewise.
28444         * intl/tst-codeset.c: Likewise.
28445         * intl/tst-gettext2.c: Likewise.
28446         * intl/tst-gettext3.c: Likewise.
28447         * intl/tst-ngettext.c: Likewise.
28448         * intl/tst-translit.c: Likewise.
28449         * io/test-stat.c: Likewise.
28450         * libio/test-fmemopen.c: Likewise.
28451         * libio/tst-freopen.c: Likewise.
28452         * libio/tst-sscanf.c: Likewise.
28453         * libio/tst-ungetwc1.c: Likewise.
28454         * libio/tst-ungetwc2.c: Likewise.
28455         * libio/tst-widetext.c: Likewise.
28456         * localedata/tst-ctype.c: Likewise.
28457         * localedata/tst-digits.c: Likewise.
28458         * localedata/tst-leaks.c: Likewise.
28459         * localedata/tst-mbswcs1.c: Likewise.
28460         * localedata/tst-mbswcs2.c: Likewise.
28461         * localedata/tst-mbswcs3.c: Likewise.
28462         * localedata/tst-mbswcs4.c: Likewise.
28463         * localedata/tst-mbswcs5.c: Likewise.
28464         * localedata/tst-setlocale.c: Likewise.
28465         * localedata/tst-trans.c: Likewise.
28466         * localedata/tst-wctype.c: Likewise.
28467         * localedata/tst-xlocale1.c: Likewise.
28468         * login/tst-grantpt.c: Likewise.
28469         * malloc/tst-calloc.c: Likewise.
28470         * malloc/tst-malloc.c: Likewise.
28471         * malloc/tst-mallocstate.c: Likewise.
28472         * malloc/tst-mcheck.c: Likewise.
28473         * malloc/tst-mtrace.c: Likewise.
28474         * malloc/tst-obstack.c: Likewise.
28475         * math/atest-exp2.c: Likewise.
28476         * math/atest-exp.c: Likewise.
28477         * math/atest-sincos.c: Likewise.
28478         * math/test-matherr.c: Likewise.
28479         * math/test-misc.c: Likewise.
28480         * math/test-powl.c: Likewise.
28481         * math/tst-definitions.c: Likewise.
28482         * misc/tst-dirname.c: Likewise.
28483         * misc/tst-efgcvt.c: Likewise.
28484         * misc/tst-fdset.c: Likewise.
28485         * misc/tst-hsearch.c: Likewise.
28486         * misc/tst-mntent2.c: Likewise.
28487         * nptl/tst-sem7.c: Likewise.
28488         * nptl/tst-sem8.c: Likewise.
28489         * nptl/tst-sem9.c: Likewise.
28490         * nss/test-netdb.c: Likewise.
28491         * posix/tst-fnmatch.c: Likewise.
28492         * posix/tst-getlogin.c: Likewise.
28493         * posix/tst-gnuglob.c: Likewise.
28494         * posix/tst-mmap.c: Likewise.
28495         * pwd/tst-getpw.c: Likewise.
28496         * resolv/tst-inet_ntop.c: Likewise.
28497         * rt/tst-timer.c: Likewise.
28498         * stdio-common/test-fseek.c: Likewise.
28499         * stdio-common/test-popen.c: Likewise.
28500         * stdio-common/test-vfprintf.c: Likewise.
28501         * stdio-common/tst-cookie.c: Likewise.
28502         * stdio-common/tst-fileno.c: Likewise.
28503         * stdio-common/tst-gets.c: Likewise.
28504         * stdio-common/tst-obprintf.c: Likewise.
28505         * stdio-common/tst-perror.c: Likewise.
28506         * stdio-common/tst-sprintf2.c: Likewise.
28507         * stdio-common/tst-sprintf3.c: Likewise.
28508         * stdio-common/tst-sprintf.c: Likewise.
28509         * stdio-common/tst-swprintf.c: Likewise.
28510         * stdio-common/tst-tmpnam.c: Likewise.
28511         * stdio-common/tst-unbputc.c: Likewise.
28512         * stdio-common/tst-wc-printf.c: Likewise.
28513         * stdlib/tst-environ.c: Likewise.
28514         * stdlib/tst-fmtmsg.c: Likewise.
28515         * stdlib/tst-limits.c: Likewise.
28516         * stdlib/tst-rand48-2.c: Likewise.
28517         * stdlib/tst-rand48.c: Likewise.
28518         * stdlib/tst-random2.c: Likewise.
28519         * stdlib/tst-random.c: Likewise.
28520         * stdlib/tst-strtol.c: Likewise.
28521         * stdlib/tst-strtoll.c: Likewise.
28522         * stdlib/tst-tls-atexit.c: Likewise.
28523         * stdlib/tst-xpg-basename.c: Likewise.
28524         * string/test-ffs.c: Likewise.
28525         * string/tst-bswap.c: Likewise.
28526         * string/tst-inlcall.c: Likewise.
28527         * string/tst-strtok.c: Likewise.
28528         * string/tst-strxfrm.c: Likewise.
28529         * sysdeps/x86_64/tst-audit10.c: Likewise.
28530         * sysdeps/x86_64/tst-audit3.c: Likewise.
28531         * sysdeps/x86_64/tst-audit4.c: Likewise.
28532         * sysdeps/x86_64/tst-audit5.c: Likewise.
28533         * time/tst-ftime_l.c: Likewise.
28534         * time/tst-getdate.c: Likewise.
28535         * time/tst-mktime3.c: Likewise.
28536         * time/tst-mktime.c: Likewise.
28537         * time/tst-posixtz.c: Likewise.
28538         * time/tst-strptime2.c: Likewise.
28539         * time/tst-strptime3.c: Likewise.
28540         * wcsmbs/tst-btowc.c: Likewise.
28541         * wcsmbs/tst-mbrtowc.c: Likewise.
28542         * wcsmbs/tst-mbsrtowcs.c: Likewise.
28543         * wcsmbs/tst-wchar-h.c: Likewise.
28544         * wcsmbs/tst-wcpncpy.c: Likewise.
28545         * wcsmbs/tst-wcrtomb.c: Likewise.
28546         * wcsmbs/tst-wcsnlen.c: Likewise.
28547         * wcsmbs/tst-wcstof.c: Likewise.
28549 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
28551         [BZ #14132]
28552         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
28553         INTDEF.
28554         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
28555         declaration.
28556         (_dl_mcount): Use rtld_hidden_proto.
28557         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
28558         _dl_mcount.
28559         * elf/rtld.c (_rtld_global_ro): Likewise.
28561         [BZ #14132]
28562         * elf/dl-init.c (_dl_init): Don't use INTDEF.
28563         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
28564         of _dl_init_internal.
28565         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
28566         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
28567         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
28568         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
28569         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
28570         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
28571         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
28572         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
28573         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
28574         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
28575         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
28576         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
28577         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
28578         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
28579         * sysdeps/tile/dl-start.S (_start): Likewise.
28580         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
28581         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
28583         [BZ #14132]
28584         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
28585         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
28586         (rtld_progname): Make macro definition unconditional.
28587         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
28588         INTDEF.
28589         (dlmopen_doit): Do not use INTUSE with _dl_argv.
28590         (dl_main): Likewise.
28591         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
28592         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
28593         instead of _dl_argv_internal.
28594         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
28595         __GI__dl_argv instead of INTUSE(_dl_argv).
28596         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
28597         __GI__dl_argv instead of _dl_argv_internal.
28599         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
28600         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
28601         macro.
28602         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
28603         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
28604         New macro.
28605         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
28606         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
28607         macro.
28608         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
28609         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
28611 2014-11-04  Andreas Schwab  <schwab@suse.de>
28613         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
28615 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28617         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
28618         mtvsrd instruction in binary form.
28620 2014-11-03  Andreas Schwab  <schwab@suse.de>
28622         [BZ #17522]
28623         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
28624         for less than MB_LEN_MAX use a local buffer of that size.
28625         * libio/tst-fputws.c: New file.
28626         * libio/Makefile (tests): Add tst-fputws.
28628 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
28630         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
28631         the size of the fpu_fr.fpu_dregs[] array.
28633 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
28635         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
28636         (__nanosleep): Do not define as alias.
28637         (nanosleep): Define as alias of __nanosleep.
28638         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
28639         __libc_nanosleep name.
28641 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
28643         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
28644         install.texi in comment.
28646 2014-10-31  Torvald Riegel  <triegel@redhat.com>
28648         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
28649         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
28650         ... add here and use lwsync or sync ...
28651         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
28652         ... and add here using lwsync.
28654 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
28656         * elf/dl-machine-reject-phdr.h: New file.
28657         * elf/dl-load.c: #include that.
28658         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
28659         if that returned true.
28661 2014-10-31  Roland McGrath  <roland@hack.frob.com>
28663         [BZ #17496]
28664         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
28665         gen-as-const-headers chunk.  Add a big scare comment after the last
28666         safe place to touch before-compile.
28668 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
28670         * manual/install.texi (Tools for Compilation): Update autoconf
28671         version requirements.
28672         * INSTALL: Regenerated.
28674         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
28675         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
28676         (__libc_pselect): Likewise.
28678         [BZ #14138]
28679         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
28680         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
28681         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
28682         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
28684 2014-10-31  Torvald Riegel  <triegel@redhat.com>
28686         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
28687         correct barrier instruction.
28688         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
28689         Likewise.
28690         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
28691         Likewise.
28693 2014-10-30  Roland McGrath  <roland@hack.frob.com>
28695         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
28696         after defining inlines.  Instead, just use parens to defeat macro
28697         expansion of __isctype in its declaration.
28699 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
28701         * include/sys/uio.h (__libc_readv): Remove declaration.
28702         (__libc_writev): Likewise.
28703         * misc/readv.c (__libc_readv): Rename to __readv.
28704         (__readv): Do not define as alias.
28705         (readv): Define as alias of __readv.
28706         * misc/writev.c (__libc_writev): Rename to __writev.
28707         (__writev): Do not define as alias.
28708         (writev): Define as alias of __writev.
28709         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
28710         (__readv): Do not define as alias.
28711         (readv): Define unconditionally as alias of __readv.
28712         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
28713         (__writev): Do not define as alias.
28714         (writev): Define unconditionally as alias of __writev.
28715         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
28716         name.
28717         (writev): Do not define __libc_writev name.
28719 2014-10-30  Roland McGrath  <roland@hack.frob.com>
28721         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
28722         (convert_charseq): New function, broken out of ...
28723         (use_from_charmap): ... here.  Call it.
28724         (use_to_charmap): Use convert_charseq and free instead of duplicating
28725         its code with a variable-length stack struct.
28727 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
28729         * include/fcntl.h (__libc_creat): Remove declaration.
28730         * io/creat.c (__libc_creat): Rename to creat.
28731         (creat): Do not define as alias.
28732         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
28733         of creat instead of __libc_creat.
28734         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
28735         to creat.
28736         (creat): Do not define as alias.
28737         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
28738         __libc_creat.
28739         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
28740         __libc_creat name.
28741         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
28742         Likewise.
28744 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
28746         * manual/llio.texi: Add comments discussing why write() may be
28747         considered MT-unsafe on Linux.
28749 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
28751         * dl-load.c (local_strdup): Remove.
28752         (expand_dynamic_string_token): Use __strdup.
28753         (decompose_rpath): Likewise.
28754         (_dl_map_object): Likewise.
28756 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
28758         [BZ #14132]
28759         * sysdeps/generic/unwind-dw2-fde.c
28760         (__register_frame_info_bases_internal): Do not declare.
28761         (__register_frame_info_table_bases_internal): Likewise.
28762         (__deregister_frame_info_bases_internal): Likewise.
28763         (__register_frame_info_bases): Declare and use hidden_proto before
28764         definition.  Use hidden_def instead of INTDEF.
28765         (__register_frame_info_table_bases): Likewise.
28766         (__deregister_frame_info_bases): Likewise.
28767         (__register_frame_info): Do not use INTUSE.
28768         (__register_frame): Likewise.
28769         (__register_frame_info_table): Likewise.
28770         (__register_frame_table): Likewise.
28771         (__deregister_frame_info): Likewise.
28772         (__deregister_frame): Likewise.
28774 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
28776         * sysdeps/unix/sysv/linux/arm/kernel-features.h
28777         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
28778         not undefine.
28779         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
28780         Likewise.
28781         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
28782         Likewise.
28784 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
28786         [BZ #14138]
28787         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
28788         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
28789         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
28790         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
28791         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
28792         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
28793         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
28794         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
28795         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
28796         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
28797         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
28798         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
28799         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
28800         syscall.
28801         (setfsuid): Likewise.
28802         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
28803         (setfsuid): Likewise.
28804         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
28805         (setfsuid): Likewise.
28806         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
28807         Likewise.
28808         (setfsuid): Likewise.
28809         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
28810         (setfsuid): Likewise.
28811         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
28812         Likewise.
28813         (setfsuid): Likewise.
28815 2014-10-27  Andreas Schwab  <schwab@suse.de>
28817         [BZ #17501]
28818         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
28819         check for Slow_SSE4_2 feature bit.
28820         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
28821         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
28822         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
28823         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
28825 2014-10-24  Roland McGrath  <roland@hack.frob.com>
28827         * configure.ac: Validate compiler version with a empirical test of
28828         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
28829         $CC -v output.
28830         * configure: Regenerated.
28832         * inet/htons.c (htons): Prototypify.
28833         * inet/htonl.c (htonl): Likewise.
28835 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
28837         * string/strncat.c (strncat): Improve performance by using strlen.
28839 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
28841         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
28843 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
28845         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
28846         Call libc_fetestexcept_aarch64.
28848 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
28850         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
28851         Call libc_feholdexcept_aarch64.
28853 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
28855         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
28856         Call get_rounding_mode.
28858 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
28860         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
28861         Simplify logic.
28863 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
28865         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
28866         Simplify logic.
28868 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
28870         [BZ #14138]
28871         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
28872         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
28873         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
28874         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
28875         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
28876         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
28877         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
28878         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
28879         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
28880         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
28881         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
28882         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
28883         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
28884         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
28885         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
28886         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
28887         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
28888         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
28889         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
28890         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
28891         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
28892         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
28893         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
28894         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
28895         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
28896         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
28897         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
28898         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
28899         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
28900         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
28901         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
28902         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
28903         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
28904         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
28905         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
28906         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
28907         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
28908         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
28909         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
28910         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
28911         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
28912         syscall.
28913         (geteuid): Likewise.
28914         (getgid): Likewise.
28915         (getuid): Likewise.
28916         (getresgid): Likewise.
28917         (getresuid): Likewise.
28918         (getgroups): Likewise.
28919         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
28920         (geteuid): Likewise.
28921         (getgid): Likewise.
28922         (getuid): Likewise.
28923         (getresgid): Likewise.
28924         (getresuid): Likewise.
28925         (getgroups): Likewise.
28926         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
28927         (geteuid): Likewise.
28928         (getgid): Likewise.
28929         (getuid): Likewise.
28930         (getresgid): Likewise.
28931         (getresuid): Likewise.
28932         (getgroups): Likewise.
28933         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
28934         Likewise.
28935         (geteuid): Likewise.
28936         (getgid): Likewise.
28937         (getuid): Likewise.
28938         (getresgid): Likewise.
28939         (getresuid): Likewise.
28940         (getgroups): Likewise.
28941         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
28942         (geteuid): Likewise.
28943         (getgid): Likewise.
28944         (getuid): Likewise.
28945         (getresgid): Likewise.
28946         (getresuid): Likewise.
28947         (getgroups): Likewise.
28948         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
28949         Likewise.
28950         (geteuid): Likewise.
28951         (getgid): Likewise.
28952         (getuid): Likewise.
28953         (getgroups): Likewise.
28955         [BZ #14138]
28956         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
28957         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
28958         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
28959         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
28960         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
28961         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
28962         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
28963         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
28964         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
28965         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
28966         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
28967         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
28968         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
28969         __chown.
28970         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
28971         (lchown): Likewise.
28972         (fchown): Likewise.
28973         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
28974         Likewise.
28975         (lchown): Likewise.
28976         (fchown): Likewise.
28977         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
28978         (lchown): Likewise.
28979         (fchown): Likewise.
28980         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
28981         Likewise.
28982         (lchown): Likewise.
28983         (fchown): Likewise.
28985 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
28987         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
28988         Simplify logic.
28990 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
28992         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
28993         Cleanup logic.
28995 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
28997         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
28998         Remove unused include.
29000 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
29002         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
29003         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
29004         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
29005         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
29007 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
29008             Helge Deller <deller@gmx.de>
29010         [BZ #17508]
29011         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
29012         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
29013         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
29015 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
29017         [BZ #14132]
29018         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
29019         Remove macro definition.
29020         (__ashrdi3_v_glibc20): Likewise.
29021         (__lshrdi3_v_glibc20): Likewise.
29022         (__cmpdi2_v_glibc20): Likewise.
29023         (__ucmpdi2_v_glibc20): Likewise.
29024         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
29025         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
29026         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
29027         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
29028         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
29029         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
29031 2014-10-22  Roland McGrath  <roland@hack.frob.com>
29033         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
29034         old GNU extension [0] syntax.
29035         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
29036         alloca rather than an array member with variable length.
29037         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
29038         * nscd/nscd.c (invalidate_db): New function, broken out of ...
29039         (parse_opt): ... here.  Likewise use alloca there.
29040         Validate the -i argument before checking for rootness.
29041         (send_shutdown): New function, broken out of ...
29042         (parse_opt): ... here.
29044 2014-10-22  Roland McGrath  <roland@hack.frob.com>
29046         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
29047         macro to get at the _rt_local_ro field.
29048         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
29049         ([PIC] case) or _dl_hwcap ([!PIC] case).
29050         * sysdeps/arm/setjmp.S: Likewise.
29052         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
29053         * sysdeps/arm/configure.ac: New check to define it.
29054         * sysdeps/arm/configure: Regenerated.
29055         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
29056         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
29057         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
29058         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
29059         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
29060         Use move/movt pair instead of a load.
29061         (LDST_GLOBAL): Macro removed.
29062         (LDR_GLOBAL): New macro replaces it.
29063         (LDR_HIDDEN): New macro.
29064         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
29065         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
29067         * setjmp/tst-setjmp-static.c: New file.
29068         * setjmp/Makefile (tests): Add it.
29069         (tests-static): New variable.
29071 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
29073         [BZ #17485]
29074         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
29076 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
29078         [BZ #14132]
29079         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
29081 2014-10-21  Roland McGrath  <roland@hack.frob.com>
29083         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
29085 2014-10-20  Roland McGrath  <roland@hack.frob.com>
29087         * io/fts.c (dirent_not_directory): New function.
29088         (fts_build): Call it.
29090 2014-10-20  Roland McGrath  <roland@hack.frob.com>
29092         * nptl/version.c (__nptl_main): Use normal __write rather than
29093         INTERNAL_SYSCALL.
29094         (banner): Update copyright years.
29096         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
29097         gettimeofday.
29098         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
29099         * nptl/pthread_cond_timedwait.c: Likewise.
29100         * nptl/pthread_mutex_timedlock.c: Likewise.
29101         * nptl/sem_timedwait.c: Likewise.
29103         * sysdeps/nptl/bits/libc-lock.h
29104         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
29105         (__libc_lock_init_recursive): Return void, not 0.
29106         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
29107         (__libc_rwlock_init): Likewise.
29108         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
29110 2014-10-20  Torvald Riegel  <triegel@redhat.com>
29112         [BZ #15215]
29113         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
29114         (__pthread_once_slow): ... here.
29115         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
29116         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
29118 2014-10-20  Torvald Riegel  <triegel@redhat.com>
29120         [BZ #15215]
29121         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
29122         __PTHREAD_ONCE_FORK_GEN_INCR): New.
29123         * sysdeps/nptl/fork.c (__libc_fork): Use them.
29124         * nptl/pthread_once.c (__pthread_once): Likewise.
29125         Update comments.
29127 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
29129         [BZ #14138]
29130         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
29131         name.
29132         (writev): Use __libc_writev as strong name.
29133         * sysdeps/unix/sysv/linux/readv.c: Remove file.
29134         * sysdeps/unix/sysv/linux/writev.c: Likewise.
29136 2014-10-17  Roland McGrath  <roland@hack.frob.com>
29138         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
29140         * sysdeps/i386/nptl/tls.h
29141         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
29142         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
29143         New macros.
29144         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
29145         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
29146         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
29147         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
29148         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
29149         Call CHECK_THREAD_SYSINFO instead of doing an assert.
29151         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
29152         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
29153         on [__NR_futex].
29154         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
29155         broken out of ...
29156         (__pthread_mutex_init): ... here.  Call it.
29157         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
29158         Conditionalize PI cases on [__NR_futex].
29159         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
29160         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
29161         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
29163         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
29164         conditional on [SIGSETXID].
29165         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
29166         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
29167         is defined.  Likewise for SIGSETXID.
29168         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
29169         Conditionalize definitions on [SIGSETXID].
29170         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
29171         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
29172         unblocking on [SIGCANCEL].
29174         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
29175         [__NR_set_robust_list].
29177 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
29179         * string/strcoll_l.c (get_next_seq): Fix up formatting.
29180         (do_compare): Likewise.
29182 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
29184         [BZ #15884]
29185         * string/strcoll_l.c: Don't include stdio.h.
29186         (coll_seq): Remove members idxarr and rulearr.
29187         (get_next_seq_cached): Remove function.
29188         (get_next_seq): Likewise.
29189         (get_next_seq_nocache): Rename to get_next_seq.
29190         (do_compare): Remove function.
29191         (do_compare_nocache): Rename to do_compare.
29192         (STRCOLL): Remove weight and rules cache.
29194 2014-10-16  Roland McGrath  <roland@hack.frob.com>
29196         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
29197         * sysdeps/arm/sfp-machine.h: ... to here.
29198         * sysdeps/arm/Implies: Remove arm/soft-fp.
29200 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
29202         * conform/data/sys/utsname.h-data (*_t): Allow.
29203         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
29204         [POSIX] (WEXITED): Do not expect constant.
29205         [POSIX] (WSTOPPED): Likewise.
29206         [POSIX] (WNOHANG): Likewise.
29207         [POSIX] (WNOWAIT): Likewise.
29208         [POSIX] (siginfo_t): Do not expect type or elements.
29209         [POSIX] (pid_t): Do not expect type.
29210         [POSIX] (signal.h): Do not allow header.
29211         [POSIX] (sys/resource.h): Likewise.
29212         [POSIX] (si_*): Do not allow pattern.
29213         [POSIX] (W*): Likewise.
29214         [POSIX] (P_*): Likewise.
29215         [POSIX] (BUS_*): Likewise.
29216         [POSIX] (CLD_*): Likewise.
29217         [POSIX] (FPE_*): Likewise.
29218         [POSIX] (ILL_*): Likewise.
29219         [POSIX] (POLL_*): Likewise.
29220         [POSIX] (SEGV_*): Likewise.
29221         [POSIX] (SI_*): Likewise.
29222         [POSIX] (TRAP_*): Likewise.
29223         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
29224         variable.
29226 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
29228         [BZ #12926]
29229         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
29230         infinite loop when __recvmsg returns 0.
29232 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
29234         * CANCEL-FCT-WAIVE: Remove file.
29235         * CANCEL-FILE-WAIVE: Likewise.
29237         [BZ #14132]
29238         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
29239         instead of INTVARDEF.
29240         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
29241         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
29242         rtld_hidden_data_def instead of INTVARDEF.
29243         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
29244         * elf/dl-deps.c (expand_dst): Likewise.
29245         * elf/dl-load.c (_dl_dst_count): Likewise.
29246         (_dl_dst_substitute): Likewise.
29247         (decompose_rpath): Likewise.
29248         (_dl_init_paths): Likewise.
29249         (open_path): Likewise.
29250         (_dl_map_object): Likewise.
29251         * elf/rtld.c (dl_main): Likewise.
29252         (process_dl_audit): Likewise.
29253         (process_envvars): Likewise.
29254         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
29255         Remove declaration.
29256         (__libc_enable_secure): Use rtld_hidden_proto.
29258 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
29260         * elf/dl-load.c
29261         (add_path): New function broken out of _dl_rtld_di_serinfo.
29262         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
29264 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
29266         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
29267         parentheses around macro arguments.
29268         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
29269         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
29270         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
29271         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
29272         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
29273         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
29274         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
29275         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
29276         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
29277         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
29278         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
29279         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
29280         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
29281         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
29282         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
29283         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
29284         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
29285         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
29286         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
29287         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
29288         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
29289         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
29290         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
29291         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
29292         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
29293         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
29294         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
29295         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
29296         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
29297         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
29298         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
29299         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
29300         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
29301         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
29302         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
29303         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
29304         Likewise.
29305         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
29306         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
29307         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
29308         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
29309         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
29310         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
29311         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
29312         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
29313         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
29314         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
29315         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
29316         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
29317         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
29318         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
29319         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
29320         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
29321         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
29322         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
29323         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
29324         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
29325         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
29326         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
29327         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
29328         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
29329         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
29330         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
29331         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
29332         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
29333         (_FP_FRAC_SRS_1): Likewise.
29334         (_FP_FRAC_CLZ_1): Likewise.
29335         (_FP_MUL_MEAT_1_imm): Likewise.
29336         (_FP_MUL_MEAT_1_wide): Likewise.
29337         (_FP_MUL_MEAT_1_hard): Likewise.
29338         (_FP_SQRT_MEAT_1): Likewise.
29339         (_FP_FRAC_ASSEMBLE_1): Likewise.
29340         (_FP_FRAC_DISASSEMBLE_1): Likewise.
29341         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
29342         (__FP_CLZ_2): Likewise.
29343         (_FP_MUL_MEAT_2_wide): Likewise.
29344         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
29345         (_FP_MUL_MEAT_2_gmp): Likewise.
29346         (_FP_MUL_MEAT_2_120_240_double): Likewise.
29347         (_FP_SQRT_MEAT_2): Likewise.
29348         (_FP_FRAC_ASSEMBLE_2): Likewise.
29349         (_FP_FRAC_DISASSEMBLE_2): Likewise.
29350         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
29351         (_FP_FRAC_CLZ_4): Likewise.
29352         (_FP_MUL_MEAT_4_wide): Likewise.
29353         (_FP_MUL_MEAT_4_gmp): Likewise.
29354         (_FP_SQRT_MEAT_4): Likewise.
29355         (_FP_FRAC_ASSEMBLE_4): Likewise.
29356         (_FP_FRAC_DISASSEMBLE_4): Likewise.
29357         * soft-fp/op-common.h (_FP_CMP): Likewise.
29358         (_FP_CMP_EQ): Likewise.
29359         (_FP_CMP_UNORD): Likewise.
29360         (_FP_TO_INT): Likewise.
29361         (_FP_FROM_INT): Likewise.
29362         [!__FP_CLZ] (__FP_CLZ): Likewise.
29363         (_FP_DIV_HELP_imm): Likewise.
29364         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
29365         Likewise.
29366         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
29367         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
29368         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
29369         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
29370         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
29371         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
29372         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
29373         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
29374         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
29375         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
29376         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
29377         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
29378         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
29379         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
29380         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
29381         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
29382         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
29383         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
29384         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
29385         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
29386         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
29387         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
29388         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
29389         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
29390         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
29391         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
29392         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
29393         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
29394         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
29395         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
29396         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
29397         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
29398         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
29399         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
29400         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
29401         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
29402         (FP_UNPACK_RAW_SP): Likewise.
29403         (FP_PACK_RAW_S): Likewise.
29404         (FP_PACK_RAW_SP): Likewise.
29405         (FP_UNPACK_S): Likewise.
29406         (FP_UNPACK_SP): Likewise.
29407         (FP_UNPACK_SEMIRAW_S): Likewise.
29408         (FP_UNPACK_SEMIRAW_SP): Likewise.
29409         (FP_PACK_S): Likewise.
29410         (FP_PACK_SP): Likewise.
29411         (FP_PACK_SEMIRAW_S): Likewise.
29412         (FP_PACK_SEMIRAW_SP): Likewise.
29413         (_FP_SQRT_MEAT_S): Likewise.
29414         (FP_CMP_S): Likewise.
29415         (FP_CMP_EQ_S): Likewise.
29416         (FP_CMP_UNORD_S): Likewise.
29417         (FP_TO_INT_S): Likewise.
29418         (FP_FROM_INT_S): Likewise.
29420         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
29422         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
29423         (FP_EX_INVALID_IMZ): Likewise.
29424         (FP_EX_INVALID_IMZ_FMA): Likewise.
29425         (FP_EX_INVALID_ISI): Likewise.
29426         (FP_EX_INVALID_ZDZ): Likewise.
29427         (FP_EX_INVALID_IDI): Likewise.
29428         (FP_EX_INVALID_SQRT): Likewise.
29429         (FP_EX_INVALID_CVI): Likewise.
29430         (FP_EX_INVALID_VC): Likewise.
29431         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
29432         "invalid" exceptions.
29433         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
29434         (_FP_ADD_INTERNAL): Likewise.
29435         (_FP_MUL): Likewise.
29436         (_FP_FMA): Likewise.
29437         (_FP_DIV): Likewise.
29438         (_FP_CMP_CHECK_NAN): Likewise.
29439         (_FP_SQRT): Likewise.
29440         (_FP_TO_INT): Likewise.
29441         (FP_EXTEND): Likewise.
29443 2014-10-09  Allan McRae  <allan@archlinux.org>
29445         * po/fr.po: Update French translation from translation project.
29447 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
29449         [BZ #14132]
29450         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
29451         of INTDEF.
29452         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
29453         (__cxa_atexit): Use libc_hidden_proto.
29454         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
29456         [BZ #14132]
29457         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
29458         declaration.
29459         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
29460         [!_ISOMAC] (__iswspace_l_internal): Likewise.
29461         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
29462         [!_ISOMAC] (__iswctype_internal): Likewise.
29463         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
29464         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
29465         alias.
29466         (fcntl): Remove __fcntl_internal alias.
29467         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
29468         __connect_internal alias.
29469         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
29470         Likewise.
29472         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
29473         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
29474         FP_DENORM_ZERO.
29475         (_FP_CHECK_FLUSH_ZERO): New macro.
29476         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
29477         (_FP_CMP): Likewise.
29478         (_FP_CMP_EQ): Likewise.
29479         (_FP_TO_INT): Do not set inexact for subnormal arguments if
29480         FP_DENORM_ZERO.
29481         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
29482         (FP_TRUNC): Likewise.
29484         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
29485         treated as invalid conversion, not as normal exponent.
29487         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
29488         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
29489         (_FP_CMP_EQ): Likewise.
29490         (_FP_CMP_UNORD): Likewise.
29491         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
29492         (FP_CMP_EQ_D): Likewise.
29493         (FP_CMP_UNORD_D): Likewise.
29494         * soft-fp/extended.h (FP_CMP_E): Likewise.
29495         (FP_CMP_EQ_E): Likewise.
29496         (FP_CMP_UNORD_E): Likewise.
29497         * soft-fp/quad.h (FP_CMP_Q): Likewise.
29498         (FP_CMP_EQ_Q): Likewise.
29499         (FP_CMP_UNORD_Q): Likewise.
29500         * soft-fp/single.h (FP_CMP_S): Likewise.
29501         (FP_CMP_EQ_S): Likewise.
29502         (FP_CMP_UNORD_S): Likewise.
29503         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
29504         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
29505         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
29506         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
29507         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
29508         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
29509         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
29510         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
29511         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
29512         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
29513         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
29514         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
29515         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
29516         to FP_CMP_Q.
29517         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
29518         FP_CMP_Q.
29519         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
29520         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
29521         FP_CMP_EQ_Q.
29522         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
29523         FP_CMP_Q.
29524         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
29525         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
29526         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
29527         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
29528         FP_CMP_EQ_Q.
29529         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
29530         FP_CMP_Q.
29531         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
29532         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
29533         FP_CMP_EQ_Q.
29534         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
29535         FP_CMP_Q.
29536         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
29537         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
29538         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
29539         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
29540         FP_CMP_EQ_Q.
29542         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
29543         a subnormal result, set the underflow exception if trapping on
29544         underflow is enabled.
29545         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
29546         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
29547         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
29548         redefine to 0.
29549         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
29550         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
29551         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
29552         * soft-fp/extendxftf2.c (__extendxftf2): Use
29553         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
29555         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
29556         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
29557         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
29558         FP_HANDLE_EXCEPTIONS.
29559         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
29560         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
29561         FP_HANDLE_EXCEPTIONS.
29562         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
29563         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
29564         FP_HANDLE_EXCEPTIONS.
29565         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
29566         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
29567         FP_HANDLE_EXCEPTIONS.
29569 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
29571         [BZ #14132]
29572         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
29573         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
29574         use INTUSE.
29575         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
29576         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
29577         Remove alias.
29578         (__adjtimex): Define using libc_hidden_ver.
29579         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
29580         Remove declaration.
29581         (ntp_gettime): Call __adjtimex directly.
29582         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
29583         Remove declaration.
29584         (ntp_gettimex): Call __adjtimex directly.
29585         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
29586         __adjtimex_internal alias.
29588 2014-10-08  Roland McGrath  <roland@hack.frob.com>
29590         [BZ #17460]
29591         * nscd/nscd.c (more_help): Rewrite list of tables collection
29592         using xstrdup and asprintf.
29594         * nscd/nscd_conf.c: Remove local xstrdup declaration.
29596 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
29597             Roland McGrath  <roland@hack.frob.com>
29599         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
29600         (do_lookup_unique): ... local function 'enter' here; update callers.
29602 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
29604         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
29605         compat_symbol calls on [SHARED].
29606         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
29607         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
29608         Remove.
29609         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
29610         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
29611         (oldsetrlimit): Remove.
29612         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
29613         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
29614         (lchown): New syscall entry.
29615         (oldsetrlimit): Remove.
29616         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
29617         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
29618         (oldsetrlimit): Remove.
29619         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
29621         [BZ #14138]
29622         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
29623         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
29624         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
29625         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
29626         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
29627         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
29628         (fchown): Likewise.
29629         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
29630         (fchown): Likewise.
29631         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
29632         Likewise.
29634 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29636         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
29637         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
29638         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
29639         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
29640         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
29641         Likewise.
29642         (__old_sem_post): Likewise.
29644 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
29646         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
29647         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
29648         HAVE_CLOCK_GETTIME_VSYSCALL macros.
29649         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
29650         Use INLINE_VSYSCALL macro.
29651         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
29652         __vdso_clock_gettime.
29653         * sysdeps/unix/sysv/linux/tile/init-first.c
29654         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
29655         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
29656         __vdso_clock_gettime.
29658         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
29659         to set up frame more cleanly.
29661         * sysdeps/tile/memcmp.c: New file.
29663         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
29665         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
29666         * sysdeps/tile/tilegx/strcasestr.c: New file.
29667         * sysdeps/tile/tilegx/strnlen.c: New file.
29668         * sysdeps/tile/tilegx/strstr.c: New file.
29670         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
29672 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
29674         * nptl/tst-setuid3.c: Write errors to stdout.
29676 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
29678         * elf/dl-deps.c
29679         (preload): New functions broken out of _dl_map_object_deps.
29680         (_dl_map_object_deps):  Remove a nested function. Update call sites.
29682 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
29684         [BZ #14138]
29685         * sysdeps/unix/sysv/linux/execve.c: Remove file.
29686         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
29688 2014-10-01  Steve Ellcey  <sellcey@mips.com>
29690         * sysdeps/mips/strcmp.S: New.
29692 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
29694         [BZ #14138]
29695         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
29696         (linkat): Likewise.
29697         (mkdirat): Likewise.
29698         (readlinkat): Likewise.
29699         (renameat): Likewise.
29700         (symlinkat): Likewise.
29701         (unlinkat): Likewise.
29702         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
29703         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
29704         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
29705         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
29706         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
29707         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
29708         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
29710 2014-09-30  Will Newton  <will.newton@linaro.org>
29712         * math/math.h: Define long double math functions if
29713         _LIBC_TEST is defined.
29714         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
29716         * localedata/Makefile: Move assignment to tests-special
29717         into an ifdef testing run-built-tests.
29718         * timezone/Makefile: Likewise.
29720 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
29722         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
29723         with $(BASH) not $(SHELL).
29725 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
29726             Matthew LeGendre  <legendre1@llnl.gov>
29728         [BZ #17411]
29729         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
29730         l_reloc_result.
29732 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
29734         * stdio-common/printf_fp.c
29735         (hack_digit): New function, broken out of ...
29736         (__printf_fp): ... local function here.  Update call sites.
29737         hack_digit now takes an additional parameter that is a pointer
29738         to a struct of the referenced locals.  Those locals moved inside
29739         the struct and references updated.
29741 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
29743         * aclocal.m4: Require autoconf 2.69.
29744         * configure: Regenerated.
29745         * sysdeps/aarch64/configure: Likewise.
29746         * sysdeps/alpha/configure: Likewise.
29747         * sysdeps/arm/armv7/configure: Likewise.
29748         * sysdeps/arm/configure: Likewise.
29749         * sysdeps/ia64/configure: Likewise.
29750         * sysdeps/mach/configure: Likewise.
29751         * sysdeps/mips/configure: Likewise.
29752         * sysdeps/s390/configure: Likewise.
29753         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
29754         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
29756         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
29757         file.
29758         * sysdeps/ia64/configure.ac: Likewise.
29760 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
29762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
29763         specify symbol version for ld.so.  Do not include entry for
29764         libpthread.
29765         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
29766         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
29767         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
29769         [BZ #14171]
29770         * Makeconfig [$(build-shared) = yes]
29771         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
29772         makefiles.
29773         [$(build-shared) = yes && $(soversions.mk-done) = t]
29774         ($(common-objpfx)gnu/lib-names.h): Remove rule.
29775         [$(build-shared) = yes && $(soversions.mk-done) = t]
29776         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
29777         to Makerules.
29778         [$(build-shared) = yes && $(soversions.mk-done) = t]
29779         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
29780         here.
29781         [$(build-shared) = yes && $(soversions.mk-done) = t]
29782         (common-generated): Don't append gnu/lib-names.h and
29783         gnu/lib-names.stmp here.
29784         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
29785         (lib-names-h-abi): New variable.
29786         [$(build-shared) = yes && $(soversions.mk-done) = t]
29787         (lib-names-stmp-abi): Likewise.
29788         [$(build-shared) = yes && $(soversions.mk-done) = t &&
29789         abi-variants] (before-compile): Append
29790         $(common-objpfx)$(lib-names-h-abi).
29791         [$(build-shared) = yes && $(soversions.mk-done) = t &&
29792         abi-variants] (common-generated): Append gnu/lib-names.h.
29793         [$(build-shared) = yes && $(soversions.mk-done) = t &&
29794         abi-variants] (install-others-nosubdir): Depend on
29795         $(inst_includedir)/$(lib-names-h-abi).
29796         [$(build-shared) = yes && $(soversions.mk-done) = t &&
29797         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
29798         [$(build-shared) = yes && $(soversions.mk-done) = t]
29799         ($(common-objpfx)$(lib-names-h-abi)): New rule.
29800         [$(build-shared) = yes && $(soversions.mk-done) = t]
29801         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
29802         [$(build-shared) = yes && $(soversions.mk-done) = t]
29803         (common-generated): Append $(lib-names-h-abi) and
29804         $(lib-names-stmp-abi).
29805         * scripts/lib-names.awk: Do not handle multi being set.
29806         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
29807         Remove variable.
29808         (abi-lp64_be-ld-soname): Likewise.
29809         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
29810         Likewise.
29811         (abi-hard-ld-soname): Likewise.
29812         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
29813         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
29814         Remove variable.
29815         (abi-o32_hard-ld-soname): Likewise.
29816         (abi-o32_soft_2008-ld-soname): Likewise.
29817         (abi-o32_hard_2008-ld-soname): Likewise.
29818         (abi-n32_soft-ld-soname): Likewise.
29819         (abi-n32_hard-ld-soname): Likewise.
29820         (abi-n32_soft_2008-ld-soname): Likewise.
29821         (abi-n32_hard_2008-ld-soname): Likewise.
29822         (abi-n64_soft-ld-soname): Likewise.
29823         (abi-n64_hard-ld-soname): Likewise.
29824         (abi-n64_soft_2008-ld-soname): Likewise.
29825         (abi-n64_hard_2008-ld-soname): Likewise.
29826         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
29827         Likewise.
29828         (abi-64-v2-ld-soname): Likewise.
29829         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
29830         ld.so entries.
29831         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
29832         variable.
29833         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
29834         entry.
29835         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
29836         variable.
29837         (abi-64-ld-soname): Likewise.
29838         (abi-x32-ld-soname): Likewise.
29839         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
29840         entry.
29841         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
29843 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
29845         [BZ #14138]
29846         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
29847         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
29848         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
29849         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
29850         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
29851         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
29852         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
29853         syscall entry for GLIBC_2.2 symbol version.
29854         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
29855         Likewise.
29856         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
29857         (setrlimit): Likewise.
29858         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
29859         Likewise.
29861 2014-09-23  Will Newton  <will.newton@linaro.org>
29863         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
29864         _LINUX_ARM_SYSDEP_H include guard too.
29865         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
29866         define.
29868 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
29870         * sysdeps/unix/sysv/linux/eventfd.c:
29871         Make first argument unsigned.
29872         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
29873         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
29875 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
29877         [BZ #16852]
29878         * socket/recvmmsg.c (recvmmsg): Drop const argument.
29879         * socket/sys/socket.h: Likewise.
29880         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
29882 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29884         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
29886 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
29888         * time/tst-ftime.c: New test.
29889         * time/Makefile (tests): Add tst-ftime.
29891 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
29893         * soft-fp/extended.h: Fix comment formatting.
29894         * soft-fp/op-1.h: Likewise.
29895         * soft-fp/op-2.h: Likewise.
29896         * soft-fp/op-4.h: Likewise.
29897         * soft-fp/op-8.h: Likewise.
29898         * soft-fp/op-common.h: Likewise.
29899         * soft-fp/soft-fp.h: Likewise.
29901         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
29903 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
29905         [BZ #6652]
29906         * Makeconfig (soversions-default-setname): Remove variable.
29907         ($(common-objpfx)soversions.i): Don't pass default_setname to
29908         soversions.awk.
29909         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
29910         oldest_abi to abi-versions.awk.
29911         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
29912         * config.make.in (oldest-abi): Remove variable.
29913         * configure.ac (--enable-oldest-abi): Remove configure option.
29914         * configure: Regenerated.
29915         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
29916         text.
29917         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
29918         * scripts/soversions.awk: Do not handle default_setname variable.
29919         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
29920         variable.
29921         * sysdeps/mach/hurd/configure: Regenerated.
29922         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
29923         variable.
29924         * sysdeps/unix/sysv/linux/configure: Regenerated.
29926 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
29928         * elf/Makefile (CFLAGS-interp.c): Remove.
29929         ($(elf-objpfx)runtime-linker.h): Generate header with linker
29930         path string.
29931         * elf/interp.c: Include generated runtime-linker.h
29933         * Makerules (lib%.so): Don't include $(+interp) in
29934         prerequisites.
29935         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
29936         * dlfcn/eval.c: Remove file.
29938         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
29939         macros.
29941         [BZ #17266]
29942         * misc/sys/cdefs.h: Define __extern_always_inline for clang
29943         4.2 and newer.
29945         [BZ #17370]
29946         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
29948 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
29949             Jakub Jelinek  <jakub@redhat.com>
29951         [BZ #17266]
29952         * libio/stdio.h: Check definition of __fortify_function
29953         instead of __extern_always_inline to include bits/stdio2.h.
29954         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
29955         check if __extern_always_inline is defined.
29956         [__USE_MISC || __USE_XOPEN]: Likewise.
29957         [__USE_ISOC99] Likewise.
29958         * misc/sys/cdefs.h (__fortify_function): Define only if
29959         __extern_always_inline is defined.
29960         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
29961         __extern_always_inline and __extern_inline only for g++-4.3
29962         and newer or a compatible gcc.
29964 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
29966         [BZ #17371]
29967         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
29968         last change to handle zero prefix length.
29970 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
29972         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
29973         _SC_REGEX_VERSION.
29975         * posix/getconf.c (vars): Add _POSIX_IPV6 and
29976         _POSIX_RAW_SOCKETS.
29978 2014-09-13  Allan McRae  <allan@archlinux.org>
29980         * po/ru.po: Update Russian translation from translation project.
29982 2014-09-12  Roland McGrath  <roland@hack.frob.com>
29984         * locale/programs/locale.c (show_locale_vars): Inline local function
29985         into its sole call site.  Clean up some style nits.
29986         (print_item): New function, broken out of ...
29987         (show_info): ... local function here.  Clean up style nits.
29989         * locale/programs/ld-ctype.c (set_one_default): New function, broken
29990         out of ...
29991         (set_class_defaults): ... local function set_default here.
29992         Define set_default as a macro locally to pass constant parameters.
29993         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
29994         rather than a shared local.
29996         * stdlib/rpmatch.c (try): New function, broken out of ...
29997         (rpmatch): ... local function here.  Also, prototypify definition.
29999 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
30001         * scripts/soversions.awk: Do not handle configuration names.
30002         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
30003         vendor and os variables to soversions.awk.
30004         * configure.ac: Do not modify gnu-* host_os.
30005         * configure: Regenerated
30006         * shlib-versions: Remove first column with configuration names.
30007         * nptl/shlib-versions: Likewise.
30008         * nptl_db/shlib-versions: Likewise.
30009         * sysdeps/hppa/shlib-versions: Likewise.
30010         * sysdeps/m68k/shlib-versions: Likewise.
30011         * sysdeps/mach/hurd/shlib-versions: Likewise.
30012         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
30013         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
30014         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
30015         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
30016         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
30017         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
30018         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
30019         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
30020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
30021         Likewise.
30022         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
30023         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
30024         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
30025         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
30026         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
30027         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
30028         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
30029         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
30031         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
30032         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
30033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
30034         Regenerated.
30035         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
30036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
30037         Condition symbol version definitions on [HAVE_ELFV2_ABI].
30039         * shlib-versions: Remove OS-specific entries.  Moved to files in
30040         sysdeps.
30041         * sysdeps/mach/hurd/shlib-versions: New file.
30042         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
30044         * nptl/shlib-versions: Remove architecture-specific entries.
30045         Moved to files in sysdeps.
30046         * shlib-versions: Likewise.
30047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
30048         file.
30049         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
30050         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
30051         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
30052         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
30054         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
30055         (UDP_NO_CHECK6_RX): Likewise.
30057 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
30059         * sysdeps/posix/sysconf.c (__sysconf): Spell
30060         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
30062 2014-08-12  Florian Weimer  <fweimer@redhat.com>
30064         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
30065         loading.
30066         * iconv/Versions (__gconv_transliterate): Export for use from
30067         gconv modules.
30068         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
30069         (struct __gconv_trans_data, __gconv_trans_fct,
30070         __gconv_trans_context_fct, __gconv_trans_query_fct,
30071         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
30072         definitions.
30073         (struct __gconv_step_data): Remove __trans member.
30074         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
30075         longer hidden.  Remove unused trans_data argument.
30076         * iconv/gconv_int.h (struct trans_struct): Remove definition.
30077         (__gconv_translit_find): Remove declaration.
30078         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
30079         prototype.
30080         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
30081         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
30082         trans_data argument.  Add hidden definition.
30083         (__gconv_translit_find): Remove.
30084         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
30085         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
30086         * iconv/skeleton.c: Remove transliteration initialization.
30087         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
30088         __gconv_step_data initialization.
30089         * libio/iofwide.c (__libio_translit_): Remove.
30090         (_IO_fwide): Adjust struct __gconv_step_data initialization.
30091         * wcsmbs/btowc.c (__btowc): Likewise.
30092         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
30093         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
30094         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
30095         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
30096         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
30097         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
30098         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
30099         * wcsmbs/wctob.c (wctob): Likewise.
30101 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
30103         [BZ #16194]
30104         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
30105         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
30106         register usage.
30107         * sysdeps/x86/Makefile: Adjust.
30109 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
30110             Roland McGrath  <roland@hack.frob.com>
30112         * locale/weight.h: Add include guard.
30113         (findidx): Make static rather than auto; take new parameters
30114         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
30115         * locale/weightwc.h: Likewise.
30116         * posix/fnmatch_loop.c
30117         (FCT): Change type of EXTRA from int32_t to wint_t.
30118         Don't include either header inside the function.
30119         Call FINDIDX rather than findidx, and pass new arguments.
30120         #undef FINDIDX at the end of the file.
30121         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
30122         FINDIDX before including fnmatch_loop.c for the non-wide version.
30123         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
30124         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
30125         for the wide version.
30126         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
30127         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
30128         Pass new arguments to findidx.
30129         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
30130         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
30131         Don't #include it inside the function.  Pass new arguments to findidx.
30132         * posix/regex_internal.h
30133         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
30134         (re_string_elem_size_at): Don't #include it inside the function.
30135         Pass new arguments to findidx.
30136         * string/strcoll_l.c: #include WEIGHT_H at top level.
30137         (get_next_seq): Don't #include it inside the function.
30138         Pass new arguments to findidx.
30139         (get_next_seq_nocache): Likewise.
30140         * string/strxfrm_l.c: #include WEIGHT_H at top level.
30141         (STRXFRM): Don't #include it inside the function.
30142         Pass new arguments to findidx.
30144 2014-09-11  Florian Weimer  <fweimer@redhat.com>
30146         [BZ #17344]
30147         * malloc/malloc.c (unlink): Turn asserts into a call to
30148         malloc_printerr.
30150 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
30152         [BZ #17370]
30153         * libio/wfileops (do_ftell_wide): Free OUT.
30155 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
30157         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
30159 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
30161         [BZ #17363]
30162         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
30163         group if the current group is empty.
30165 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30167         * benchtests/bench-memset.c (test_main): Add more test from size
30168         from 32 to 512 bytes.
30169         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
30170         Add POWER8 memset object.
30171         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30172         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
30173         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
30174         implementation.
30175         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
30176         Likewise.
30177         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
30178         multiarch POWER8 memset optimization.
30179         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
30180         POWER8 memset optimization.
30182         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
30183         Remove bzero multiarch objects.
30184         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
30185         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
30186         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
30187         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
30188         Remove define.
30189         [__bzero]: Redefine to specific name.
30190         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
30191         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
30192         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
30193         define.
30194         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
30195         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
30197 2014-09-10  Florian Weimer  <fweimer@redhat.com>
30199         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
30200         warnings into errors.
30202         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
30203         __cxa_thread_atexit_impl prototype.
30205 2014-09-09  Steve Ellcey  <sellcey@mips.com>
30207         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
30208         Fix capitalization of error message.
30210 2014-09-09  Steve Ellcey  <sellcey@mips.com>
30212         * sysdeps/mips/preconfigure: Modify ABI tests.
30214 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
30216         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
30218 2014-09-07  Roland McGrath  <roland@hack.frob.com>
30219             Carlos O'Donell  <carlos@systemhalted.org>
30221         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
30222         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
30223         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
30224         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
30225         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
30226         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
30227         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
30228         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
30229         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
30230         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
30231         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
30232         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
30233         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
30234         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
30235         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
30236         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
30237         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
30238         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
30239         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
30240         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
30241         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
30242         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
30243         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
30244         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
30245         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
30246         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
30247         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
30248         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
30249         Deconditionalize the code that was previously under [RESET_PID].
30250         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
30251         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
30252         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
30253         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
30254         include sysdep.h.
30256 2014-09-08  Allan McRae  <allan@archlinux.org>
30258         * version.h (RELEASE): Set to "development".
30259         (VERSION): Set to "2.20.90"
30261 2014-09-07  Allan McRae  <allan@archlinux.org
30263         * version.h (RELEASE): Set to "stable".
30264         (VERSION): Set to "2.20"
30265         * include/features.h (__GLIBC_MINOR__): Set to 20.
30267         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
30268         Liebler.
30270         * po/ko.po: Update Korean translation from translation project.
30272 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
30274         [BZ #17354]
30275         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
30276         macro for handling signed relocations.
30278 2014-09-03  Florian Weimer  <fweimer@redhat.com>
30280         [BZ #17325]
30281         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
30282         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
30283         assert.
30284         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
30285         * iconvdata/ibm935.c (BODY): Likewise.
30286         * iconvdata/ibm937.c (BODY): Likewise.
30287         * iconvdata/ibm939.c (BODY): Likewise.
30288         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
30289         assert.
30290         * iconvdata/Makefile (iconv-test.out): Pass module list to test
30291         script.
30292         * iconvdata/run-iconv-test.sh: New test loop for checking for
30293         decoder crashers.
30295 2014-09-02  Khem Raj  <raj.khem@gmail.com>
30297         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
30298         libm_hidden_ver.
30300 2014-09-01  Allan McRae  <allan@archlinux.org>
30302         * po/eo.po: Update Esperanto translation from translation project.
30304         * po/ca.po: Update Catalan translation from translation project.
30306 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30308         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
30309         __proc_dostop call.
30311 2014-08-27  Mark Wielaard  <mjw@redhat.com>
30313         [BZ #17319]
30314         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
30315         to call set_thread_area instead of hand written asm.
30316         (__NR_set_thread_area): Removed define.
30317         (TLS_FLAG_WRITABLE): Likewise.
30318         (__ASSUME_SET_THREAD_AREA): Remove check.
30319         (TLS_EBX_ARG): Remove define.
30320         (TLS_LOAD_EBX): Likewise.
30322 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30324         Simplify atomicity of socket creation in bind.
30326         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
30327         looking up the name after linking the file.
30329 2014-08-27  Allan McRae  <allan@archlinux.org>
30331         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
30333 2014-08-26  Florian Weimer  <fweimer@redhat.com>
30335         [BZ #17187]
30336         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
30337         trans_compare, open_translit, __gconv_translit_find):
30338         Remove module loading code.
30340 2014-08-26  Allan McRae  <allan@archlinux.org>
30342         * po/vi.po: Update Vietnamese translation from translation project.
30344         * po/uk.po: Update Ukrainian translation from translation project.
30346         * po/fr.po: Update French translation from translation project.
30348         * po/ru.po: Update Russian translation from translation project.
30350         * po/pl.po: Update Polish translation from translation project.
30352         * po/cs.po: Update Czech translation from translation project.
30354         * po/de.po: Update German translation from translation project.
30356         * po/bg.po: Update Bulgarian translation from translation project.
30358         * po/sv.po: Update Sweedish translation from translation project.
30360         * po/nl.po: Update Dutch translation from translation project.
30362         * po/es.po: Update Spanish translation from translation project.
30364 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
30366         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
30368         * catgets/Makefile (CPPFLAGS-gencat): Remove.
30369         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
30370         (CPPFLAGS-iconvconfig): Likewise.
30371         * timezone/Makefile (CPPFLAGS-zic): Likewise.
30373         * include/libc-symbols.h: Remove unnecessary check for
30374         NOT_IN_libc.
30375         * nptl/pthreadP.h: Likewise.
30376         * sysdeps/aarch64/setjmp.S: Likewise.
30377         * sysdeps/alpha/setjmp.S: Likewise.
30378         * sysdeps/arm/sysdep.h: Likewise.
30379         * sysdeps/i386/setjmp.S: Likewise.
30380         * sysdeps/m68k/setjmp.c: Likewise.
30381         * sysdeps/posix/getcwd.c: Likewise.
30382         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
30383         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
30384         * sysdeps/s390/s390-32/setjmp.S: Likewise.
30385         * sysdeps/s390/s390-64/setjmp.S: Likewise.
30386         * sysdeps/sh/sh3/setjmp.S: Likewise.
30387         * sysdeps/sh/sh4/setjmp.S: Likewise.
30388         * sysdeps/unix/alpha/sysdep.h: Likewise.
30389         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
30390         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
30391         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
30392         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
30393         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
30394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
30395         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
30396         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
30397         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
30398         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
30399         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30400         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
30401         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
30402         * sysdeps/x86_64/setjmp.S: Likewise.
30404 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
30406         [BZ #17263]
30407         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
30408         <stdint.h>.
30409         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
30410         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
30412 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
30414         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
30416         [BZ #17262]
30417         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
30418         and __x86_64__ when disabling x87 inline functions.
30420 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
30422         [BZ #17259]
30423         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
30424         asm statement with __cpuid_count.
30426 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
30428         * configure.ac: Change __ehdr_start code to dereference the struct.
30429         Run readelf on the output to look for relocations.
30430         * configure: Regenerated.
30432 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
30434         [BZ #17261]
30435         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
30436         value to 0.
30437         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
30439 2014-08-12  Roland McGrath  <roland@hack.frob.com>
30441         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
30443 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
30445         [BZ #16892]
30446         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
30447         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
30449 2014-08-12  Sean Anderson  <seanga2@gmail.com>
30451         * malloc/malloc.c: Fix typo in comment.
30453 2014-08-09  Allan McRae  <allan@archlinux.org>
30455         * Regenerate libc.po.
30457 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
30459         * intl/tst-gettext2.sh: Check every lang file for creation.
30461 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
30463         * sysdeps/aarch64/fpu/math_private.h
30464         (libc_feholdsetround_noex_aarch64_ctx): New function.
30466 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
30468         * sysdeps/arm/armv6/strcpy.S (strcpy):
30469         Fix performance issue in misaligned cases.
30471 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30473         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
30474         Move definition from termios.h.
30475         (struct termio): Likewise.
30476         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
30477         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
30478         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
30479         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
30480         Likewise.
30481         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
30482         Move definition to ioctl-types.h
30483         (struct termio): Likewise.
30484         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
30485         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
30486         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
30487         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
30488         Likewise.
30490 2014-08-05  Richard Henderson  <rth@redhat.com>
30492         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
30493         exceptions.
30494         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
30495         Add fraiseexcpt.
30496         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
30497         Use __feraiseexcept.
30498         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
30499         Protect libm symbols with IS_IN_libm.
30501         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
30503 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
30505         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
30507 2014-08-04  Will Newton  <will.newton@linaro.org>
30509         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
30510         file.
30512 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
30514         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
30515         variants for each function.
30517 2014-08-04  Roland McGrath  <roland@hack.frob.com>
30519         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
30520         appended ...
30521         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
30522         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
30523         appended ...
30524         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
30525         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
30526         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
30527         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
30528         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
30529         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
30530         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
30531         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
30532         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
30533         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
30534         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
30535         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
30536         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
30537         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
30538         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
30539         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
30540         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
30541         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
30542         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
30543         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
30544         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
30545         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
30546         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
30547         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
30548         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
30549         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
30550         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
30551         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
30552         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
30553         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
30554         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
30555         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
30556         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
30557         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
30558         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
30559         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
30560         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
30561         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
30562         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
30563         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
30564         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
30565         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
30566         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
30567         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
30568         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
30569         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
30570         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
30571         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
30572         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
30573         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
30574         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
30575         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
30576         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
30577         Update #include.
30578         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
30579         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
30581 2014-08-04  Roland McGrath  <roland@hack.frob.com>
30583         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
30584         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
30585         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
30586         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
30587         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
30588         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
30590 2014-08-04  Roland McGrath  <roland@hack.frob.com>
30592         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
30593         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
30594         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
30595         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
30597 2014-08-04  Roland McGrath  <roland@hack.frob.com>
30599         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
30600         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
30601         (__libc_vfork): Define function under this name.
30602         (__vfork): Define as an alias.
30603         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
30604         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
30606 2014-08-04  Roland McGrath  <roland@hack.frob.com>
30608         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
30609         that was previously under [RESET_PID].
30610         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
30612 2014-08-04  Andreas Schwab  <schwab@suse.de>
30614         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
30616 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
30618         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
30619         (main): Likewise.
30621 2014-08-01  Roland McGrath  <roland@hack.frob.com>
30623         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
30625 2014-08-01  Richard Henderon  <rth@redhat.com>
30627         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
30628         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
30629         typo in exact zero test.
30630         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30631         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
30632         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30634 2014-08-01  Roland McGrath  <roland@hack.frob.com>
30636         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
30637         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
30638         * sysdeps/arm/sysdep.h: ... here.
30639         [!__ASSEMBLER__]: Include <stdint.h>.
30641 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
30643         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
30644         (HAVE_WCTYPE_H): Likewise.
30645         (HAVE_ISWCTYPE): Likewise.
30646         (ENABLE_NLS): Likewise.
30647         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
30648         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
30650         * posix/regex_internal.c: Check if DEBUG is defined and is
30651         set.
30653         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
30654         (HAVE_MBSRTOWCS): Likewise.
30655         * posix/fnmatch.c: Include string.h unconditionally.
30657 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
30659         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
30660         reversal.
30662 2014-07-31  Roland McGrath  <roland@hack.frob.com>
30664         * sysdeps/generic/safe-fatal.h: New file.
30665         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
30666         * nptl/forward.c: Include it.
30667         (__pthread_unwind): Use __safe_fatal as default action, rather
30668         than a bogus use of INTERNAL_SYSCALL that could never work.
30670         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
30671         * configure.ac (libc_cv_builtin_trap): New test.
30672         * configure: Regenerated.
30673         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
30674         (ABORT_INSTRUCTION): Define using __builtin_trap.
30676         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
30677         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
30678         * sysdeps/nptl/nptl-signals.h: New file.
30679         * nptl/pthreadP.h: Include <nptl-signals.h>.
30681 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
30683         * sysdeps/s390/s390-64/utf16-utf32-z9.c
30684         (ONE_DIRECTION): Define.
30685         * sysdeps/s390/s390-64/utf8-utf16-z9.c
30686         (ONE_DIRECTION): Define.
30687         * sysdeps/s390/s390-64/utf8-utf32-z9.c
30688         (ONE_DIRECTION): Define.
30690 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
30692         * sysdeps/s390/Makefile: Delete file.
30693         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
30694         * sysdeps/s390/__longjmp.c: Delete file.
30695         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
30696         Remove fields __flags and __reserved.
30697         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
30698         and add versioning.
30699         * sysdeps/s390/rtld-__longjmp.c: Delete file.
30700         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
30701         * sysdeps/s390/rtld-setjmp.S: Likewise.
30702         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
30703         * sysdeps/s390/s390-32/__longjmp.c: ... here.
30704         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
30705         * sysdeps/s390/s390-32/setjmp.S: ... here.
30706         Add versioning.
30707         (__sigsetjmp): Remove setting __flags field.
30708         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
30709         * sysdeps/s390/s390-64/__longjmp.c: ... here.
30710         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
30711         * sysdeps/s390/s390-64/setjmp.S: ... here.
30712         Add versioning.
30713         (__sigsetjmp): Remove setting __flags field.
30714         * sysdeps/s390/setjmp.S: Delete file.
30715         * sysdeps/s390/sigjmp.c: Likewise.
30716         * sysdeps/s390/v1-longjmp.c: Likewise.
30717         * sysdeps/s390/v1-setjmp.h: Likewise.
30718         * sysdeps/s390/v1-sigjmp.c: Likewise.
30719         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
30720         Remove v1-longjmp_chk.
30721         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
30722         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
30723         Include debug/longjmp_chk.c and add versioning.
30724         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
30725         Include nptl/pt-longjmp.c and add versioning.
30726         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
30727         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
30728         Include __longjmp.c.
30729         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
30730         Move to ...
30731         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
30732         (__getcontext): Remove setting __flags field.
30733         Add versioning.
30734         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
30735         Don't restore upper high grps.
30736         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
30737         Likewise.
30738         (__swapcontext): Remove setting uc_flags field.
30739         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
30740         Delete file.
30741         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
30742         Include __longjmp.c.
30743         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
30744         Move to ...
30745         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
30746         (__getcontext): Remove setting __flags field.
30747         Add versioning.
30748         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
30749         (__swapcontext): Remove setting uc_flags field.
30750         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
30751         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
30752         Remove fields uc_high_gprs and __reserved.
30753         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
30754         New file with reverted content.
30755         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
30756         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
30757         Regenerated.
30758         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
30759         Regenerated.
30761 2014-07-31  Andreas Schwab  <schwab@suse.de>
30763         * config.h.in (HAVE_IFUNC): Define to 0.
30764         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
30765         definedness.
30767 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
30769         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30770         memmove-avx-unaligned, memcpy-avx-unaligned and
30771         mempcpy-avx-unaligned.
30772         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
30773         Add tests for AVX memcpy functions.
30774         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
30775         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
30776         memcpy_chk.
30777         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
30778         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
30779         memmove_chk.
30780         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
30781         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
30782         mempcpy_chk.
30783         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
30784         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
30785         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
30787 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30789         [BZ #17213]
30790         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
30791         powerpc64le.
30793 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
30795         [BZ #16839]
30796         * manual/llio.texi: Add section about open file description locks.
30797         * manual/examples/ofdlocks.c: Example of open file description
30798         lock usage.
30799         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
30800         F_OFD_SETLK, and F_OFD_SETLKW.
30802 2014-07-23  Allan McRae  <allan@archlinux.org>
30804         * po/es.po: Update Spanish translation from translation project.
30806 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
30808         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
30810 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
30812         [BZ #17078]
30813         * sysdeps/arm/dl-machine.h (elf_machine_rela)
30814         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
30815         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
30817 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
30819         [BZ #17088]
30820         * math/fesetenv.c (__fesetenv)
30821         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
30822         * math/feupdateenv.c (__feupdateenv)
30823         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
30825         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
30826         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
30827         (__ASSUME_SOCKETCALL): Do not define.
30829         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
30830         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
30831         (__ASSUME_SOCKETCALL): Do not define.
30832         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
30833         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
30834         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
30835         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
30836         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
30837         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
30838         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
30839         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
30841         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
30842         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
30843         (__ASSUME_SOCKETCALL): Do not define.
30844         (__ASSUME_IPC64): Define unconditionally.
30845         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
30846         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
30847         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
30848         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
30849         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
30850         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
30851         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
30852         Likewise.
30854         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
30855         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
30856         (__ASSUME_SOCKETCALL): Do not define.
30857         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
30858         (__ASSUME_FUTEX_LOCK_PI): Likewise.
30859         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
30860         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
30861         (__ASSUME_REQUEUE_PI): Define unconditionally.
30862         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
30863         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
30864         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
30865         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
30866         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
30867         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
30869         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
30870         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
30871         (__ASSUME_SOCKETCALL): Do not define.
30872         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
30873         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
30874         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
30875         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
30876         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
30877         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
30879         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
30880         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
30881         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
30882         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
30883         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
30884         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
30885         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
30886         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
30887         (__ASSUME_GETCPU_SYSCALL): Likewise.
30889         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
30890         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
30891         cases for individual architectures.
30892         * sysdeps/gnu/configure: Regenerated.
30893         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
30894         LIBC_SLIBDIR_RTLDDIR.
30895         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
30896         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
30897         LIBC_SLIBDIR_RTLDDIR.
30898         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
30899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
30900         LIBC_SLIBDIR_RTLDDIR.
30901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
30902         Regenerated.
30903         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
30904         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
30905         file.
30906         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
30907         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
30908         file.
30909         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
30910         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
30911         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
30912         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
30914         * sysdeps/aarch64/shlib-versions: Move to ...
30915         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
30916         * sysdeps/alpha/shlib-versions: Move to ...
30917         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
30918         * sysdeps/arm/shlib-versions: Move to ...
30919         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
30920         * sysdeps/hppa/shlib-versions: Move all contents except for
30921         libgcc_s entry to ...
30922         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
30923         entry from ...
30924         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
30925         * sysdeps/ia64/shlib-versions: Move to ...
30926         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
30927         entry from ...
30928         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
30929         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
30930         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
30931         * sysdeps/microblaze/shlib-versions: Move to ...
30932         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
30933         * sysdeps/mips/shlib-versions: Move to ...
30934         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
30935         entry from ...
30936         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
30937         * sysdeps/tile/shlib-versions: Move to ...
30938         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
30939         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
30940         from ...
30941         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
30942         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
30943         entry from ...
30944         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
30946 2014-07-17  Will Newton  <will.newton@linaro.org>
30948         * sysdeps/arm/bits/atomic.h
30949         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
30950         (__arch_compare_and_exchange_bool_16_int): Likewise.
30951         (__arch_compare_and_exchange_bool_64_int): Likewise.
30953         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
30954         into an #else block.
30956 2014-07-16  Roland McGrath  <roland@hack.frob.com>
30958         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
30959         just Linux configurations.  Test empirically that the compiler sets
30960         __ARM_EABI__, rather than using the tuple to decide.
30961         * sysdeps/arm/preconfigure: Regenerated.
30962         * sysdeps/unix/sysv/linux/arm/configure: File removed.
30963         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
30964         contents appended ...
30965         * sysdeps/arm/configure.ac: ... here.
30966         * sysdeps/arm/configure: Regenerated.
30968 2014-07-15  Roland McGrath  <roland@hack.frob.com>
30970         * nptl/pthread_kill.c: New file.
30971         * nptl/pthread_sigmask.c: New file.
30972         * nptl/pthread_sigqueue.c: New file.
30974         * sysdeps/nptl/lowlevellock.h: New file.
30975         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
30976         * sysdeps/nptl/lowlevellock-futex.h: New file.
30978         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
30979         Remove dead declarations.
30981 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
30983         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
30984         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
30985         config-cflags-avx2.
30986         * sysdeps/x86_64/configure.ac: Likewise.
30987         * sysdeps/i386/configure: Regenerated.
30988         * sysdeps/x86_64/configure: Likewise.
30989         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30990         memset-avx2 only if config-cflags-avx2 is yes.
30991         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
30992         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
30993         defined.
30994         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
30995         only if HAVE_AVX2_SUPPORT is defined.
30996         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
30998 2014-07-14  Alan Modra  <amodra@gmail.com>
31000         [BZ #17153]
31001         * elf/elf.h (DT_PPC64_NUM): Correct value.
31002         * NEWS: Add to fixed bug list.
31004 2014-07-13  Jim Meyering  <meyering@fb.com>
31006         [BZ 17150]
31007         regex: don't deref NULL upon heap allocation failure
31008         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
31009         failure in one more place.
31010         To trigger the segfault, configure grep -with-included-regex,
31011         build it, and run these commands:
31012         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
31014 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
31016         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
31018 2014-07-11  Richard Henderson  <rth@redhat.com>
31020         * sysdeps/aarch64/libm-test-ulps: Update.
31022 2014-07-10  Florian Weimer  <fweimer@redhat.com>
31024         [BZ #17135]
31025         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
31026         * nptl/allocatestack.c (__nptl_setxid_error): New function.
31027         (__nptl_setxid): Initialize error member.  Call
31028         __nptl_setxid_error.
31029         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
31030         * nptl/descr.h (struct xid_command): Add error member.
31031         * nptl/tst-setuid3.c: New file.
31032         * nptl/Makefile (tests): Add it.
31034 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31036         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
31037         New define.
31038         (__lll_trylock): Use __lll_base_trylock.
31039         (__lll_cond_trylock): Likewise.
31041 2014-07-10  Roland McGrath  <roland@hack.frob.com>
31043         * nptl/pthread_create.c (start_thread): Use atomic_or and
31044         lll_futex_wake directly rather than lll_robust_dead.
31045         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
31046         (lll_robust_dead): Macro removed.
31047         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
31048         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
31049         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
31050         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
31051         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
31052         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
31053         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
31054         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
31055         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
31056         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
31057         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
31058         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
31059         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
31060         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
31061         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
31063         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
31064         Use atomic_compare_and_exchange_val_acq directly rather than
31065         lll_robust_trylock.
31066         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
31067         (__lll_robust_trylock, lll_robust_trylock): Removed.
31068         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
31069         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
31070         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
31071         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
31072         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
31073         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
31074         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
31075         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
31076         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
31077         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
31078         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
31079         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
31080         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
31081         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
31083 2014-07-02  Florian Weimer  <fweimer@redhat.com>
31085         * manual/locale.texi (Locale Names): New section documenting
31086         locale name syntax.  Adjust menu and node chaining accordingly.
31087         (Choosing Locale): Reference Locale Names, Locale Categories.
31088         Mention setting LC_ALL=C.  Reflect that name syntax is now
31089         documented.
31090         (Locale Categories): New section title.  Reference Locale Names.
31091         LC_ALL is an environment variable, but not a category.
31092         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
31093         description, now in Locale Name.  Reference that section.  Locale
31094         name syntax is now documented.
31096 2014-07-02  Florian Weimer  <fweimer@redhat.com>
31098         [BZ #17137]
31099         * locale/findlocale.c (name_present, valid_locale_name): New
31100         functions.
31101         (_nl_find_locale): Use the loc_name variable to store name
31102         candidates.  Call name_present and valid_locale_name to check and
31103         validate locale names.  Return an error if the locale is invalid.
31105 2014-07-02  Florian Weimer  <fweimer@redhat.com>
31107         * locale/setlocale.c (setlocale): Use strdup for allocating
31108         composite name copy.
31110 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
31112         Sync up with gnulib.
31113         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
31114         [!_LIBC && ENABLE_NLS]: Include gettext.h.
31115         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
31116         and _GL_ARG_NONNULL.
31117         [USE_UNLOCKED_IO]: Include unlocked-io.h.
31118         [!_LIBC]: Include code for Windows and Cygwin.
31119         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
31120         Include prototype for int strerror_r.
31121         [!_LIBC] (is_open): New function.
31122         (flush_stdout): New function.
31123         (print_errno_message): Use it.
31124         (error): Likewise.
31125         (error_at_line): Likewise.
31126         (error_tail) Add function attribute macros.  Use
31127         __builtin_expect.
31129         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
31131         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
31133         * io/ftw.c: Include sys/param.h unconditionally.
31135         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
31137         [BZ #17125]
31138         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
31139         libc_freeres_ptr.
31140         (freecache): New function to free CACHE on exit.
31142         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
31143         initialization.
31145 2014-07-09  David S. Miller  <davem@davemloft.net>
31147         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31149         * sysdeps/sparc/nptl/internaltypes.h: Delete.
31150         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
31151         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
31152         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
31153         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
31154         * sysdeps/sparc/nptl/sem_init.c: Likewise.
31155         * sysdeps/sparc/nptl/sem_post.c: Likewise.
31156         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
31157         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
31158         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
31159         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
31160         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
31161         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
31163 2014-07-09  Andreas Schwab  <schwab@suse.de>
31165         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
31166         output.
31167         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
31168         (do_test): Likewise.
31170         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
31172 2014-07-09  Will Newton  <will.newton@linaro.org>
31174         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
31175         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
31176         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
31177         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
31178         * sysdeps/hppa/start.S (_start): Likewise.
31180 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
31182         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
31184         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
31185         defined.
31187 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
31189         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
31190         after checking that it is non-NULL.
31192         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
31194 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31196         * sysdeps/powerpc/memmove.c: Remove file.
31197         * sysdeps/powerpc/powerpc32/power4/memcopy.h
31198         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
31199         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
31200         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
31201         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
31202         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
31203         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
31204         string memmove instead of removed powerpc one.
31206         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
31207         [weak_alias]: Fix compiler warning due trailing data.
31208         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
31209         [weak_alias]: Likewise.
31210         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
31211         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
31213         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
31214         (__libc_ifunc_impl_list): Add memmove functions.
31216 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
31218         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
31219         Remove code.
31220         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
31221         Likewise.
31222         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
31223         Likewise.
31224         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
31225         Likewise.
31226         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
31227         Likewise.
31228         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
31229         Likewise.
31230         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
31231         Likewise.
31232         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
31233         Likewise.
31234         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
31235         Likewise.
31236         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
31237         Likewise.
31238         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
31239         Likewise.
31240         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
31241         Likewise.
31242         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
31243         Likewise.
31244         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
31245         Likewise.
31246         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
31247         Likewise.
31248         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
31249         Likewise.
31250         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
31251         Likewise.
31253 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31255         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
31256         to avoid alignment traps in non-cacheable memory.
31257         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
31259         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
31260         multiarch objects.
31261         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
31262         file: multiarch power7 memmove.
31263         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
31264         multiarch default memmove.
31265         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
31266         multiarch memove for powerpc32/power4.
31268         * string/bcopy.c: Use full path to include memmove.c.
31269         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
31270         multiarch objects.
31271         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
31272         bcopy for powerpc64.
31273         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
31274         bcopy for powerpc64.
31275         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
31276         and memmove implementations.
31277         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
31278         optimized multiarch memmove for POWER7/powerpc64.
31279         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
31280         default multiarch memmove for powerpc64.
31281         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
31282         multiarch for powerpc64.
31283         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
31284         for POWER7/powerpc64.
31285         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
31286         memmove for POWER7/powerpc64.
31288         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
31289         glibc default one.
31291         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
31292         __ELF_NATIVE_CLASS equal to 64.
31294 2014-07-07  Roland McGrath  <roland@hack.frob.com>
31296         * sysdeps/nptl/lowlevellock.h: File removed.
31298         * NEWS: NPTL is no longer an add-on!
31299         * nptl/internaltypes.h: Moved ...
31300         * sysdeps/nptl/internaltypes.h: ... here.
31301         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
31302         * sysdeps/nptl/fork.c: Likewise.
31303         * sysdeps/nptl/gai_misc.h: Likewise.
31304         * sysdeps/nptl/librt-cancellation.c: Likewise.
31305         * sysdeps/nptl/jmp-unwind.c: Likewise.
31306         * sysdeps/nptl/setxid.h: Likewise.
31307         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
31308         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
31309         * sysdeps/unix/sysv/linux/arm/Implies: New file.
31310         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
31311         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
31312         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
31313         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
31314         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
31315         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
31316         * sysdeps/unix/sysv/linux/mips/Implies: New file.
31317         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
31318         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
31319         * sysdeps/unix/sysv/linux/sh/Implies: New file.
31320         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
31321         * sysdeps/unix/sysv/linux/tile/Implies: New file.
31322         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
31323         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
31324         * nptl/Makeconfig: Moved ...
31325         * sysdeps/nptl/Makeconfig: ... here.
31326         * nptl/configure: File removed.
31327         * nptl/ANNOUNCE: File removed.
31328         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
31329         * sysdeps/unix/sysv/linux/configure: Regenerated.
31331         * nptl/Makefile (routines): Add libc_pthread_init,
31332         libc_multiple_threads, register-atfork and unregister-atfork.
31333         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
31334         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
31335         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
31336         pthread-pi-defines.sym, structsem.sym.
31337         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
31338         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
31339         [$(subdir) = nptl] (tests): Add tst-setgetname.
31340         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
31341         * sysdeps/unix/sysv/linux/sigaction.c: Just include
31342         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
31343         [!LIBC_SIGACTION]: Remove aliases.
31344         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
31345         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
31346         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
31347         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
31348         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
31349         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
31350         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
31351         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
31352         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
31353         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
31354         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
31355         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
31356         __libc_allocate_rtsig_private.
31357         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
31358         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
31359         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
31360         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
31361         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
31362         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
31363         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
31364         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
31365         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
31366         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
31367         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
31368         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
31369         * nptl/internaltypes.h: ... here.
31370         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
31371         * sysdeps/nptl/jmp-unwind.c: ... here.
31372         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
31373         * nptl/libc-lowlevellock.c: ... here.
31374         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
31375         * nptl/libc_multiple_threads.c: ... here.
31376         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
31377         * nptl/libc_pthread_init.c: ... here.
31378         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
31379         * nptl/lowlevelbarrier.sym: ... here.
31380         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
31381         * nptl/lowlevelcond.sym: ... here.
31382         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
31383         * nptl/lowlevellock.c: ... here.
31384         * nptl/lowlevellock.h: Moved ...
31385         * sysdeps/nptl/lowlevellock.h: ... here.
31386         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
31387         * nptl/lowlevelrobustlock.c: ... here.
31388         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
31389         * nptl/lowlevelrobustlock.sym: ... here.
31390         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
31391         * nptl/lowlevelrwlock.sym: ... here.
31392         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
31393         * nptl/pt-fork.c: ... here.
31394         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
31395         * nptl/pthread-pi-defines.sym: ... here.
31396         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
31397         * nptl/pthread_attr_getaffinity.c: ... here.
31398         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
31399         * nptl/pthread_attr_setaffinity.c: ... here.
31400         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
31401         * nptl/pthread_mutex_cond_lock.c: ... here.
31402         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
31403         Update #include.
31404         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
31405         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
31406         * nptl/pthread_once.c: ... here, replacing old file.
31407         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
31408         * nptl/pthread_yield.c: ... here.
31409         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
31410         * nptl/register-atfork.c: ... here.
31411         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
31412         * nptl/sem_post.c: ... here.
31413         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
31414         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
31415         * nptl/sem_timedwait.c: ... here.
31416         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
31417         * nptl/sem_trywait.c: ... here.
31418         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
31419         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
31420         * nptl/sem_wait.c: ... here.
31421         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
31422         * nptl/structsem.sym: ... here.
31423         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
31424         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
31425         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
31426         * nptl/unregister-atfork.c: ... here.
31427         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
31428         * nptl/unwindbuf.sym: ... here.
31429         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
31430         * sysdeps/nptl/fork.c: ... here.
31431         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
31432         * sysdeps/nptl/fork.h: ... here.
31433         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
31434         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
31435         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
31436         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
31437         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
31438         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
31439         * sysdeps/unix/sysv/linux/getpid.c: ... here.
31440         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
31441         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
31442         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
31443         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
31444         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
31445         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
31446         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
31447         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
31448         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
31449         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
31450         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
31451         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
31452         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
31453         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
31454         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
31455         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
31456         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
31457         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
31458         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
31459         * sysdeps/unix/sysv/linux/raise.c: ... here.
31460         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
31461         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
31462         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
31463         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
31464         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
31465         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
31466         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
31467         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
31468         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
31469         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
31470         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
31471         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
31472         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
31473         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
31474         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
31476 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
31478         * sysdeps/generic/memcopy.h: Add comment for
31479         MEMCPY_OK_FOR_FWD_MEMMOVE.
31481 2014-07-04  Will Newton  <will.newton@linaro.org>
31483         * string/memchr.c: Merge from gnulib.
31484         [_LIBC]: Remove conditionals.
31485         (__ptr_t): Remove define.
31486         (LONG_MAX_32_BITS): Likewise.
31487         (LONG_MAX): Likewise.
31488         (MEMCHR): Use ANSI prototype and optimize algorithm.
31490         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
31492 2014-07-03  Roland McGrath  <roland@hack.frob.com>
31494         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
31495         (lll_futex_timed_wait_bitset): Fix syscall argument count.
31497         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
31498         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
31499         in a bare environment with no <stdlib.h> installed.
31500         * sysdeps/nptl/configure: Regenerated.
31502         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
31504         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
31505         AC_EGREP_CPP for kernel header checks, so they only succeed if
31506         including <linux/version.h> actually works right.
31507         * sysdeps/unix/sysv/linux/configure: Regenerated.
31509         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
31510         value so it's not diagnosed as unused.
31512         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
31513         thing) with "ifeq ($(subdir),rt)".
31515 2014-07-03  Richard Henderson  <rth@redhat.com>
31517         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
31518         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
31519         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
31521         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
31522         (math_force_eval): New.
31524         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
31525         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
31527         * sysdeps/alpha/fpu/s_round.c: Remove file.
31528         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
31530         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
31531         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
31532         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
31533         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
31534         (_dl_start, print_statistics): Likewise.
31535         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
31536         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
31538         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
31539         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
31540         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
31541         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
31542         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
31543         (HP_SMALL_TIMING_AVAIL): Define.
31544         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
31545         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
31546         (HP_SMALL_TIMING_AVAIL): Define.
31547         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
31548         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
31550         * sysdeps/aarch64/hp-timing.h: New file.
31552         * sysdeps/generic/hp-timing.h: Remove dead comment.
31553         * sysdeps/generic/hp-timing-common.h: New file.
31554         * sysdeps/alpha/hp-timing.h: Include it.
31555         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
31556         * sysdeps/i386/i686/hp-timing.h: Likewise.
31557         * sysdeps/ia64/hp-timing.h: Likewise.
31558         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
31559         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
31560         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
31561         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
31562         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
31563         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
31564         (hp_timing_t): New.
31566         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
31567         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
31568         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
31569         * elf/rtld.c (_dl_start_final): Likewise.
31570         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
31571         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
31572         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
31573         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
31574         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
31575         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
31576         (HP_TIMING_DIFF_INIT): Remove.
31577         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
31578         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
31579         (HP_TIMING_DIFF_INIT): Remove.
31580         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
31581         * sysdeps/i386/i686/hp-timing.c: Remove file.
31582         * sysdeps/x86_64/hp-timing.c: Remove file.
31583         * sysdeps/ia64/hp-timing.c: Remove file.
31584         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
31585         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
31586         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
31587         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
31589         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
31590         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
31591         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
31592         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
31593         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
31594         (HP_TIMING_ACCUM): Remove.
31595         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
31596         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
31597         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
31599         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
31600         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
31601         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
31602         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
31603         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
31604         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
31605         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
31606         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
31608         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
31610 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
31612         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
31614 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
31616         Sync up with gettext.
31617         * intl/loadmsgcat.c: Define O_BINARY if not defined.
31618         [_MSC_VER]: Include malloc.h
31619         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
31620         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
31621         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
31622         TEMP_FAILURE_RETRY.  Cast return of alloca.
31623         [!_LIBC] Call gl_rwlock_init.
31624         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
31626 2014-07-02  Roland McGrath  <roland@hack.frob.com>
31628         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
31629         before checking its value.
31631 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
31633         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
31635         * debug/memcpy_chk.c: Don't include pagecopy.h.
31636         * debug/mempcpy_chk.c: Likewise.
31637         * string/memcpy.c: Likewise.
31638         * string/memmove.c: Likewise.
31639         * sysdeps/powerpc/memmove.c: Likewise.
31640         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
31641         definition of PAGE_COPY_FWD_MAYBE here...
31642         * sysdeps/generic/pagecopy.h: ... from here.
31643         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
31645 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
31646             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31648         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
31649         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
31650         optimizations.
31651         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
31652         (__libc_ifunc_impl_list): Likewise.
31653         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
31654         multiarch strcat for PPC64.
31655         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
31656         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
31658 2014-07-02  Roland McGrath  <roland@hack.frob.com>
31660         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
31662 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
31664         * intl/loadmsgcat.c: Remove declaration of
31665         get_sysdep_segment_value.
31666         (get_sysdep_segment_value): Use ISO C style.
31667         (_nl_load_domain): Use ISO C style.  Get rid of redundant
31668         semicolon.  Fix typo and formatting in comment.
31669         (_nl_unload_domain): Use ISO C style.
31671         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
31673 2014-07-02  Will Newton  <will.newton@linaro.org>
31675         * malloc/obstack.c: Merge from gnulib master.
31676         [HAVE_CONFIG_H]: Remove conditional code.
31677         [!_LIBC]: Include config.h.
31678         [!ELIDE_CODE]: Don't include inttypes.h, include
31679         stdint.h unconditionally.
31680         (print_and_abort): Mark as _Noreturn.
31681         (_obstack_allocated_p): Mark as __attribute_pure__.
31682         (obstack_free): Rename to __obstack_free.
31683         [!__attribute__]: Remove conditional code.
31684         * malloc/obstack.h: Merge from gnulib master.
31685         [__cplusplus]: Move conditional down.
31686         [!__attribute_pure__]: Define __attribute_pure__ here
31687         if it is not already defined.
31688         (_obstack_memory_used): Mark as __attribute_pure__.
31689         [!__obstack_free]: Define as obstack_free.
31690         [__GNUC__]: Remove check for ancient NeXT gcc.
31692 2014-07-02  Will Newton  <will.newton@linaro.org>
31693             Paul Eggert  <eggert@cs.ucla.edu>
31695         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
31697 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
31699         * resolv/gethnamaddr.c: Add comment warning that the file is
31700         not maintained.
31702 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
31704         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
31705         entries.
31707         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
31708         entry for aio_cancel and aio_cancel64.
31709         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
31710         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
31711         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
31712         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
31713         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
31714         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
31715         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
31716         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
31717         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
31718         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
31719         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
31720         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
31721         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
31723 2014-07-01  Roland McGrath  <roland@hack.frob.com>
31725         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
31726         * nptl/pthread_mutex_lock.c: Likewise.
31727         * nptl/pthread_mutex_timedlock.c: Likewise.
31728         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
31730 2014-07-01  Richard henderson  <rth@redhat.com>
31732         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
31733         (__isnan, __isnanl): Remove.
31734         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
31736         * sysdeps/alpha/fpu/libm-test-ulps: Update.
31738 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
31740         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
31742 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
31744         * resolv/nss_dns/dns-host.c (getanswer_r)
31745         [MULTI_PTRS_ARE_ALIASES]: Remove code.
31747 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
31749         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
31750         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
31751         undefine.
31752         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
31753         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
31755 2014-07-01  Roland McGrath <roland@hack.frob.com>
31757         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
31758         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
31760         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
31761         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
31763         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
31764         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
31765         ... here.
31766         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
31767         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
31769         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
31770         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
31771         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
31772         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
31774         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
31775         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
31776         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
31777         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
31778         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
31779         Moved ...
31780         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
31781         ... here.
31782         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
31783         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
31784         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
31785         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
31786         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
31787         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
31788         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
31789         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
31790         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
31791         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
31792         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
31793         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
31794         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
31795         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
31796         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
31797         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
31798         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
31799         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
31800         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
31801         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
31802         ... here.
31803         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
31804         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
31805         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
31806         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
31807         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
31808         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
31809         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
31810         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
31812 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
31814         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
31815         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
31816         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
31817         Add sysdep.
31819 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31821         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31823 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
31825         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
31826         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
31828         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
31830         * sysdeps/arm/libm-test-ulps: Regenerated.
31832 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
31833             Roland McGrath <roland@hack.frob.com>
31835         * test-skeleton.c (signal_handler): Kill the whole process group
31836         before killing the child individually.
31837         (main): Report any failure on `setpgid'.
31839 2014-06-30  Roland McGrath  <roland@hack.frob.com>
31841         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
31842         from _TLS_H to _ARM_NPTL_TLS_H.
31843         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
31844         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
31846 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
31848         [BZ #16539]
31849         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
31850         (__expm1l): Return argument unchanged when small but not
31851         subnormal.
31853         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
31854         include macro name.
31855         (_FP_UNPACK_RAW_1_P): Likewise.
31856         (_FP_PACK_RAW_1): Likewise.
31857         (_FP_PACK_RAW_1_P): Likewise.
31858         (_FP_MUL_MEAT_1_wide): Likewise.
31859         (_FP_MUL_MEAT_DW_1_hard): Likewise.
31860         (_FP_MUL_MEAT_1_hard): Likewise.
31861         (_FP_DIV_MEAT_1_imm): Likewise.
31862         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
31863         (_FP_DIV_MEAT_1_udiv): Likewise.
31864         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
31865         (_FP_UNPACK_RAW_2): Likewise.
31866         (_FP_UNPACK_RAW_2_P): Likewise.
31867         (_FP_PACK_RAW_2): Likewise.
31868         (_FP_PACK_RAW_2_P): Likewise.
31869         (_FP_MUL_MEAT_DW_2_wide): Likewise.
31870         (_FP_MUL_MEAT_2_wide): Likewise.
31871         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
31872         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
31873         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
31874         (_FP_MUL_MEAT_2_gmp): Likewise.
31875         (_FP_DIV_MEAT_2_udiv): Likewise.
31876         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
31877         (_FP_FRAC_SRL_4): Likewise.
31878         (_FP_FRAC_SRST_4): Likewise.
31879         (_FP_FRAC_SRS_4): Likewise.
31880         (_FP_UNPACK_RAW_4): Likewise.
31881         (_FP_UNPACK_RAW_4_P): Likewise.
31882         (_FP_PACK_RAW_4): Likewise.
31883         (_FP_PACK_RAW_4_P): Likewise.
31884         (_FP_MUL_MEAT_DW_4_wide): Likewise.
31885         (_FP_MUL_MEAT_4_wide): Likewise.
31886         (_FP_MUL_MEAT_4_gmp): Likewise.
31887         (umul_ppppmnnn): Likewise.
31888         (_FP_DIV_MEAT_4_udiv): Likewise.
31889         (__FP_FRAC_ADD_4): Likewise.
31890         (__FP_FRAC_SUB_3): Likewise.
31891         (__FP_FRAC_SUB_4): Likewise.
31892         (__FP_FRAC_DEC_3): Likewise.
31893         (__FP_FRAC_DEC_4): Likewise.
31894         (__FP_FRAC_ADDI_4): Likewise.
31895         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
31896         (_FP_FRAC_SRL_8): Likewise.
31897         (_FP_FRAC_SRS_8): Likewise.
31899         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
31900         include macro name.
31901         (FP_UNPACK_RAW_EP): Likewise.
31902         (FP_PACK_RAW_E): Likewise.
31903         (FP_PACK_RAW_EP): Likewise.
31904         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
31905         (_FP_ISSIGNAN): Likewise.
31906         (_FP_ADD_INTERNAL): Likewise.
31907         (_FP_FMA): Likewise.
31908         (_FP_CMP): Likewise.
31909         (_FP_SQRT): Likewise.
31910         (_FP_TO_INT): Likewise.
31911         (_FP_FROM_INT): Likewise.
31912         (FP_EXTEND): Likewise.
31913         (_FP_DIV_MEAT_N_loop): Likewise.
31915 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
31917         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
31918         throughout.
31920 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
31922         [BZ #17097]
31923         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
31924         result with correct sign in case of exponents that produce
31925         overflow except for X very close to 1.
31927 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
31929         mktime: merge #if/#ifdef usage from glibc
31930         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
31931         as that works with both Glibc's and Gnulib's style.
31932         See thread starting at Siddhesh Poyarekar's bug report at:
31933         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
31935 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
31937         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
31938         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
31939         * sysdeps/tile/tilegx/memmove.c: Remove file.
31941 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
31943         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
31944         abi-name definition.
31945         * scripts/soversions.awk: Do not handle or generate ABI lines.
31946         * shlib-versions: Remove ABI entries.
31947         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
31948         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
31950 2014-06-27  Roland McGrath  <roland@hack.frob.com>
31952         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
31953         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
31954         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
31955         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
31956         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
31957         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
31958         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
31959         Moved ...
31960         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
31961         ... here.
31962         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
31963         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
31964         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
31965         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
31966         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
31967         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
31968         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
31969         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
31970         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
31971         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
31972         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
31973         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
31974         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
31975         Moved ...
31976         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
31977         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
31978         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
31979         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
31980         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
31981         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
31982         Moved ...
31983         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
31984         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
31985         Moved ...
31986         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
31987         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
31988         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
31989         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
31990         Moved ...
31991         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
31992         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
31993         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
31994         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
31995         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
31996         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
31997         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
31998         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
31999         Moved ...
32000         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
32001         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
32002         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
32003         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
32004         Moved ...
32005         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
32006         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
32007         Moved ...
32008         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
32009         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
32010         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
32011         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
32012         Moved ...
32013         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
32014         ... here.
32015         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
32016         Identical file removed.
32017         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
32018         Moved ...
32019         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
32020         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
32021         Identical file removed.
32022         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
32023         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
32024         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
32025         Moved ...
32026         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
32027         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
32028         Identical file removed.
32029         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
32030         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
32031         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
32032         Identical file removed.
32033         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
32034         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
32035         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
32036         Identical file removed.
32037         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
32038         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
32039         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
32040         Identical file removed.
32041         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
32042         Moved ...
32043         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
32044         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
32045         Identical file removed.
32046         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
32047         Moved ...
32048         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
32049         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
32050         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
32051         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
32052         Identical file removed.
32053         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
32054         Moved ...
32055         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
32056         ... here.
32057         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
32058         Identical file removed.
32059         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
32060         Moved ...
32061         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
32062         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
32063         Identical file removed.
32064         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
32065         Moved ...
32066         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
32067         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
32068         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
32069         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
32070         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
32071         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
32072         Moved ...
32073         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
32074         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
32075         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
32077         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
32078         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
32079         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
32080         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
32081         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
32083 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
32085         [BZ #17092]
32086         * nscd/nscd.c (monitor_child): Return exit status of child
32087         instead of return value from wait syscall.
32089 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
32091         * configure.ac (libc_commonpagesize): Remove variable.
32092         (libc_relro_required): Likewise.
32093         (libc_cv_z_relro): Remove configure test.
32094         * configure: Regenerated.
32095         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
32096         variable.
32097         (libc_relro_required): Likewise.
32098         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
32099         (libc_relro_required): Likewise.
32100         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
32101         (libc_relro_required): Likewise.
32102         * sysdeps/arm/preconfigure: Regenerated.
32103         * sysdeps/ia64/preconfigure: Remove file.
32104         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
32105         variable.
32106         (libc_relro_required): Likewise.
32108         [BZ #16561]
32109         [BZ #16562]
32110         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
32111         (__ieee754_yn): Set FE_TONEAREST mode internally and then
32112         recompute overflowing results in original rounding mode.
32113         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
32114         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
32115         recompute overflowing results in original rounding mode.
32116         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
32117         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
32118         recompute overflowing results in original rounding mode.
32119         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
32120         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
32121         recompute overflowing results in original rounding mode.
32122         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
32123         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
32124         recompute overflowing results in original rounding mode.
32125         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
32126         (libc_feholdsetround_ctx): New macro.
32127         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
32128         * sysdeps/i386/fpu/libm-test-ulps: Update.
32129         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
32131 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
32133         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
32134         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
32135         corresponding .cpsetup call.
32137 2014-06-26  Roland McGrath  <roland@hack.frob.com>
32139         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
32140         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
32141         * sysdeps/arm/Makefile [$(subdir) = csu]
32142         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
32143         (static-only-routines): Add aeabi_read_tp here.
32144         (shared-only-routines): Add libc-aeabi_read_tp here.
32145         (CFLAGS-libc-start.c): Add -fexceptions here.
32146         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
32147         (sysdep_routines, static-only-routines, shared-only-routines):
32148         Don't add to these here.
32149         (CFLAGS-libc-start.c): Likewise.
32151         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
32152         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
32153         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
32154         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
32155         * sysdeps/arm/Makefile [$(subdir) = rt]
32156         (librt-sysdep_routines, librt-shared-only-routines):
32157         Append rt-aeabi_unwind_cpp_pr1 here.
32158         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
32159         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
32160         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
32161         (libpthread-sysdep_routines, libpthread-shared-only-routines):
32162         Append nptl-aeabi_unwind_cpp_pr1 here.
32163         (tests): Filter out tst-cleanupx4 here.
32164         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
32165         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
32166         Don't do those here.
32168 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
32170         * scripts/list-sources.sh: Do not handle ports specially.
32172 2014-06-26  Roland McGrath  <roland@hack.frob.com>
32174         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
32175         * sysdeps/arm/feupdateenv.c: Likewise.
32177         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
32179 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
32181         * manual/texinfo.tex: Update to version 2014-05-05.10 with
32182         trailing whitespace removed.
32183         * scripts/config.guess: Update to version 2014-03-23.
32184         * scripts/config.sub: Update to version 2014-05-01
32185         * scripts/install-sh: Update to version 2013-12-25.23.
32186         * scripts/move-if-change: Update from gnulib.
32188 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
32190         * debug/memmove_chk.c: Remove pagecopy.h include.
32192 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
32194         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
32195         identical to gnulib mktime.
32197 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
32199         * configure.ac: Do not test for machine being rs6000.  Do not test
32200         for powerpc*-*soft.
32201         * configure: Regenerated.
32203         [BZ #11505]
32204         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
32205         test.
32206         * configure: Regenerated.
32207         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
32208         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
32209         Remove configure test.
32210         * sysdeps/arm/configure: Regenerated.
32211         * sysdeps/nptl/configure.ac: Do not check
32212         libc_cv_asm_cfi_directives.
32213         * sysdeps/nptl/configure: Regenerated.
32214         * sysdeps/x86_64/nptl/configure.ac: Remove file.
32215         * sysdeps/x86_64/nptl/configure: Remove generated file.
32216         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
32217         unconditional.
32218         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
32220 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
32222         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
32223         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
32224         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
32225         it is defined.
32227         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
32228         instead of whether it is defined.
32229         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
32230         * sysdeps/hppa/dl-machine.h: Likewise.
32231         * sysdeps/ia64/dl-machine.h: Likewise.
32232         * sysdeps/m68k/dl-machine.h: Likewise.
32233         * sysdeps/microblaze/dl-machine.h: Likewise.
32234         * sysdeps/mips/dl-machine.: Likewise.
32235         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
32236         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
32237         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
32238         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
32239         * sysdeps/sh/dl-machine.h: Likewise.
32240         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
32241         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
32242         * sysdeps/tile/dl-machine.h: Likewise.
32243         * sysdeps/x86_64/dl-machine.h: Likewise.
32245         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
32246         code.
32247         (verify_persistent_db): Likewise.
32249 2014-06-26  Roland McGrath  <roland@hack.frob.com>
32251         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
32252         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
32253         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
32254         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
32255         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
32256         Moved ...
32257         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
32258         ... here.
32259         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
32260         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
32261         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
32262         Identical file removed.
32263         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
32264         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
32265         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
32266         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
32267         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
32268         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
32269         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
32270         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
32271         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
32272         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
32273         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
32274         Moved ...
32275         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
32276         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
32277         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
32278         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
32279         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
32280         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
32281         Moved ...
32282         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
32283         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
32284         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
32285         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
32286         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
32287         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
32288         Identical file removed.
32289         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
32290         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
32291         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
32292         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
32293         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
32294         Moved ...
32295         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
32296         ... here.
32297         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
32298         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
32299         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
32300         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
32301         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
32302         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
32303         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
32304         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
32305         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
32306         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
32307         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
32308         Moved ...
32309         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
32310         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
32311         Moved ...
32312         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
32313         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
32314         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
32315         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
32316         Moved ...
32317         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
32318         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
32319         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
32321         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
32322         folded into ...
32323         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
32324         * sysdeps/unix/sysv/linux/s390/Versions
32325         (libpthread: GLIBC_2.19): New version set.
32326         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
32327         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
32328         (librt: GLIBC_2.3.3): New version set.
32329         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
32330         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
32331         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
32332         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
32333         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
32334         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
32335         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
32336         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
32337         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
32338         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
32339         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
32340         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
32341         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
32342         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
32343         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
32344         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
32345         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
32346         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
32347         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
32348         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
32349         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
32350         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
32351         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
32352         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
32353         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
32354         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
32355         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
32356         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
32357         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
32358         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
32359         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
32360         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
32361         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
32362         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
32363         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
32364         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
32365         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
32366         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
32367         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
32368         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
32369         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
32370         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
32371         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
32372         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
32373         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
32375         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
32376         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
32377         (__libc_vfork): Define the function under this name.
32378         [!NOT_IN_libc] (__vfork): Make this an alias.
32379         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
32380         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
32381         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
32382         (__libc_vfork): Define the function under this name.
32383         [!NOT_IN_libc] (__vfork): Make this an alias.
32384         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
32385         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
32386         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
32387         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
32388         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
32389         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
32391         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
32392         code that was previously under [RESET_PID].
32393         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
32394         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
32395         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
32397         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
32398         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
32399         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
32400         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
32401         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
32402         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
32403         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
32404         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
32405         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
32406         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
32407         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
32408         Moved ...
32409         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
32410         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
32411         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
32412         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
32413         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
32414         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
32415         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
32416         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
32417         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
32418         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
32419         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
32420         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
32421         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
32422         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
32423         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
32424         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
32425         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
32426         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
32427         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
32428         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
32429         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
32430         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
32431         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
32432         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
32433         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
32434         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
32435         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
32436         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
32437         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
32439 2014-06-25  Roland McGrath  <roland@hack.frob.com>
32441         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
32442         that was previously under [RESET_PID].
32443         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
32445 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
32447         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
32448         not undefine and redefine.
32449         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
32450         [O_CLOEXEC]: Make code unconditional.
32451         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
32452         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
32453         <kernel-features.h>.
32454         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
32455         conditional variable definition.
32456         (shm_open) [O_CLOEXEC]: Make code unconditional.
32457         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
32458         code.
32460         * configure.ac (USE_REGPARMS): Don't define here.
32461         * configure: Regenerated.
32462         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
32463         * sysdeps/i386/configure: Regenerated.
32465         * nptl/createthread.c: Don't include kernel-features.h.
32466         * nptl/pthread_cancel.c: Likewise.
32467         * nptl/pthread_condattr_setclock.c: Likewise.
32468         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
32469         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
32470         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
32471         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
32472         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
32473         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
32474         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
32475         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
32476         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
32477         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
32478         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
32479         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
32480         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
32481         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
32482         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
32483         * nscd/gai.c: Likewise.
32484         * nss/nss_db/db-open.c: Likewise.
32485         * sysdeps/generic/ldsodefs.h: Likewise.
32486         * sysdeps/sh/nptl/tls.h: Likewise.
32487         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
32488         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
32489         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
32490         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
32491         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
32492         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
32493         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
32494         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
32495         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
32496         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
32497         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
32498         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
32499         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
32500         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
32501         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
32502         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
32503         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
32504         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
32505         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
32506         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
32507         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
32508         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
32509         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
32510         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
32511         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
32512         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
32513         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
32514         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
32515         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
32516         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
32517         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
32518         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
32519         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
32520         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
32521         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
32522         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
32523         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
32524         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
32525         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
32526         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
32527         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
32528         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
32529         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
32530         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
32531         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
32532         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
32533         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
32534         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
32535         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
32536         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
32537         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
32538         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
32539         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
32540         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
32541         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
32542         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
32543         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
32544         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
32545         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
32546         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
32547         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
32548         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
32549         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
32550         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
32551         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
32552         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
32553         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
32554         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
32555         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
32556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
32557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
32558         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
32559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
32560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
32561         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
32562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
32563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
32564         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
32565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
32566         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
32567         * sysdeps/unix/sysv/linux/pread.c: Likewise.
32568         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
32569         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
32570         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
32571         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
32572         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
32573         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
32574         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
32575         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
32576         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
32577         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
32578         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
32579         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
32580         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
32581         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
32582         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
32583         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
32584         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
32585         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
32586         * sysdeps/unix/sysv/linux/system.c: Likewise.
32587         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
32588         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
32589         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
32590         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
32591         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
32592         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
32593         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
32595         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
32596         * configure: Regenerated.
32597         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
32599         * configure.ac (base_machine): Do not set specially for particular
32600         machines here.
32601         * configure: Regenerated.
32602         * sysdeps/powerpc/preconfigure: Move machine and base_machine
32603         settings from configure.ac.
32604         * sysdeps/i386/preconfigure: New file.
32605         * sysdeps/s390/preconfigure: Likewise.
32606         * sysdeps/sh/preconfigure: Likewise.
32607         * sysdeps/sparc/preconfigure: Likewise.
32609 2014-06-25  Roland McGrath  <roland@hack.frob.com>
32611         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
32612         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
32613         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
32614         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
32615         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
32616         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
32617         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
32618         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
32619         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
32620         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
32621         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
32622         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
32623         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
32624         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
32625         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
32626         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
32627         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
32628         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
32629         * sysdeps/sparc/sparc64/Makefile: ... appended here.
32631         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
32632         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
32633         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
32634         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
32635         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
32636         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
32637         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
32638         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
32639         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
32640         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
32641         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
32642         * sysdeps/sparc/sparc32/sem_post.c: ... here.
32643         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
32644         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
32645         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
32646         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
32647         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
32648         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
32649         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
32650         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
32651         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
32652         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
32653         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
32654         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
32655         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
32656         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
32657         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
32658         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
32659         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
32660         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
32661         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
32662         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
32663         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
32664         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
32665         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
32666         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
32667         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
32668         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
32670         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
32671         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
32672         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
32673         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
32674         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
32675         Moved ...
32676         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
32677         ... here.
32678         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
32679         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
32680         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
32681         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
32682         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
32683         Moved ...
32684         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
32685         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
32686         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
32687         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
32688         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
32689         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
32690         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
32691         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
32692         Moved ...
32693         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
32694         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
32695         Moved ...
32696         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
32697         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
32698         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
32699         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
32700         Moved ...
32701         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
32702         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
32703         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
32704         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
32705         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
32706         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
32707         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
32708         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
32709         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
32710         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
32711         Moved ...
32712         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
32713         ... here.
32714         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
32715         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
32716         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
32717         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
32718         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
32719         Moved ...
32720         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
32721         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
32722         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
32723         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
32724         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
32725         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
32726         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
32727         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
32728         Moved ...
32729         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
32730         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
32731         Moved ...
32732         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
32733         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
32734         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
32735         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
32736         Moved ...
32737         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
32738         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
32739         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
32740         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
32741         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
32743 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
32745         * timezone/checktab.awk: Update from tzcode 2014e.
32746         * timezone/private.h: Likewise.
32747         * timezone/tzfile.h: Likewise.
32748         * timezone/zdump.c: Likewise.
32749         * timezone/zic.c: Likewise.
32751         * sysdeps/unix/sysv/linux/kernel-features.h
32752         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
32753         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
32754         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
32755         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
32756         Remove conditional code.
32758 2014-06-25  Will Newton  <will.newton@linaro.org>
32760         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
32761         (_dl_arm_cap_flags): Add HWCAP2 values.
32762         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
32763         (_DL_HWCAP_COUNT): Increase to 37.
32764         (_DL_HWCAP_LAST): New define.
32765         (_DL_HWCAP2_LAST): New define.
32766         (_dl_procinfo): Add support for printing
32767         AT_HWCAP2 entries.
32768         (_dl_string_hwcap): Use _dl_hwcap_string.
32770 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32772         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32774 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
32776         * README: Do not mention ports directory.
32778         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
32779         Remove macro.
32780         * sysdeps/unix/sysv/linux/futimes.c: Do not include
32781         <kernel-features.h>.
32782         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
32783         conditional variable definition.
32784         (__futimes): Update comment.
32785         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
32786         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
32788         [BZ #16560]
32789         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
32790         arguments close to 0.
32791         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
32792         Likewise.
32793         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
32794         Likewise.
32795         * math/auto-libm-test-in: Add more tests of exp10.
32796         * math/auto-libm-test-out: Regenerated.
32797         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32799         * sysdeps/unix/sysv/linux/kernel-features.h
32800         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
32801         * sysdeps/unix/sysv/linux/readv.c: Do not include
32802         <kernel-features.h>.
32803         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
32804         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
32805         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
32806         unconditional.
32807         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
32808         conditional code.
32809         * sysdeps/unix/sysv/linux/writev.c: Do not include
32810         <kernel-features.h>.
32811         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
32812         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
32813         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
32814         unconditional.
32815         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
32816         conditional code.
32818 2014-06-25  Will Newton  <will.newton@linaro.org>
32820         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
32821         comment changes throughout the file.  Remove checks
32822         for HAVE_*_H definitions that are not required.
32823         (__gen_tempname): Call abort if an unknown kind value is
32824         passed.
32826 2014-06-25  Andreas Schwab  <schwab@suse.de>
32828         [BZ #17086]
32829         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
32830         scalbln, scalblnf, scalblnl in libc.
32832 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
32834         [BZ #17086]
32835         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
32836         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
32837         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
32839 2014-06-24  Roland McGrath  <roland@hack.frob.com>
32841         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
32842         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
32843         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
32844         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
32845         Update #include.
32846         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
32847         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
32848         Update #include.
32849         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
32850         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
32851         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
32852         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
32853         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
32854         * sysdeps/x86/bits/pthreadtypes.h: ... here.
32855         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
32856         * sysdeps/x86/bits/semaphore.h: ... here.
32857         * sysdeps/x86/nptl/elide.h: Moved ...
32858         * sysdeps/x86/elide.h: ... here.
32859         * sysdeps/x86_64/nptl/Implies: File removed.
32860         * sysdeps/i386/nptl/Implies: File removed.
32862 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
32864         [BZ #16539]
32865         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
32866         return the argument for normal arguments with exponent below -64.
32867         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
32868         Likewise.
32869         * math/auto-libm-test-in: Add another test of expm1.
32870         * math/auto-libm-test-out: Regenerated.
32872         [BZ #16287]
32873         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
32874         calling __erfcl for arguments at least 16.
32875         * math/auto-libm-test-in: Add more tests of erf.
32876         * math/auto-libm-test-out: Regenerated.
32878         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
32879         individual architectures.
32880         * sysdeps/unix/sysv/linux/configure: Regenerated.
32881         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
32882         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
32883         * sysdeps/unix/sysv/linux/powerpc/configure.ac
32884         (ldd_rewrite_script): Define variable.
32885         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
32886         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
32887         file.
32888         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
32889         generated file.
32890         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
32891         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
32892         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
32893         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
32894         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
32895         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
32896         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
32897         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
32899 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
32901         [BZ #17084]
32902         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
32903         Rename member __data.d to __data.__elision_data.
32905 2014-06-24  Wilco  <wdijkstr@arm.com>
32907         * NEWS: Add 16918 to fixed bug list.
32909 2014-06-24  Wilco  <wdijkstr@arm.com>
32911         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
32913 2014-06-24  Wilco  <wdijkstr@arm.com>
32915         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
32916         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
32917         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
32918         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
32919         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
32920         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
32921         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
32922         Use _FPU_MASK_RM.
32924 2014-06-24  Wilco  <wdijkstr@arm.com>
32926         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
32928 2014-06-24  Wilco  <wdijkstr@arm.com>
32930         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
32931         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
32932         * sysdeps/arm/fesetround.c (fesetround): Remove space.
32933         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
32935 2014-06-24  Wilco  <wdijkstr@arm.com>
32937         [BZ #16918]
32938         * sysdeps/arm/feupdateenv.c (feupdateenv):
32939         Rewrite to reduce FPSCR accesses and fix return value.
32941 2014-06-24  Wilco  <wdijkstr@arm.com>
32943         * sysdeps/arm/fclrexcpt.c (feclearexcept):
32944         Optimize to avoid unnecessary FPSCR writes.
32945         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
32946         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
32947         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
32948         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
32950 2014-06-24  Wilco  <wdijkstr@arm.com>
32952         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
32953         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
32954         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
32955         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
32956         Call libc_fetestexcept_vfp.
32957         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
32958         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
32959         __SOFTFP__ ifdef so that they can be built for softfp.
32961 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
32963         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
32964         argument type signed char.
32966         * Makerules (check-abi): Dump diff of symlist if the test
32967         fails.
32969 2014-06-23  Roland McGrath  <roland@hack.frob.com>
32971         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
32972         using abort.
32974         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
32975         Remove unused variable ST.
32977 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
32979         [BZ #16354]
32980         [BZ #17061]
32981         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
32982         small arguments before calling __expm1.
32983         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
32984         small arguments before calling __expm1f.
32985         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
32986         small arguments before calling __expm1l.
32987         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
32988         Likewise.
32989         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
32990         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
32991         spurious underflow for some cosh tests.
32992         * math/auto-libm-test-out: Regenerated.
32993         * sysdeps/i386/fpu/libm-test-ulps: Update.
32995         [BZ #17050]
32996         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
32997         (__ieee754_y1): Set errno if return value overflows.
32998         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
32999         (__ieee754_y1f): Set errno if return value overflows.
33000         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
33001         (__ieee754_y1l): Set errno if return value overflows.
33002         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
33003         (__ieee754_y1l): Set errno if return value overflows.
33004         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
33005         * math/auto-libm-test-out: Regenerated.
33007         * math/gen-auto-libm-tests.c: Document use of
33008         ignore-zero-inf-sign.
33009         (input_flag_type): Add value flag_ignore_zero_inf_sign.
33010         (input_flags): Add ignore-zero-inf-sign.
33011         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
33012         * math/gen-libm-test.pl (generate_testfile): Handle
33013         ignore-zero-inf-sign.
33014         * math/auto-libm-test-in: Mark some cpow tests with
33015         ignore-zero-inf-sign and some with xfail-rounding.
33016         * math/auto-libm-test-out: Regenerated.
33017         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
33018         * sysdeps/i386/fpu/libm-test-ulps: Update.
33019         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33021         [BZ #16315]
33022         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
33023         overflowing or underflowing operations take place with sign of
33024         result.
33025         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
33026         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
33027         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
33028         (__ieee754_pow): Recompute overflowing and underflowing results in
33029         original rounding mode.
33030         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
33031         (__powl_helper): Allow negative argument X and scale negated value
33032         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
33033         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
33034         overflowing or underflowing operations take place with sign of
33035         result.
33036         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
33037         Include <math.h>.
33038         * math/auto-libm-test-in: Add more tests of pow.
33039         * math/auto-libm-test-out: Regenerated.
33040         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
33041         (pow_tonearest_test_data): Remove.
33042         (pow_test_tonearest): Likewise.
33043         (pow_towardzero_test_data): Likewise.
33044         (pow_test_towardzero): Likewise.
33045         (pow_downward_test_data): Likewise.
33046         (pow_test_downward): Likewise.
33047         (pow_upward_test_data): Likewise.
33048         (pow_test_upward): Likewise.
33049         (main): Don't call removed functions.
33050         * sysdeps/i386/fpu/libm-test-ulps: Update.
33051         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33053 2014-06-23  Roland McGrath  <roland@hack.frob.com>
33055         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
33056         Moved ...
33057         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
33058         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33059         Moved ...
33060         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
33061         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
33062         Moved ...
33063         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
33064         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
33065         Moved ...
33066         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
33067         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
33068         File removed.
33069         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
33070         File removed.
33071         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
33072         File removed.
33073         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
33074         File removed.
33075         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
33076         File removed.
33077         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
33078         File removed.
33079         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
33080         File removed.
33081         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
33082         File removed.
33083         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
33084         File removed.
33085         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
33086         File removed.
33087         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
33088         File removed.
33089         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
33090         File removed.
33091         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
33092         Moved ...
33093         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
33094         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
33095         Moved ...
33096         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
33097         ... here.
33098         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
33099         Moved ...
33100         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
33101         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
33102         Moved ...
33103         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
33104         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
33105         Moved ...
33106         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
33107         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
33108         Moved ...
33109         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
33110         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
33111         Moved ...
33112         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
33113         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
33114         Moved ...
33115         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
33116         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
33117         Moved ...
33118         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
33119         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
33120         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
33121         ... here.
33122         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
33123         Moved ...
33124         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
33125         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
33126         Moved ...
33127         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
33128         ... here.
33129         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
33130         Moved ...
33131         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
33132         ... here.
33133         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
33134         Moved ...
33135         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
33136         ... here.
33137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
33138         Moved ...
33139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
33140         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
33141         Moved ...
33142         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
33143         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
33144         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
33145         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
33146         Moved ...
33147         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
33148         ... here.
33149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
33150         Moved ...
33151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
33152         ... here.
33153         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
33154         Moved ...
33155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
33156         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
33157         Moved ...
33158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
33159         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
33160         Moved ...
33161         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
33162         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33163         Moved ...
33164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
33165         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
33166         Moved ...
33167         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
33168         ... here.
33169         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
33170         Moved ...
33171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
33172         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
33173         Moved ...
33174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
33175         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
33176         Moved ...
33177         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
33178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
33179         Moved ...
33180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
33181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
33182         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
33183         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
33184         Moved ...
33185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
33186         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
33187         Moved ...
33188         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
33189         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
33190         Moved ...
33191         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
33192         ... here.
33193         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
33194         Moved ...
33195         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
33196         ... here.
33197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
33198         Moved ...
33199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
33200         ... here.
33201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
33202         Moved ...
33203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
33204         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
33205         Moved ...
33206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
33207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
33208         Moved ...
33209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
33210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
33211         Moved ...
33212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
33213         ... here.
33214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
33215         Moved ...
33216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
33217         ... here.
33218         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
33219         Moved ...
33220         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
33221         ... here.
33222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
33223         Moved ...
33224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
33225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
33226         Moved ...
33227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
33229 2014-06-23  Will Newton  <will.newton@linaro.org>
33230             Wilco  <wdijkstr@arm.com>
33232         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
33233         implementation.  Include get-rounding-mode.h.
33234         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
33235         [!libc_feholdsetround_noex_ctx]: Define
33236         libc_feholdsetround_noex_ctx.
33237         [!libc_feholdsetround_noexf_ctx]: Define
33238         libc_feholdsetround_noexf_ctx.
33239         [!libc_feholdsetround_noexl_ctx]: Define
33240         libc_feholdsetround_noexl_ctx.
33241         (libc_feholdsetround_ctx): New function.
33242         (libc_feresetround_ctx): New function.
33243         (libc_feholdsetround_noex_ctx): New function.
33244         (libc_feresetround_noex_ctx): New function.
33246 2014-06-23  Roland McGrath  <roland@hack.frob.com>
33248         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
33249         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
33250         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
33251         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
33252         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
33253         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
33255         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
33256         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
33257         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
33258         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
33259         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
33260         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
33261         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
33262         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
33263         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
33264         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
33265         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
33266         Moved ...
33267         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
33268         ... here.
33269         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
33270         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
33271         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
33272         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
33273         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
33274         Moved ...
33275         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
33276         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
33277         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
33278         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
33279         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
33280         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
33281         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
33282         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
33283         Moved ...
33284         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
33285         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
33286         Moved ...
33287         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
33288         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
33289         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
33290         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
33291         Moved ...
33292         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
33293         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
33294         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
33295         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
33296         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
33297         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
33298         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
33299         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
33300         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
33301         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
33302         Moved ...
33303         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
33304         ... here.
33305         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
33306         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
33307         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
33308         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
33309         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
33310         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
33311         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
33312         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
33313         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
33314         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
33315         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
33316         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
33317         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
33318         Moved ...
33319         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
33320         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
33321         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
33322         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
33323         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
33324         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
33325         Moved ...
33326         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
33327         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
33328         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
33329         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
33330         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
33332         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
33333         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
33334         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
33335         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
33336         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
33337         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
33338         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
33339         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
33340         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
33341         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
33342         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
33343         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
33344         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
33345         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
33346         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
33347         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
33348         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
33349         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
33350         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
33351         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
33352         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
33353         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
33354         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
33355         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
33356         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
33357         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
33358         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
33359         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
33361 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
33363         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
33364         (FALLOC_FL_COLLAPSE_RANGE): New macro.
33365         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
33366         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
33367         (IPV6_PMTUDISC_INTERFACE): Likewise.
33368         (IPV6_PMTUDISC_OMIT): Likewise.
33370 2014-06-23  Andreas Schwab  <schwab@suse.de>
33372         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
33373         Remove unused errout label.
33375 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33377         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
33378         macro: hardware supports Vector Crypto instructions.
33380 2014-06-23  Will Newton  <will.newton@linaro.org>
33382         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
33383         rather than __builtin_expect.
33385         * elf/dl-lookup.c (undefined_msg): Remove variable.
33386         (_dl_lookup_symbol_x): Replace undefined_msg with string
33387         literal.
33389         * elf/dl-lookup.c (do_lookup_unique): New function.
33390         (do_lookup_x): Move STB_GNU_UNIQUE handling code
33391         to a separate function.
33393 2014-06-23  Andreas Schwab  <schwab@suse.de>
33395         [BZ #17079]
33396         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
33397         before reading the next line.
33399 2014-06-23  Will Newton  <will.newton@linaro.org>
33401         * test-skeleton.c (signal_handler): Use printf and %m
33402         rather than perror.  Use printf rather than fprintf to
33403         stderr.  Use puts rather than fputs to stderr.
33404         (main): Likewise.
33406 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
33408         * nscd/nscd.c (thread_info_t): Remove typedef.
33409         (thread_info): Remove variable.
33411 2014-06-21  Allan McRae  <allan@archlinux.org>
33413         * NEWS: Mention CVE-2014-4043.
33415 2014-06-20  Roland McGrath  <roland@hack.frob.com>
33417         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
33418         * nptl/smp.h: ... here.
33420         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
33422         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
33423         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
33424         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
33425         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
33427         * nptl/allocatestack.c: Include <stack-aliasing.h>.
33428         * nptl/stack-aliasing.h: New file.
33429         * sysdeps/i386/i686/stack-aliasing.h: New file.
33430         * sysdeps/i386/i686/nptl/Makefile: File removed.
33431         * sysdeps/x86_64/stack-aliasing.h: New file.
33432         * sysdeps/x86_64/nptl/Makefile
33433         (CFLAGS-pthread_create.c): Variable removed.
33435         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
33436         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
33437         old file.
33438         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
33439         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
33440         old file.
33442 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
33444         * sysdeps/unix/sysv/linux/arm/kernel-features.h
33445         (__ASSUME_SIGFRAME_V2): Remove macro.
33446         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
33447         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
33448         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
33449         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
33450         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
33451         Declare as function.  Remove conditional macro definitions.
33452         (__default_rt_sa_restorer): Likewise.
33453         (__default_sa_restorer_v1): Remove declaration.
33454         (__default_sa_restorer_v2): Likewise.
33455         (__default_rt_sa_restorer_v1): Likewise.
33456         (__default_rt_sa_restorer_v2): Likewise.
33457         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
33458         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
33459         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
33461 2014-06-20  Roland McGrath  <roland@hack.frob.com>
33463         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
33464         (libpthread-routines): Add sysdep.
33465         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
33466         * sysdeps/unix/sysv/linux/sparc/Versions
33467         (libpthread: GLIBC_2.3.3): New version set.
33468         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
33469         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
33470         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
33471         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
33472         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
33473         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
33474         Moved ...
33475         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
33476         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
33477         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
33478         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
33479         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
33480         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
33481         * sysdeps/sparc/nptl/sem_init.c: ... here.
33482         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
33483         * sysdeps/sparc/nptl/sem_post.c: ... here.
33484         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
33485         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
33486         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
33487         * sysdeps/sparc/nptl/sem_wait.c: ... here.
33488         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
33489         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
33490         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
33491         (libpthread-routines): Add cpu_relax.
33492         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
33493         File removed.
33494         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
33495         (librt: GLIBC_2.3.3): New version set.
33496         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
33497         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
33498         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
33499         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
33500         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
33501         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
33502         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
33503         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
33504         Moved ...
33505         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
33506         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
33507         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
33508         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
33509         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
33510         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
33511         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
33512         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
33513         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
33514         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
33515         Moved ...
33516         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
33517         Update #include.
33518         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
33519         Moved ...
33520         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
33521         Update #include.
33522         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
33523         Moved ...
33524         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
33525         Update #include.
33526         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
33527         Moved ...
33528         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
33529         Update #include.
33530         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
33531         Moved ...
33532         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
33533         Update #include.
33534         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
33535         Moved ...
33536         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
33537         Update #include.
33538         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
33539         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
33540         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
33541         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
33542         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
33543         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
33544         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
33545         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
33546         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
33547         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
33548         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
33549         Moved ...
33550         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
33551         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
33552         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
33553         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
33554         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
33556 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
33558         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
33559         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
33560         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
33561         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
33562         * nscd/nscd.c: Likewise.
33563         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
33564         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
33565         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
33566         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
33568         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
33569         <kernel-features.h>.
33570         (init_mq_netlink): Remove conditional have_sock_cloexec
33571         definitions.  Remove code conditional on have_sock_cloexec < 0.
33572         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
33573         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
33574         * sysdeps/unix/sysv/linux/opensock.c: Do not include
33575         <kernel-features.h>.
33576         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
33577         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
33579 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
33581         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
33582         Add tests for memset_chk and memset.
33584         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
33585         with AVX2_Usable.
33587 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
33589         [BZ #16046]
33590         * elf/tst-dl-iter-static.c: New file.
33591         * elf/Makefile (tests-static): Add tst-dl-iter-static.
33593         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
33594         error.
33596 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
33598         * sysdeps/unix/sysv/linux/kernel-features.h
33599         (__ASSUME_F_GETOWN_EX): Remove macro.
33600         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
33601         <kernel-features.h>.
33602         (miss_F_GETOWN_EX): Remove variable or macro.
33603         (do_fcntl): Do not check miss_F_GETOWN_EX.
33604         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
33606         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
33607         Remove macro.
33608         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
33609         [!__ASSUME_AT_RANDOM]: Remove conditional code.
33610         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
33612         * sysdeps/unix/sysv/linux/kernel-features.h
33613         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
33614         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
33615         [ADJ_OFFSET_SS_READ]: Make code unconditional.
33616         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
33618 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
33620         [BZ #17075]
33621         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
33622         Fix calculation of the symbol's value.
33623         * sysdeps/arm/tst-armtlsdescloc.c: New file.
33624         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
33625         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
33626         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
33627         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
33628         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
33629         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
33630         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
33631         (modules-names): Add `tst-armtlsdescmod',
33632         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
33633         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
33634         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
33635         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
33636         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
33637         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
33638         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
33639         ($(objpfx)tst-armtlsdescloc): New dependency.
33640         ($(objpfx)tst-armtlsdescextnow): Likewise.
33641         ($(objpfx)tst-armtlsdescextlazy): Likewise.
33642         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
33643         TLS scheme support.
33644         * sysdeps/arm/configure: Regenerate.
33646 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
33648         * include/fcntl.h (__atfct_seterrno): Remove prototype.
33649         (__atfct_seterrno_2): Likewise.
33650         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
33651         <kernel-features.h>.
33652         (__ASSUME_ATFCTS): Do not undefine and redefine.
33653         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
33654         (__have_atfcts): Remove conditional definition.
33655         (__fxstatat([__NR_fstatat64]: Make code unconditional.
33656         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
33657         unreachable if [__ASSUME_ATFCTS].
33658         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
33659         not undefine and redefine.
33660         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
33661         <kernel-features.h>.
33662         (faccessat) [__NR_faccessat]: Make code unconditional.
33663         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
33664         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
33665         <kernel-features.h>.
33666         (fchmodat) [__NR_fchmodat]: Make code unconditional.
33667         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
33668         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
33669         <kernel-features.h>.
33670         (fchownat) [__NR_fchownat]: Make code unconditional.
33671         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
33672         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
33673         <kernel-features.h>.
33674         (futimesat) [__NR_futimesat]: Make code unconditional.
33675         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
33676         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
33677         <kernel-features.h>.
33678         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
33679         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
33680         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
33681         <kernel-features.h>.
33682         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
33683         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
33684         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
33685         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
33686         <kernel-features.h>.
33687         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
33688         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
33689         * sysdeps/unix/sysv/linux/linkat.c: Do not include
33690         <kernel-features.h>.
33691         (linkat) [__NR_linkat]: Make code unconditional.
33692         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
33693         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
33694         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
33695         <kernel-features.h>.
33696         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
33697         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
33698         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
33699         <kernel-features.h>.
33700         (mkdirat) [__NR_mkdirat]: Make code unconditional.
33701         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
33702         * sysdeps/unix/sysv/linux/openat.c: Do not include
33703         <kernel-features.h>.
33704         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
33705         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
33706         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
33707         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
33708         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
33709         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
33710         <kernel-features.h>.
33711         (readlinkat) [__NR_readlinkat]: Make code unconditional.
33712         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
33713         result of INLINE_SYSCALL directly, not via int variable.
33714         * sysdeps/unix/sysv/linux/renameat.c: Do not include
33715         <kernel-features.h>.
33716         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
33717         (renameat) [__NR_renameat]: Make code unconditional.
33718         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
33719         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
33720         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
33721         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
33722         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
33723         (__ASSUME_ATFCTS): Do not undefine and redefine.
33724         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
33725         <kernel-features.h>.
33726         (symlinkat) [__NR_symlinkat]: Make code unconditional.
33727         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
33728         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
33729         <kernel-features.h>.
33730         (unlinkat) [__NR_unlinkat]: Make code unconditional.
33731         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
33732         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
33733         (__ASSUME_ATFCTS): Do not undefine and redefine.
33734         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
33735         <kernel-features.h>.
33736         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
33737         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
33738         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
33739         <kernel-features.h>.
33740         (__xmknodat) [__NR_mknodat]: Make code unconditional.
33741         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
33743 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
33745         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
33747 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
33749         [BZ #17069]
33750         * posix/regcomp.c (parse_reg_exp): Deallocate partially
33751         constructed tree before returning error.
33752         * posix/bug-regexp36.c: Expand test case.
33754 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
33756         [BZ #6803]
33757         * math/libm-test.inc (scalbln_test_date):
33758         Add errno expectations.
33759         * math/w_scalblnf.c: New File.
33760         Add wrapper which checks for setting errno to ERANGE.
33761         Add weak_alias for corresponding scalbln function.
33762         * math/w_scalbln.c: Likewise.
33763         * math/w_scalblnl.c: Likewise.
33764         * math/Makefile (libm-calls): Add w_scalbln.
33765         * sysdeps/ieee754/flt-32/s_scalblnf.c:
33766         Remove weak_alias for corresponding scalbln function.
33767         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
33768         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
33769         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
33770         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
33771         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
33772         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
33773         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
33774         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
33775         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
33776         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
33777         Remove long_double_symbol for scalblnl function in libm, libc.
33778         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
33779         Add wrapper which checks for setting errno to ERANGE.
33780         Add long_double_symbol for scalblnl function in libm, libc.
33781         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
33782         Remove long_double_symbol for scalblnl in libm.
33783         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
33784         Add wrapper which checks for setting errno to ERANGE.
33785         Add long_double_symbol for scalblnl function in libm.
33786         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
33787         Do not use wrapper because of own implementation.
33789 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
33791         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
33792         3 bytes for __pad1 for x32.
33793         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
33795 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
33796             H.J. Lu  <hongjiu.lu@intel.com>
33798         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
33799         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
33800         * sysdeps/x86_64/multiarch/memset.S: Likewise.
33801         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
33802         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
33804 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
33806         [BZ #17069]
33807         * posix/regcomp.c (parse_expression): Deallocate partially
33808         constructed tree before returning error.
33809         * posix/Makefile.c (tests): Add bug-regex36.
33810         (generated): Add bug-regex36.mtrace.
33811         (tests-special): Add $(objpfx)bug-regex36-mem.out
33812         (bug-regex36-ENV): New variable.
33813         ($(objpfx)bug-regex36-mem.out): New rule.
33814         * posix/bug-regex36.c: New file.
33816 2014-06-19  Will Newton  <will.newton@linaro.org>
33818         * malloc/malloc.c (systrim): If extra is zero then return
33819         early.
33821 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
33823         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
33825 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
33827         * sysdeps/aarch64/strchr.S: New file.
33829 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
33831         [BZ #17022]
33832         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
33833         from arguments -2 or below.
33834         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
33835         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
33837 2014-06-18  Andreas Schwab  <schwab@suse.de>
33839         [BZ #17062]
33840         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
33841         of a bracket expr not to run off the end of the string.
33842         * posix/Makefile (tests): Add tst-fnmatch3.
33843         * posix/tst-fnmatch3.c: New file.
33845 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
33847         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
33848         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
33849         [$(cross-compiling) = no]: Likewise.
33850         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
33851         [$(cross-compiling) = no]: Likewise.
33853 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
33855         [BZ #17031]
33856         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
33857         double, adjusted for any remainder from the high double.
33858         * math/libm-test.inc (nearbyint): Add tests.
33859         (rint): Likewise.
33861 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33863         * nptl/sysdeps/powerpc/Makefile: Moved ...
33864         * sysdeps/powerpc/nptl/Makefile: ... here.
33865         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
33866         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
33867         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
33868         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
33869         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
33870         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
33871         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
33872         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
33873         * nptl/sysdeps/powerpc/tls.h: Moved ...
33874         * sysdeps/powerpc/nptl/tls.h: ... here.
33876 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
33878         [BZ #16681]
33879         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
33880         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
33881         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
33882         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
33883         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
33884         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
33885         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
33886         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
33887         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
33889 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
33891         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
33893 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
33895         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
33896         defined operator.
33898         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
33899         $TIMEOUTFACTOR.
33901 2014-06-16  Florian Weimer  <fweimer@redhat.com>
33903         [BZ #17058]
33904         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
33905         non-executed part of the test.
33907 2014-06-16  Andreas Schwab  <schwab@suse.de>
33909         * string/bits/string2.h (strdup, strndup): Update feature guard.
33911 2014-06-14  David S. Miller  <davem@davemloft.net>
33913         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33915 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
33917         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
33918         that was previously under [RESET_PID].
33919         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
33921         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
33922         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
33923         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
33924         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
33925         (__libc_vfork): New strong alias.
33926         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
33928 2014-06-14 Andi Kleen  <ak@linux.intel.com>
33930         * sysdeps/generic/elide.h: New file.
33932 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
33934         * Makefile (installed-headers): Adjust path of pthread.h header.
33936 2014-06-13  Roland McGrath  <roland@hack.frob.com>
33938         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
33939         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
33940         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
33941         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
33943         * nptl/sysdeps/s390/Makefile: Moved ...
33944         * sysdeps/s390/nptl/Makefile: ... here.
33945         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
33946         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
33947         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
33948         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
33949         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
33950         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
33951         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
33952         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
33953         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
33954         * sysdeps/s390/nptl/pthreaddef.h: ... here.
33955         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
33956         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
33957         * nptl/sysdeps/s390/tls.h: Moved ...
33958         * sysdeps/s390/nptl/tls.h: ... here.
33960         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
33961         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
33963 2014-06-13  David S. Miller  <davem@davemloft.net>
33965         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
33966         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
33967         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
33968         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
33969         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
33970         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
33971         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
33972         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
33973         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
33974         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
33975         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
33976         Remove RESET_PID cpp guards.
33977         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
33978         Remove RESET_PID cpp guards.
33979         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
33981 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
33983         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
33984         __sp to uintptr_t.
33986 2014-06-13  Andi Kleen  <ak@linux.intel.com>
33988         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
33989         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
33990         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
33991         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
33992         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
33993         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
33994         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
33995         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
33996         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
33997         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
33998         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
33999         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
34000         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
34001         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
34002         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
34003         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
34004         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
34005         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
34006         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
34007         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
34009         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
34010         (pthread_rwlock_rdlock): Add elision.
34011         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
34012         (pthread_rwlock_wrlock): Add elision.
34013         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
34014         (pthread_rwlock_trywrlock): Add elision.
34015         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
34016         (pthread_rwlock_tryrdlock): Add elision.
34017         * nptl/pthread_rwlock_unlock.c: Include elide.h.
34018         (pthread_rwlock_tryrdlock): Add elision unlock.
34019         * nptl/sysdeps/pthread/pthread.h:
34020         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
34021         (PTHREAD_RWLOCK_INITIALIZER,
34022         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
34023         Handle new elision field.
34024         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
34025         * sysdeps/arm/nptl/bits/pthreadtypes.h
34026         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34027         * sysdeps/sh/nptl/bits/pthreadtypes.h
34028         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34029         * sysdeps/tile/nptl/bits/pthreadtypes.h
34030         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34031         * sysdeps/a/nptl/bits/pthreadtypes.h
34032         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34033         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
34034         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34035         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
34036         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34037         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
34038         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34039         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
34040         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34041         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
34042         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34043         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
34044         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34045         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
34046         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34047         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
34048         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34049         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
34050         (elision_init): Set try_xbegin to zero when no RTM.
34051         * sysdeps/x86/nptl/bits/pthreadtypes.h
34052         (pthread_rwlock_t): Change __pad1 to __rwelision.
34053         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34055 2014-06-13  Andi Kleen  <ak@linux.intel.com>
34057         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
34058         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
34059         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
34060         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
34062 2014-06-13  Meador Inge  <meadori@codesourcery.com>
34064         [BZ #16996]
34065         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
34066         that the cached result has been set before returning it.
34068 2014-06-12  Roland McGrath  <roland@hack.frob.com>
34070         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
34071         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
34072         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
34073         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
34074         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
34075         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
34077         * nptl/sysdeps/sparc/Makefile: Moved ...
34078         * sysdeps/sparc/nptl/Makefile: ... here.
34079         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
34080         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
34081         * nptl/sysdeps/sparc/tls.h: Moved ...
34082         * sysdeps/sparc/nptl/tls.h: ... here.
34083         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
34084         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
34085         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
34086         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
34087         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
34088         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
34089         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
34090         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
34091         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
34092         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
34093         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
34094         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
34095         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
34096         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
34097         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
34098         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
34099         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
34100         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
34101         Update #include.
34102         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
34103         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
34104         Update #include.
34105         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
34106         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
34107         Update #include.
34108         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
34109         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
34110         Update #include.
34112         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
34114         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
34115         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
34117         * sysdeps/pthread/posix-timer.h: Include <list.h>.
34118         (struct list_links): Type removed.
34119         (struct thread_node, struct timer_node): Replace struct list_links
34120         with struct list_head.
34121         (list_unlink_ip): Likewise.
34122         * sysdeps/pthread/timer_routines.c
34123         (timer_free_list, thread_free_list, thread_active_list): Likewise.
34124         (list_append, list_insbefore): Likewise.
34125         (list_init): Function removed.
34126         (thread_init, init_module): Use INIT_LIST_HEAD instead.
34127         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
34128         * sysdeps/pthread/Makefile: ... here, new file.
34130         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
34131         * sysdeps/nptl/Implies: ... here.
34132         * sysdeps/unix/sysv/linux/Implies: Add nptl.
34133         * nptl/sysdeps/pthread/list.h: Moved ...
34134         * include/list.h: ... here.
34135         * nptl/sysdeps/pthread/createthread.c: Moved ...
34136         * nptl/createthread.c: ... here.
34137         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
34138         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
34139         * nptl/pt-longjmp.c: ... here.
34140         * nptl/sysdeps/pthread/Makefile: Moved ...
34141         * sysdeps/nptl/Makefile: ... here.
34142         * nptl/sysdeps/pthread/Subdirs: Moved ...
34143         * sysdeps/nptl/Subdirs: ... here.
34144         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
34145         * sysdeps/nptl/aio_misc.h: ... here.
34146         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
34147         * sysdeps/nptl/bits/libc-lock.h: ... here.
34148         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
34149         * sysdeps/nptl/bits/libc-lockP.h: ... here.
34150         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
34151         * sysdeps/nptl/bits/stdio-lock.h: ... here.
34152         * nptl/sysdeps/pthread/configure: Moved ...
34153         * sysdeps/nptl/configure: ... here.
34154         * nptl/sysdeps/pthread/configure.ac: Moved ...
34155         * sysdeps/nptl/configure.ac: ... here.
34156         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
34157         * sysdeps/nptl/gai_misc.h: ... here.
34158         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
34159         * sysdeps/nptl/librt-cancellation.c: ... here.
34160         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
34161         * sysdeps/nptl/malloc-machine.h: ... here.
34162         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
34163         * sysdeps/nptl/pthread-functions.h: ... here.
34164         * nptl/sysdeps/pthread/pthread.h: Moved ...
34165         * sysdeps/nptl/pthread.h: ... here.
34166         * nptl/sysdeps/pthread/setxid.h: Moved ...
34167         * sysdeps/nptl/setxid.h: ... here.
34168         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
34169         * sysdeps/nptl/sigfillset.c: ... here.
34170         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
34171         * sysdeps/nptl/tcb-offsets.h: ... here.
34172         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
34173         * sysdeps/nptl/tst-mqueue8x.c: ... here.
34174         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
34175         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
34176         * nptl/sysdeps/pthread/allocalim.h: Moved ...
34177         * sysdeps/pthread/allocalim.h: ... here.
34178         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
34179         * sysdeps/pthread/bits/sigthread.h: ... here.
34180         * nptl/sysdeps/pthread/flockfile.c: Moved ...
34181         * sysdeps/pthread/flockfile.c: ... here.
34182         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
34183         * sysdeps/pthread/ftrylockfile.c: ... here.
34184         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
34185         * sysdeps/pthread/funlockfile.c: ... here.
34186         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
34187         * sysdeps/pthread/posix-timer.h: ... here.
34188         * nptl/sysdeps/pthread/timer_create.c: Moved ...
34189         * sysdeps/pthread/timer_create.c: ... here.
34190         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
34191         * sysdeps/pthread/timer_delete.c: ... here.
34192         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
34193         * sysdeps/pthread/timer_getoverr.c: ... here.
34194         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
34195         * sysdeps/pthread/timer_gettime.c: ... here.
34196         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
34197         * sysdeps/pthread/timer_routines.c: ... here.
34198         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
34199         * sysdeps/pthread/timer_settime.c: ... here.
34200         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
34201         * sysdeps/pthread/tst-timer.c: ... here.
34202         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
34203         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
34205         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
34206         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
34208         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
34209         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
34210         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
34211         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
34212         Update #include target.
34213         * nptl/sysdeps/i386/i686/Makefile: Moved ...
34214         * sysdeps/i386/i686/nptl/Makefile: ... here.
34215         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
34216         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
34217         Update #include target.
34218         * nptl/sysdeps/i386/i686/tls.h: Moved ...
34219         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
34220         * nptl/sysdeps/i386/Makefile: Moved ...
34221         * sysdeps/i386/nptl/Makefile: ... here.
34222         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
34223         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
34224         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
34225         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
34226         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
34227         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
34228         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
34229         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
34230         * sysdeps/i386/nptl/pthreaddef.h: ... here.
34231         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
34232         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
34233         * nptl/sysdeps/i386/tls.h: Moved ...
34234         * sysdeps/i386/nptl/tls.h: ... here.
34236         * sysdeps/sh/Makefile [$(subdir) = csu]
34237         (gen-as-const-headers): Add tcb-offsets.sym.
34238         * nptl/sysdeps/sh/Makefile: File removed.
34239         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
34240         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
34241         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
34242         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
34243         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
34244         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
34245         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
34246         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
34247         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
34248         * sysdeps/sh/nptl/pthreaddef.h: ... here.
34249         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
34250         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
34251         * nptl/sysdeps/sh/tls.h: Moved ...
34252         * sysdeps/sh/nptl/tls.h: ... here.
34253         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
34254         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
34255         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
34256         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
34257         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
34258         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
34259         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
34260         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
34261         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
34262         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
34263         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
34264         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
34265         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
34266         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
34267         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
34268         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
34269         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
34270         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
34271         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
34272         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
34273         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
34274         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
34275         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
34276         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
34277         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
34278         Moved ...
34279         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
34280         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
34281         Moved ...
34282         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
34283         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
34284         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
34285         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
34286         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
34287         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
34288         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
34289         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
34290         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
34291         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
34292         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
34293         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
34294         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
34295         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
34296         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
34297         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
34298         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
34299         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
34300         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
34302 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
34304         * posix/spawn_faction_addopen.c: Include string.h.
34306 2014-06-11  Roland McGrath  <roland@hack.frob.com>
34308         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
34309         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
34310         * nptl/sysdeps/x86_64/Makefile: Moved ...
34311         * sysdeps/x86_64/nptl/Makefile: ... here.
34312         * nptl/sysdeps/x86_64/configure: Moved ...
34313         * sysdeps/x86_64/nptl/configure: ... here.
34314         * nptl/sysdeps/x86_64/configure.ac: Moved ...
34315         * sysdeps/x86_64/nptl/configure.ac: ... here.
34316         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
34317         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
34318         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
34319         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
34320         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
34321         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
34322         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
34323         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
34324         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
34325         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
34326         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
34327         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
34328         * nptl/sysdeps/x86_64/tls.h: Moved ...
34329         * sysdeps/x86_64/nptl/tls.h: ... here.
34330         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
34331         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
34332         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
34333         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
34335         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
34337 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34339         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34341 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
34343         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
34344         type.
34345         [POSIX] (off_t): Likewise.
34346         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
34347         [POSIX] (S_ISBLK): Require macro.
34348         [POSIX] (S_ISCHR): Likewise.
34349         [POSIX] (S_ISDIR): Likewise.
34350         [POSIX] (S_ISFIFO): Likewise.
34351         [POSIX] (S_ISREG): Likewise.
34352         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
34353         optional-macro.
34354         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
34355         type.
34356         [POSIX] (time_t): Likewise.
34357         [POSIX] (timer_t): Likewise.
34359 2014-06-11  Florian Weimer  <fweimer@redhat.com>
34361         [BZ #17048]
34362         * posix/spawn_int.h (struct __spawn_action): Make the path string
34363         non-const to support deallocation.
34364         * posix/spawn_faction_addopen.c
34365         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
34366         * posix/spawn_faction_destroy.c
34367         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
34368         path in all spawn_do_open actions.
34369         * posix/tst-spawn.c (do_test): Exercise the copy operation in
34370         posix_spawn_file_actions_addopen.
34372 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
34374         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
34375         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
34376         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
34377         conditional code always true.
34378         (__libc_vfork): New alias.
34380 2014-06-11  Roland McGrath  <roland@hack.frob.com>
34382         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
34383         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
34385         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
34387         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
34388         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
34390         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
34391         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
34393         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
34394         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
34396 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
34398         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
34399         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
34400         multiarch strcmp for PPC64.
34401         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
34402         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
34403         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
34404         multiarch optimizations.
34405         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
34406         (__libc_ifunc_impl_list): Likewise.
34408 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
34410         * benchtests/scripts/validate_benchout.py: New script.
34411         * benchtests/Makefile (bench-func): Call it.
34412         * benchtests/scripts/benchout.schema.json: New file.
34414 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
34416         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
34417         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
34418         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
34419         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
34420         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
34421         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
34422         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
34423         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
34424         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
34425         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
34426         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
34427         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
34428         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
34429         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
34430         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
34431         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
34432         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
34433         Moved ...
34434         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
34435         ... here.
34436         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
34437         Moved ...
34438         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
34439         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
34440         Moved ...
34441         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
34442         ... here.
34443         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
34444         Moved ...
34445         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
34446         ... here.
34447         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
34448         Moved ...
34449         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
34450         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
34451         Moved ...
34452         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
34453         ... here.
34454         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
34455         Moved ...
34456         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
34457         ... here.
34458         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
34459         Moved ...
34460         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
34461         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
34462         Moved ...
34463         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
34464         ... here.
34465         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
34466         Moved ...
34467         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
34468         ... here.
34469         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
34470         Moved ...
34471         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
34472         ... here.
34473         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
34474         Moved ...
34475         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
34476         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
34477         Moved ...
34478         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
34479         ... here.
34480         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
34481         Moved ...
34482         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
34483         ... here.
34484         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
34485         Moved ...
34486         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
34487         ... here.
34488         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
34489         Moved ...
34490         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
34491         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
34492         Moved ...
34493         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
34494         ... here.
34495         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
34496         Moved ...
34497         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
34498         ... here.
34499         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
34500         Moved ...
34501         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
34502         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
34503         Moved ...
34504         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
34505         ... here.
34506         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
34507         Moved ...
34508         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
34509         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
34510         Moved ...
34511         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
34512         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
34513         Moved ...
34514         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
34515         ... here.
34516         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
34517         Moved ...
34518         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
34519         ... here.
34520         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
34521         Moved ...
34522         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
34523         ... here.
34524         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
34525         Moved ...
34526         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
34527         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
34528         Moved ...
34529         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
34530         ... here.
34531         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
34532         Moved ...
34533         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
34534         ... here.
34535         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
34536         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
34537         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
34538         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
34539         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
34540         Moved ...
34541         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
34542         ... here.
34543         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
34544         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
34545         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
34546         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
34547         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
34548         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
34549         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
34550         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
34551         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
34552         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
34553         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
34554         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
34555         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
34556         Moved ...
34557         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
34558         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
34559         Moved ...
34560         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
34561         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
34562         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
34563         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
34564         Moved ...
34565         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
34566         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
34567         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
34568         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
34569         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
34570         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
34571         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
34573 2014-06-10  Wilco  <wdijkstr@arm.com>
34575         * math/test-fenv-return.c: New file.
34576         * math/Makefile: Add new test test-fenv-return.
34578 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
34580         [BZ #17042]
34581         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
34582         when x - 1 is zero.
34583         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
34584         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
34585         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
34586         0.0L for an argument of 1.0L.
34587         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
34588         Likewise.
34589         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
34590         value when x - 1 is zero.
34591         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
34592         * sysdeps/i386/fpu/libm-test-ulps: Update.
34593         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34595 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
34597         [BZ #15119]
34598         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
34600 2014-06-09  Roland McGrath  <roland@hack.frob.com>
34602         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
34603         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
34605 2014-06-09  Roland McGrath  <roland@hack.frob.com>
34607         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
34608         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
34610         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
34611         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
34613         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
34614         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
34616         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
34617         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
34619         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
34620         if not already defined.
34621         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
34622         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
34623         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
34624         (TLS_INIT_TP): Use it.
34625         (TLS_DEFINE_INIT_TP): New macro.
34626         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
34628 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
34630         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
34631         constant.
34632         [POSIX] (IXANY): Likewise.
34633         [POSIX] (OLCUC): Likewise.
34634         [POSIX || POSIX2008] (CBAUD): Do not allow.
34635         [POSIX || POSIX2008] (DEFECHO): Likewise.
34636         [POSIX || POSIX2008] (ECHOCTL): Likewise.
34637         [POSIX || POSIX2008] (ECHOKE): Likewise.
34638         [POSIX || POSIX2008] (ECHOPRT): Likewise.
34639         [POSIX || POSIX2008] (EXTA): Likewise.
34640         [POSIX || POSIX2008] (EXTB): Likewise.
34641         [POSIX || POSIX2008] (FLUSHO): Likewise.
34642         [POSIX || POSIX2008] (LOBLK): Likewise.
34643         [POSIX || POSIX2008] (PENDIN): Likewise.
34644         [POSIX || POSIX2008] (SWTCH): Likewise.
34645         [POSIX || POSIX2008] (VDISCARD): Likewise.
34646         [POSIX || POSIX2008] (VDSUSP): Likewise.
34647         [POSIX || POSIX2008] (VLNEXT): Likewise.
34648         [POSIX || POSIX2008] (VREPRINT): Likewise.
34649         [POSIX || POSIX2008] (VSTATUS): Likewise.
34650         [POSIX || POSIX2008] (VWERASE): Likewise.
34651         (B*): Change to B[0123456789]*.
34652         * conform/data/time.h-data [POSIX || UNIX98]
34653         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
34654         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
34655         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
34656         [POSIX] (tm_*): Do not allow.
34658 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
34660         * Makefile (install): Don't set LANGUAGE.
34661         * Makefile.in (install): Likewise.
34662         * assert/Makefile (test-assert-ENV): Remove variable.
34663         (test-assert-perr-ENV): Likewise.
34664         * elf/Makefile (neededtest4-ENV): Likewise.
34665         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
34666         [$(cross-compiling) = no]: Don't set LANGUAGE.
34667         * io/ftwtest-sh (LANG): Remove variable.
34668         * libio/Makefile (tst-widetext-ENV): Likewise.
34669         * manual/install.texi (Running make install): Don't refer to
34670         environment settings for make install.
34671         * INSTALL: Regenerated.
34672         * nptl/tst-tls6.sh: Don't set LANG.
34673         * posix/globtest.sh (LANG): Remove variable.
34674         * string/Makefile (tester-ENV): Likewise.
34675         (inl-tester-ENV): Likewise.
34676         (noinl-tester-ENV): Likewise.
34677         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
34678         [$(cross-compiling) = no]: Don't set LANGUAGE.
34679         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
34680         without explicit environment settings.
34682 2014-06-06  Roland McGrath  <roland@hack.frob.com>
34684         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
34685         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
34686         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
34687         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
34689 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
34691         * crypt/crypt-private.h [DOS]: Add some includes taken from the
34692         other files in the crypt directory.
34693         * crypt/crypt.c: Remove duplicate includes.
34694         * crypt/crypt-entry.c: Likewise.
34695         * crypt/crypt_util.c: Likewise.
34697 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
34699         * Makeconfig (run-program-env): New variable.
34700         (run-program-prefix-before-env): Likewise.
34701         (run-program-prefix-after-env): Likewise.
34702         (run-program-prefix): Define in terms of new variables.
34703         (built-program-cmd-before-env): New variable.
34704         (built-program-cmd-after-env): Likewise.
34705         (built-program-cmd): Define in terms of new variables.
34706         (test-program-prefix-before-env): New variable.
34707         (test-program-prefix-after-env): Likewise.
34708         (test-program-prefix): Define in terms of new variables.
34709         (test-program-cmd-before-env): New variable.
34710         (test-program-cmd-after-env): Likewise.
34711         (test-program-cmd): Define in terms of new variables.
34712         * Rules (make-test-out): Use $(run-program-env).
34713         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
34714         (help): Do not mention environment variables.  Mention
34715         --timeoutfactor option.
34716         (timeoutfactor): New variable.
34717         (blacklist_exports): Remove function.
34718         (exports): Remove variable.
34719         (command): Do not include ${exports}.
34720         * manual/install.texi (Configuring and compiling): Do not mention
34721         test wrappers preserving environment variables.  Mention that last
34722         assignment to a variable must take precedence.
34723         * INSTALL: Regenerated.
34724         * benchtests/Makefile (run-bench): Use $(run-program-env).
34725         * catgets/Makefile ($(objpfx)test1.cat): Use
34726         $(built-program-cmd-before-env), $(run-program-env) and
34727         $(built-program-cmd-after-env).
34728         ($(objpfx)test2.cat): Do not specify environment variables
34729         explicitly.
34730         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
34731         $(run-program-env) and $(built-program-cmd-after-env).
34732         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
34733         $(run-program-env) and $(test-program-cmd-after-env).
34734         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
34735         explicitly.
34736         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
34737         run_program_env and test_program_cmd_after_env arguments.
34738         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
34739         * elf/tst-pathopt.sh: Use run_program_env argument.
34740         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
34741         $(test-wrapper-env) and $(run-program-env).
34742         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
34743         run_program_env arguments.
34744         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
34745         * intl/Makefile ($(objpfx)tst-gettext.out): Use
34746         $(test-program-prefix-before-env), $(run-program-env) and
34747         $(test-program-prefix-after-env).
34748         ($(objpfx)tst-gettext2.out): Likewise.
34749         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
34750         run_program_env and test_program_prefix_after_env arguments.
34751         * intl/tst-gettext2.sh: Likewise.
34752         * intl/tst-gettext4.sh: Do not set environment variables
34753         explicitly.
34754         * intl/tst-gettext6.sh: Likewise.
34755         * intl/tst-translit.sh: Likewise.
34756         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
34757         $(test-program-prefix-before-env), $(run-program-env) and
34758         $(test-program-prefix-after-env).
34759         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
34760         run_program_env and test_program_prefix_after_env arguments.
34761         * math/Makefile (run-regen-ulps): Use $(run-program-env).
34762         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
34763         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
34764         explicitly with each use of ${test_wrapper_env}.
34765         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
34766         $(test-program-prefix-before-env), $(run-program-env) and
34767         $(test-program-prefix-after-env).
34768         * posix/tst-getconf.sh: Do not set environment variables
34769         explicitly.
34770         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
34771         run_program_env and test_program_prefix_after_env arguments.
34772         * stdio-common/tst-printf.sh: Do not set environment variables
34773         explicitly.
34774         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
34775         $(test-program-prefix-before-env), $(run-program-env) and
34776         $(test-program-prefix-after-env).
34777         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
34778         run_program_env and test_program_prefix_after_env arguments.
34779         Split $test calls into $test_pre and $test.
34780         * timezone/Makefile (build-testdata): Use
34781         $(built-program-cmd-before-env), $(run-program-env) and
34782         $(built-program-cmd-after-env).
34784 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34786         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
34787         strlen for non SHARED builds.
34789 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
34791         * nptl/allocatestack.c (check_list): Inlined function...
34792         (__reclaim_stacks): ... here.
34794 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
34796         [BZ #15698]
34797         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
34798         memory overrun.
34800 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
34802         * Rules (make-test-out): Include
34803         LOCPATH=$(common-objpfx)localedata in default environment.
34804         * debug/Makefile (tst-chk1-ENV): Remove variable.
34805         (tst-chk2-ENV): Likewise.
34806         (tst-chk3-ENV): Likewise.
34807         (tst-chk4-ENV): Likewise.
34808         (tst-chk5-ENV): Likewise.
34809         (tst-chk6-ENV): Likewise.
34810         (tst-lfschk1-ENV): Likewise.
34811         (tst-lfschk2-ENV): Likewise.
34812         (tst-lfschk3-ENV): Likewise.
34813         (tst-lfschk4-ENV): Likewise.
34814         (tst-lfschk5-ENV): Likewise.
34815         (tst-lfschk6-ENV): Likewise.
34816         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
34817         (tst-iconv7-ENV): Likewise.
34818         * intl/Makefile (LOCPATH-ENV): Likewise.
34819         (tst-codeset-ENV): Likewise.
34820         (tst-gettext3-ENV): Likewise.
34821         (tst-gettext5-ENV): Likewise.
34822         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
34823         (tst-fopenloc-ENV): Likewise.
34824         (tst-fgetws-ENV): Remove variable.
34825         (tst-ungetwc1-ENV): Likewise.
34826         (tst-ungetwc2-ENV): Likewise.
34827         (bug-ungetwc2-ENV): Likewise.
34828         (tst-swscanf-ENV): Likewise.
34829         (bug-ftell-ENV): Likewise.
34830         (tst-fgetwc-ENV): Likewise.
34831         (tst-fseek-ENV): Likewise.
34832         (tst-ftell-partial-wide-ENV): Likewise.
34833         (tst-ftell-active-handler-ENV): Likewise.
34834         (tst-ftell-append-ENV): Likewise.
34835         * posix/Makefile (tst-fnmatch-ENV): Likewise.
34836         (tst-regexloc-ENV): Likewise.
34837         (bug-regex1-ENV): Likewise.
34838         (tst-regex-ENV): Likewise.
34839         (tst-regex2-ENV): Likewise.
34840         (bug-regex5-ENV): Likewise.
34841         (bug-regex6-ENV): Likewise.
34842         (bug-regex17-ENV): Likewise.
34843         (bug-regex18-ENV): Likewise.
34844         (bug-regex19-ENV): Likewise.
34845         (bug-regex20-ENV): Likewise.
34846         (bug-regex22-ENV): Likewise.
34847         (bug-regex23-ENV): Likewise.
34848         (bug-regex25-ENV): Likewise.
34849         (bug-regex26-ENV): Likewise.
34850         (bug-regex30-ENV): Likewise.
34851         (bug-regex32-ENV): Likewise.
34852         (bug-regex33-ENV): Likewise.
34853         (bug-regex34-ENV): Likewise.
34854         (bug-regex35-ENV): Likewise.
34855         (tst-rxspencer-ENV): Likewise.
34856         (tst-rxspencer-no-utf8-ENV): Likewise.
34857         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
34858         (tst-sscanf-ENV): Likewise.
34859         (tst-swprintf-ENV): Likewise.
34860         (tst-swscanf-ENV): Likewise.
34861         (test-vfprintf-ENV): Likewise.
34862         (scanf13-ENV): Likewise.
34863         (bug14-ENV): Likewise.
34864         (tst-grouping-ENV): Likewise.
34865         * stdlib/Makefile (tst-strtod-ENV): Likewise.
34866         (tst-strtod3-ENV): Likewise.
34867         (tst-strtod4-ENV): Likewise.
34868         (tst-strtod5-ENV): Likewise.
34869         (testmb2-ENV): Likewise./
34870         * string/Makefile (tst-strxfrm-ENV): Likewise.
34871         (tst-strxfrm2-ENV): Likewise.
34872         (bug-strcoll1-ENV): Likewise.
34873         (test-strcasecmp-ENV): Likewise.
34874         (test-strncasecmp-ENV): Likewise.
34875         * time/Makefile (tst-strptime-ENV): Likewise.
34876         (tst-ftime_l-ENV): Likewise.
34877         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
34878         (tst-mbrtowc-ENV): Likewise.
34879         (tst-wcrtomb-ENV): Likewise.
34880         (tst-mbrtowc2-ENV): Likewise.
34881         (tst-c16c32-1-ENV): Likewise.
34882         (tst-mbsnrtowcs-ENV): Likewise.
34884 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
34886         * manual/resource.texi (How to get information about the memory
34887         subsystem?): Fix typo.
34888         Reported by Peon de la Parra Ivan <peon@keba.com>
34890 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
34892         [BZ #16882]
34893         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
34894         (pthread_spin_lock): Branch out of spin loop to proper location.
34895         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
34896         (pthread_spin_lock): Likewise.
34898         * nptl/tst-spin4.c: New test.
34899         * nptl/Makefile (tests): Add tst-spin4.
34901 2014-06-03  Andreas Schwab  <schwab@suse.de>
34903         [BZ #15946]
34904         * resolv/res_send.c (send_dg): Reload file descriptor after
34905         calling reopen.
34907 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
34909         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
34911 2014-06-03  Richard Henderson  <rth@redhat.com>
34913         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
34914         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
34915         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
34916         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
34917         in the SAVE_PID block.
34918         (__libc_vfork): New alias.
34919         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
34921         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
34922         child in registers, not on the stack.  Remove RESET_PID conditionals.
34923         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
34925 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
34927         * sysdeps/aarch64/libm-test-ulps: Regenerate.
34929 2014-06-03  Wilco  <wdijkstr@arm.com>
34931         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
34932         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
34933         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
34934         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
34935         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
34936         Likewise.
34938 2014-06-03  Wilco  <wdijkstr@arm.com>
34940         * sysdeps/aarch64/fpu/math_private.h
34941         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
34942         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
34943         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
34944         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
34945         Fix declarations.
34947 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
34949         * crypt/crypt-private.h: Include ufc-crypt.h.
34950         (__b64_from_24bit): Declare extern.
34951         * crypt/crypt_util.c(__b64_from_24bit): New function.
34952         (b64t): New static const variable.
34953         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
34954         (b64t): Remove variable.
34955         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
34956         * crypt/sha256-crypt.c: Include crypt-private.h.
34957         (b64t): Remove variable.
34958         (__sha256_crypt_r): Remove b64_from_24bit and replace
34959         with __b64_from_24bit.
34960         * crypt/sha512-crypt.c: Likewise.
34962 2014-06-02  Roland McGrath  <roland@hack.frob.com>
34964         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
34965         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
34966         Label the code __libc_vfork rather than __vfork.
34967         [!NOT_IN_libc] (vfork): Define as weak alias.
34968         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
34969         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
34970         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
34972 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
34974         * malloc/malloc.c (malloc_info): Fix format specifier for
34975         n_mmaps.
34977 2014-06-02  Wilco  <wdijkstr@arm.com>
34979         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
34980         FPCR write.
34982 2014-06-02  Wilco  <wdijkstr@arm.com>
34984         [BZ #17009]
34985         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
34986         Rewrite to reduce FPCR/FPSR accesses.
34988 2014-06-01  David S. Miller  <davem@davemloft.net>
34990         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34992 2014-05-31  David S. Miller  <davem@davemloft.net>
34994         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
34995         to occur in round to nearest mode when |x| >= 2.0
34997 2014-05-30  Richard Henderson  <rth@twiddle.net>
34999         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
35000         (PSEUDO_RET_NOERRNO): Remove.
35001         (ret): Don't redefine.
35002         (ret_NOERRNO): Define in terms of ret.
35003         (ret_ERRVAL): Likewise.
35005         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
35006         use of PSEUDO_RET; perform the error check directly.
35008 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
35010         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
35011         with __int128_t.
35013 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
35015         * malloc/malloc (malloc_info): Fix formatting.
35017 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
35018             Roland McGrath  <roland@hack.frob.com>
35020         * malloc/malloc (malloc_info): Also print mmapped statistics.
35022 2014-05-30  Roland McGrath  <roland@hack.frob.com>
35024         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
35025         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
35027 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
35029         * malloc/malloc.c (malloc_info): Inline mi_arena.
35031 2014-05-29  Richard Henderson  <rth@twiddle.net>
35033         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
35034         Remove comma before expanding ASM_ARGS_##nr.
35035         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
35036         Make _x0 a strict output; make _x8 a strict input; adjust expansion
35037         of ASM_ARGS_##nr.
35038         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
35039         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
35040         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
35041         (ASM_ARGS_1): Add leading comma.
35043         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
35044         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
35045         to __errno_location.
35046         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
35047         Remove the expected plt for __errno_location.
35049         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
35050         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
35051         call to __read_tp.
35053         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
35054         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
35055         it and break it down.
35056         (DOCARGS_0, DOCARGS_1): Do nothing.
35057         (DOCARGS_2): Update to store into the new stack frame.
35058         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
35059         (UNDOCARGS_1): Update to restore from the new stack frame.
35060         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
35061         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
35063         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
35064         (SINGLE_THREAD_P): New parameter for result regno.
35065         (PSEUDO): Update to match; use cbz instead of beq.
35067         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
35068         Use ENTRY to define the _nocancel entry point.  Share the syscall
35069         and syscall error check paths with the cancel path.
35070         (PSEUDO_END): New.
35072         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
35073         whitespace; tabs before and after asm mnemonics.
35075 2014-05-29  Eric Wong  <normalperson@yhbt.net>
35077         [BZ #15132]
35078         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35079         Call fstat64 or stat64 internally, depending on arguments passed.
35080         Replace stat buffer argument with file descriptor argument.
35081         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
35082         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
35083         Pass fd to __internal_statvfs instead of calling fstat64.
35084         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
35085         Pass fd to __internal_statvfs64 instead of calling fstat64.
35086         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
35087         Pass -1 to __internal_statvfs instead of calling stat64.
35088         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
35089         Pass -1 to __internal_statvfs64 instead of calling stat64.
35091 2014-05-28  Roland McGrath  <roland@hack.frob.com>
35093         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
35094         that was previously under [RESET_PID].
35095         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
35097         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
35098         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
35100 2014-05-27  Roland McGrath  <roland@hack.frob.com>
35102         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
35104         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
35105         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
35107 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
35109         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
35111 2014-05-27  Andreas Schwab  <schwab@suse.de>
35113         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
35114         TLS_INIT_TP macro.
35115         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
35116         * elf/rtld.c (init_tls, dl_main): Likewise.
35117         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
35118         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
35119         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
35120         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
35121         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
35122         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
35123         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
35124         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
35125         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
35126         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
35127         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
35128         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
35129         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
35130         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
35131         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
35132         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
35133         * sysdeps/generic/tls.h: Update description.
35135 2014-05-27  Will Newton  <will.newton@linaro.org>
35137         [BZ #16990]
35138         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
35139         and restore r2 rather than just restoring.
35141 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
35143         [BZ #16724]
35144         * libio/tst-ftell-append.c: New test case.
35145         * libio/Makefile (tests): Add test case.
35146         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
35147         append mode.
35148         * libio/wfileops.c (do_ftell_wide): Likewise.
35150 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35152         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35154         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
35155         ...
35156         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
35157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
35158         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
35159         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
35160         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
35161         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
35162         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
35163         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
35164         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
35165         Moved ...
35166         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
35167         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
35168         Moved ...
35169         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
35170         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
35171         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
35172         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
35173         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
35174         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
35175         ...
35176         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
35177         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
35178         Moved ...
35179         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
35180         here.
35181         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
35182         ...
35183         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
35184         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
35185         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
35187         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
35188         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
35189         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
35190         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
35192         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
35193         merge into ...
35194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
35195         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
35196         ...
35197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
35198         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
35199         ...
35200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
35201         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
35202         Moved ...
35203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
35204         here.
35205         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
35206         Moved ...
35207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
35208         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
35209         Moved ...
35210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
35212         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
35213         conditional [RESET_PID].
35214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
35215         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
35216         removed.
35217         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
35218         removed.
35220         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
35221         <tcb-offsets.h>.
35222         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
35223         (__libc_vfork): New strong alias.
35224         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
35225         removed.
35226         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
35227         Removed.
35229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
35230         <tcb-offsets.h>.
35231         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
35232         (__libc_vfork): New strong alias.
35233         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
35234         removed.
35235         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
35236         removed.
35238 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
35240         * malloc/malloc.c (mi_arena): New function.
35241         (malloc_info): Remove nested function mi_arena. Call non-nosted
35242         function mi_arena.
35244 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35246         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
35247         by insrwi.
35248         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
35249         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
35250         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
35251         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
35252         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
35253         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
35254         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
35256 2014-05-26  Andreas Schwab  <schwab@suse.de>
35258         [BZ #16984]
35259         * locale/programs/repertoire.c (repertoire_read): Add slash
35260         between I18NPATH element and file name.
35261         * locale/programs/locfile.c (locfile_read): Likewise.
35263 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
35265         * nptl/pthread_mutexattr_settype.c
35266         (__pthread_mutexattr_settype):
35267         Disable lock elision for PTHREAD_MUTEX_NORMAL.
35269 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
35271         * nptl/tst-mutex5 (do_test):
35272         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
35274 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
35276         * benchtests/README: Document 'init' directive.
35277         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
35278         BENCH_INIT.
35279         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
35280         (parse_file): Recognize 'init' directive.
35282 2014-05-26  Kyle McMartin  <kyle@redhat.com>
35284         [BZ #16796]
35285         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
35286         alignment of struct pthread.
35288 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
35290         [BZ #16878]
35291         * nscd/netgroupcache.c (addgetnetgrentX): Look for
35292         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
35293         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
35294         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
35296 2014-05-25  Richard Henderson  <rth@twiddle.net>
35298         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
35299         (SINGLE_THREAD_P_PIC): Remove.
35300         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
35301         (SINGLE_THREAD_P_PIC): Remove.
35303         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
35304         branch to syscall error ...
35305         (PSEUDO): ... here.
35306         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
35307         from __local_syscall_error to .Lsyscall_error.
35308         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
35309         (SYSCALL_ERROR): Update label name.
35311         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
35312         Do not use DOARGS/UNDOARGS.
35313         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
35314         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
35315         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
35316         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
35317         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
35319         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
35320         block comment.
35322         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
35323         define if !NOT_IN_libc.
35324         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
35325         define with non-default symbol versions.
35327 2014-05-23  Richard Henderson  <rth@twiddle.net>
35329         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
35330         (vfork, __vfork): Define via compat_symbol.
35332         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
35333         [!HAVE_IFUNC] (vfork_compat): Remove.
35334         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
35336 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
35338         [BZ #16978]
35339         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
35340         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
35341         variable.
35343 2014-05-23  Richard Henderson  <rth@twiddle.net>
35345         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
35346         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
35347         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
35348         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
35350         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
35351         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
35352         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
35353         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
35354         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
35355         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
35356         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
35357         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
35358         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
35359         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
35360         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
35361         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
35362         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
35363         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
35364         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
35365         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
35366         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
35367         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
35368         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
35369         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
35370         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
35371         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
35372         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
35373         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
35374         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
35375         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
35376         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
35377         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
35378         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
35379         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
35380         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
35381         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
35382         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
35383         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
35384         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
35385         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
35386         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
35387         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
35388         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
35389         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
35390         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
35391         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
35392         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
35393         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
35394         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
35395         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
35396         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
35397         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
35398         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
35399         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
35400         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
35401         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
35402         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
35403         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
35404         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
35405         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
35407         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
35408         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
35409         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
35410         before exiting on error.
35411         (__libc_vfork): New strong alias.
35412         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
35413         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
35415         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
35416         that was previously under [RESET_PID].
35417         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
35419         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
35421 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
35423         [BZ #16977]
35424         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
35425         value when x - 1 is zero.
35426         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
35427         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
35428         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
35429         0.0L for an argument of 1.0L.
35430         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
35431         Likewise.
35432         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
35433         value when x - 1 is zero.
35434         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
35435         * sysdeps/i386/fpu/libm-test-ulps: Update.
35436         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35438 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
35440         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
35441         alphasort and versionsort.
35443 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35445         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
35446         macro.
35447         [copysignf]: Likewise.
35449 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
35451         * crypt/md5-crypt.c: Fix formatting.
35453 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
35455         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
35456         (b64_from_24bit): New function.
35458 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35460         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
35461         libc_hidden_builtin_def to ifunc.
35462         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
35463         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
35465 2014-05-21  Roland McGrath  <roland@hack.frob.com>
35467         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
35468         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
35470 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
35472         * nscd/Depend (linuxthreads): Remove.
35473         (nptl): Add.
35474         * resolv/Depend (linuxthreads): Remove.
35475         * rt/Depend (linuxthreads): Remove.
35477         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
35478         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
35479         $(common-objpfx)elf/.
35480         (link-libc-before-gnulib): Likewise.
35481         (elfobjdir): Remove variable.
35482         * Makefile (install): Use $(elf-objpfx) instead of
35483         $(common-objpfx)elf/.
35484         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
35485         $(elfobjdir)/.
35486         (link-libc-deps): Likewise.
35487         ($(common-objpfx)libc.so): Likewise.
35488         ($(common-objpfx)linkobj/libc.so): Likewise.
35489         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
35490         instead of $(common-objpfx)elf/.
35491         (symbolic-link-list): Likewise.
35492         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
35493         [$(cross-compiling) = no]: Likewise.
35494         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
35495         $(elfobjdir)/.
35496         (static-gnulib-arch): Likewise.
35497         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
35498         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
35499         $(common-objpfx)elf/.
35501 2014-05-21  Richard Henderson  <rth@redhat.com>
35503         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
35504         (SINGLE_THREAD_P): Use the correct width load.  Fold
35505         into the ldr offset.
35507         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
35508         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
35510 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
35512         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
35513         (libgcc_s_resume): Use __attribute_used__.
35514         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
35515         Likewise.
35517 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35519         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
35520         optimization when used with float constants.
35522         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35524 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
35526         [BZ #16915]
35527         * locale/nl_langinfo_l.c: Make direct reference to every
35528         _nl_current_CATEGORY symbol.
35529         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
35530         (tests-static): Add tst-langinfo-static.
35531         (tests-special): Add tst-langinfo-static.out.
35532         ($(objpfx)tst-langinfo.out): Redirect output.
35533         ($(objpfx)tst-langinfo-static.out): New.
35534         * localedata/tst-langinfo.sh: Send output to stdout.
35535         * localedata/tst-langinfo-static.c: New file.
35537         [BZ #16965]
35538         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
35539         when the shift amount is modulo the limb size.
35541 2014-05-20  Richard Henderson  <rth@redhat.com>
35543         [BZ #16967]
35544         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
35545         Change type of sa_flags from unsigned int to int.
35547         [BZ #16966]
35548         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
35550         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
35552 2014-05-20  Will Newton  <will.newton@linaro.org>
35554         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
35555         Test the return value of the system call in the nocancel case.
35557 2014-05-20  Will Newton  <will.newton@linaro.org>
35558             Yvan Roux  <yvan.roux@linaro.org>
35560         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
35561         #include of asm/ptrace.h.
35562         (PTRACE_GET_THREAD_AREA): Remove #undef.
35563         (PTRACE_GETHBPREGS): Likewise.
35564         (PTRACE_SETHBPREGS): Likewise.
35565         (struct user_regs_struct): New structure.
35566         (struct user_fpsimd_struct): New structure.
35567         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
35568         #include of asm/ptrace.h and second #include of sys/user.h.
35569         (PTRACE_GET_THREAD_AREA): Remove #undef.
35570         (PTRACE_GETHBPREGS): Likewise.
35571         (PTRACE_SETHBPREGS): Likewise.
35572         (ELF_NGREG): Use new struct user_regs_struct.
35573         (elf_fpregset_t): Use new struct user_fpsimd_struct.
35575 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35577         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
35578         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
35580 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
35582         [BZ #16958]
35583         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
35584         membar to avoid block loads/stores to overlap previous stores.
35586 2014-05-17  Richard Henderson  <rth@redhat.com>
35588         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
35589         Create the __##syscall_name##_nocancel entry point.
35590         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
35591         Remove; let the sysdep-cancel.h code create it.
35593 2014-05-17  David S. Miller  <davem@davemloft.net>
35595         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
35596         Protect with __USE_GNU.
35597         (TIOCSET_TEMPT): Likewise.
35598         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
35599         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
35600         these are already provided in bits/ioctl-types.h
35602 2014-05-16  Roland McGrath  <roland@hack.frob.com>
35604         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
35605         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
35607         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
35608         Use wait4 regardless of [__NR_waitpid].
35610 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
35612         PR libgcc/60166
35613         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
35614         (_FP_NANSIGN_Q): Set the quiet bit.
35616 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
35618         * benchtests/Makefile
35619         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
35620         not $(common-objpfx)math/libm.so.
35621         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
35622         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
35623         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
35624         $(common-objpfx)dlfcn/libdl.so.
35625         ($(objpfx)tst-audit8): Depend on $(libm), not
35626         $(common-objpfx)math/libm.so.
35627         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
35628         not $(common-objpfx)dlfcn/libdl.so.
35629         * math/Makefile
35630         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
35631         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
35632         [$(build-shared) = yes].
35633         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
35634         $(common-objpfx)nptl/libpthread.so.
35635         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
35636         $(common-objpfx)math/libm.so$(libm.so-version) or
35637         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
35638         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
35639         $(common-objpfx)dlfcn/libdl.so.
35640         * setjmp/Makefile (link-libm): Remove variable.
35641         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
35642         * stdio-common/Makefile (link-libm): Remove variable.
35643         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
35644         * stdlib/Makefile (link-libm): Remove variable.
35645         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
35646         ($(objpfx)tst-strtod-round): Likewise.
35647         ($(objpfx)tst-tininess): Likewise.
35648         ($(objpfx)tst-strtod-underflow): Likewise.
35649         ($(objpfx)tst-strtod6): Likewise.
35650         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
35651         $(libdl), not $(common-objpfx)nptl/libpthread.so and
35652         $(common-objpfx)dlfcn/libdl.so.
35654 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35656         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
35657         BSD terminal modes definitions.
35659 2014-05-16  Roland McGrath  <roland@hack.frob.com>
35661         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
35662         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
35664         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
35665         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
35666         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
35667         Don't do #include_next.
35668         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
35669         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
35670         Don't do #include_next.
35671         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
35672         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
35673         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
35674         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
35676 2014-05-16  Allan McRae  <allan@archlinux.org>
35678         * po/sv.po: Update Swedish translation from translation project.
35680         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
35681         in sed expression.
35683 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
35685         [BZ #16917]
35686         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
35687         errno if the TIOCGPTN ioctl fails with an error different than
35688         EINVAL.
35689         * login/tst-ptsname.c: New file.
35690         * login/Makefile (tests): Add tst-ptsname.
35692         [BZ #16943]
35693         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
35694         and prlimit64.
35696 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
35698         [BZ #16849]
35699         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
35700         herrno to return EAI_AGAIN.
35702 2014-05-14  Roland McGrath  <roland@hack.frob.com>
35704         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
35705         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
35706         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
35707         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
35708         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
35709         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
35710         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
35711         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
35712         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
35713         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
35714         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
35715         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
35716         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
35717         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
35718         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
35719         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
35720         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
35721         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
35722         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
35723         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
35724         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
35725         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
35726         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
35727         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
35728         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
35729         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
35730         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
35731         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
35732         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
35733         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
35734         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
35735         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
35736         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
35737         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
35738         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
35739         Moved ...
35740         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
35741         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
35742         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
35743         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
35744         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
35745         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
35746         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
35747         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
35748         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
35749         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
35750         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
35751         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
35752         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
35753         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
35754         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
35755         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
35756         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
35757         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
35758         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
35759         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
35760         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
35761         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
35762         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
35763         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
35764         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
35765         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
35766         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
35767         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
35768         Moved ...
35769         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
35770         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
35771         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
35772         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
35773         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
35774         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
35775         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
35776         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
35777         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
35778         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
35779         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
35780         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
35781         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
35782         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
35783         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
35784         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
35785         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
35786         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
35787         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
35788         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
35789         Moved ...
35790         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
35791         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
35792         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
35794         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
35795         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
35796         (libpthread-sysdep_routines): Add elision-related stuff here instead.
35797         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
35798         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
35799         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
35800         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
35801         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
35802         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
35803         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
35804         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
35805         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
35806         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
35807         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
35808         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
35809         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
35810         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
35811         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
35812         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
35813         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
35814         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
35815         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
35816         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
35817         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
35818         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
35819         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
35820         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
35821         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
35822         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
35823         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
35824         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
35826         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
35827         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
35829         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
35830         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
35831         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
35832         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
35833         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
35834         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
35835         Moved ...
35836         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
35837         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
35838         Moved ...
35839         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
35840         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
35841         Moved ...
35842         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
35843         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
35844         Moved ...
35845         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
35846         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
35847         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
35848         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
35849         Moved ...
35850         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
35851         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
35852         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
35853         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
35854         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
35855         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
35856         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
35857         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
35858         Moved ...
35859         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
35860         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
35861         Moved ...
35862         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
35863         ... here.
35864         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
35865         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
35866         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
35867         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
35868         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
35869         Moved ...
35870         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
35871         ... here.
35872         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
35873         Moved ...
35874         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
35875         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
35876         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
35877         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
35878         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
35879         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
35880         Moved ...
35881         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
35882         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
35883         Moved ...
35884         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
35885         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
35886         Moved ...
35887         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
35888         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
35889         Moved ...
35890         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
35891         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
35892         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
35893         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
35894         Moved ...
35895         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
35896         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
35897         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
35898         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
35899         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
35900         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
35901         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
35902         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
35903         Moved ...
35904         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
35905         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
35906         Moved ...
35907         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
35908         ... here.
35909         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
35910         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
35911         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
35912         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
35913         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
35914         Moved ...
35915         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
35916         ... here.
35917         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
35918         Moved ...
35919         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
35920         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
35921         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
35922         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
35923         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
35924         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
35925         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
35926         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
35927         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
35928         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
35929         Moved ...
35930         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
35931         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
35932         Moved ...
35933         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
35934         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
35935         Moved ...
35936         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
35937         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
35938         Moved ...
35939         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
35940         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
35941         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
35942         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
35943         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
35944         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
35945         Moved ...
35946         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
35947         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
35948         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
35949         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
35950         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
35951         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
35952         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
35953         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
35954         Moved ...
35955         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
35956         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
35957         Moved ...
35958         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
35959         ... here.
35960         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
35961         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
35962         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
35963         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
35964         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
35965         Moved ...
35966         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
35967         ... here.
35968         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
35969         Moved ...
35970         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
35971         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
35972         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
35973         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
35974         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
35975         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
35976         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
35977         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
35978         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
35979         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
35980         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
35982         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
35983         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
35985         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
35986         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
35988         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
35989         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
35990         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
35991         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
35992         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
35993         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
35994         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
35995         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
35996         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
35997         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
35998         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
35999         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
36000         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
36001         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
36002         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
36003         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
36004         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
36005         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
36006         Moved ...
36007         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
36008         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
36009         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
36010         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
36011         Moved ...
36012         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
36013         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
36014         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
36015         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
36016         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
36017         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
36018         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
36019         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
36020         Moved ...
36021         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
36022         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
36023         Moved ...
36024         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
36025         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
36026         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
36027         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
36028         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
36029         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
36030         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
36031         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
36032         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
36033         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
36034         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
36035         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
36036         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
36037         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
36038         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
36039         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
36040         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
36042         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
36043         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
36044         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
36045         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
36046         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
36048         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
36049         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
36050         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
36051         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
36052         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
36053         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
36054         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
36055         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
36056         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
36057         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
36059         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
36060         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
36062         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
36063         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
36064         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
36065         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
36066         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
36067         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
36068         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
36069         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
36070         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
36071         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
36072         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
36073         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
36074         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
36075         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
36076         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
36077         Update #include.
36078         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
36079         Likewise.
36080         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
36081         Likewise.
36082         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
36083         Likewise.
36084         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
36085         Likewise.
36086         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
36087         Likewise.
36088         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
36089         Likewise.
36090         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
36091         Likewise.
36092         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
36093         Likewise.
36094         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
36095         Likewise.
36096         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
36097         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
36098         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
36099         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
36100         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
36101         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
36102         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
36103         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
36104         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
36105         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
36106         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
36107         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
36108         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
36109         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
36110         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
36112         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
36113         that was previously under [RESET_PID].
36114         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
36115         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
36116         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
36118         * sysdeps/i386/nptl/Implies: New file.
36119         * sysdeps/x86_64/nptl/Implies: New file.
36120         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
36121         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
36122         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
36123         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
36125         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
36126         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
36127         (__libc_vfork): New strong alias.
36128         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
36129         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
36131         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
36132         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
36133         (__libc_vfork): New strong alias.
36134         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
36135         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
36137         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
36138         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
36139         (__libc_vfork): New strong alias.
36140         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
36141         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
36142         * nptl/pt-vfork.c: New file.
36143         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
36144         (libpthread: GLIBC_2.20): New version set (empty).
36146 2014-05-14  Will Newton  <will.newton@linaro.org>
36148         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
36149         rather than #if.
36151 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
36153         [BZ #16564]
36154         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
36155         arguments with exponent 65 or above.
36156         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
36157         arguments 0x1p113L or above.
36158         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
36159         to arguments 0x1p107L or above.
36160         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
36161         positive arguments with exponent 65 or above.
36162         * math/auto-libm-test-in: Add more tests of log1p.
36163         * math/auto-libm-test-out: Regenerated.
36165         [BZ #16928]
36166         * math/s_cacos.c (__cacos): Ensure zero real part of result from
36167         non-finite arguments is +0.
36168         * math/s_cacosf.c (__cacosf): Likewise.
36169         * math/s_cacosl.c (__cacosl): Likewise.
36170         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
36171         * sysdeps/i386/fpu/libm-test-ulps: Update.
36172         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36174         [BZ #16927]
36175         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
36176         value.
36177         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
36178         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
36179         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
36180         for explicit high bit of mantissa when testing for argument equal
36181         to 1.
36182         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
36183         * sysdeps/i386/fpu/libm-test-ulps: Update.
36184         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36186         [BZ #16516]
36187         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
36188         (__erf): Scale by 16 instead of 8 in potentially underflowing
36189         case.  Ensure exception if result actually underflows.
36190         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
36191         (__erff): Scale by 16 instead of 8 in potentially underflowing
36192         case.  Ensure exception if result actually underflows.
36193         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
36194         (efx8): Remove variable.
36195         (__erfl): Scale by 16 instead of 8 in potentially underflowing
36196         case.  Ensure exception if result actually underflows.
36197         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
36198         (efx8): Remove variable.
36199         (__erfl): Scale by 16 instead of 8 in potentially underflowing
36200         case.  Ensure exception if result actually underflows.
36201         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
36202         (efx8): Remove variable.
36203         (__erfl): Scale by 16 instead of 8 in potentially underflowing
36204         case.  Ensure exception if result actually underflows.
36205         * math/auto-libm-test-in: Add more tests of erf.
36206         * math/auto-libm-test-out: Regenerated.
36208 2014-05-14  Andreas Schwab  <schwab@suse.de>
36210         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
36211         Remove code conditionalized on USE___THREAD.
36213         * config.h.in (HAVE_PT_CHOWN): Define as 0.
36214         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
36215         not definedness.
36217 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
36219         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
36220         Define unconditionally.
36221         (__ASSUME_O_CLOEXEC): Likewise.
36222         (__ASSUME_SOCK_CLOEXEC): Likewise.
36223         (__ASSUME_IN_NONBLOCK): Likewise.
36224         (__ASSUME_PIPE2): Likewise.
36225         (__ASSUME_EVENTFD2): Likewise.
36226         (__ASSUME_SIGNALFD4): Likewise.
36227         (__ASSUME_DUP3): Likewise.
36228         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
36229         (__ASSUME_DUP3): Do not define.
36230         (__ASSUME_EVENTFD2): Likewise.
36231         (__ASSUME_IN_NONBLOCK): Likewise.
36232         (__ASSUME_O_CLOEXEC): Likewise.
36233         (__ASSUME_PIPE2): Likewise.
36234         (__ASSUME_SIGNALFD4): Likewise.
36235         (__ASSUME_SOCK_CLOEXEC): Likewise.
36236         (__ASSUME_UTIMES): Undefine.
36237         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
36238         (__ASSUME_UTIMES): Do not define.
36239         (__ASSUME_O_CLOEXEC): Likewise.
36240         (__ASSUME_SOCK_CLOEXEC): Likewise.
36241         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
36242         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
36243         0x020621].
36244         (__ASSUME_PIPE2): Likewise.
36245         (__ASSUME_EVENTFD2): Likewise.
36246         (__ASSUME_SIGNALFD4): Likewise.
36247         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
36248         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
36249         Do not define.
36250         (__ASSUME_EVENTFD2): Likewise.
36251         (__ASSUME_SIGNALFD4): Likewise.
36252         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
36253         (__ASSUME_32BITUIDS): Likewise.
36254         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
36255         (__ASSUME_IPC64): Likewise.
36256         (__ASSUME_ST_INO_64_BIT): Likewise.
36257         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
36258         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
36259         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
36260         (__ASSUME_UTIMES): Do not define.
36261         (__ASSUME_PSELECT): Likewise.
36262         (__ASSUME_PPOLL): Likewise.
36263         (__ASSUME_O_CLOEXEC): Likewise.
36264         (__ASSUME_SOCK_CLOEXEC): Likewise.
36265         (__ASSUME_IN_NONBLOCK): Likewise.
36266         (__ASSUME_PIPE2): Likewise.
36267         (__ASSUME_EVENTFD2): Likewise.
36268         (__ASSUME_SIGNALFD4): Likewise.
36269         (__ASSUME_DUP3): Likewise.
36270         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
36271         (__ASSUME_UTIMES): Likewise.
36272         (__ASSUME_O_CLOEXEC): Likewise.
36273         (__ASSUME_SOCK_CLOEXEC): Likewise.
36274         (__ASSUME_IN_NONBLOCK): Likewise.
36275         (__ASSUME_PIPE2): Likewise.
36276         (__ASSUME_EVENTFD2): Likewise.
36277         (__ASSUME_SIGNALFD4): Likewise.
36278         (__ASSUME_DUP3): Likewise.
36279         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
36280         (__ASSUME_UTIMES): Likewise.
36281         (__ASSUME_O_CLOEXEC): Likewise.
36282         (__ASSUME_SOCK_CLOEXEC): Likewise.
36283         (__ASSUME_IN_NONBLOCK): Likewise.
36284         (__ASSUME_PIPE2): Likewise.
36285         (__ASSUME_EVENTFD2): Likewise.
36286         (__ASSUME_SIGNALFD4): Likewise.
36287         (__ASSUME_DUP3): Likewise.
36288         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
36289         Likewise.
36290         (__ASSUME_UTIMES): Likewise.
36291         (__ASSUME_EVENTFD2): Likewise.
36292         (__ASSUME_SIGNALFD4): Likewise.
36293         * sysdeps/unix/sysv/linux/tile/kernel-features.h
36294         (__ASSUME_O_CLOEXEC): Likewise.
36295         (__ASSUME_SOCK_CLOEXEC): Likewise.
36296         (__ASSUME_IN_NONBLOCK): Likewise.
36297         (__ASSUME_PIPE2): Likewise.
36298         (__ASSUME_EVENTFD2): Likewise.
36299         (__ASSUME_SIGNALFD4): Likewise.
36300         (__ASSUME_DUP3): Likewise.
36301         (__ASSUME_UTIMES): Undefine.
36303         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
36304         feclearexcept.  Remove symbol versioning code.
36305         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
36306         symbol versioning code.
36307         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
36308         symbol versioning code.
36309         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
36310         feupdateenv.  Remove symbol versioning code.
36311         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
36312         fegetexceptflag.  Remove symbol versioning code.
36313         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
36314         fesetexceptflag.  Remove symbol versioning code.
36315         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
36316         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
36317         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
36318         (__posix_fadvise64_l32): Remove prototype.
36319         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
36320         code.
36322 2014-05-13  Roland McGrath  <roland@hack.frob.com>
36324         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
36325         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
36326         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
36327         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
36329 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
36331         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
36332         current working directory
36334 2014-05-13  Roland McGrath  <roland@hack.frob.com>
36336         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
36337         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
36338         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
36339         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
36340         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
36341         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
36342         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
36343         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
36344         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
36345         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
36346         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
36347         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
36348         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
36349         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
36350         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
36351         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
36352         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
36353         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
36354         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
36355         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
36356         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
36357         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
36358         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
36359         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
36360         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
36361         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
36362         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
36363         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
36364         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
36365         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
36366         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
36367         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
36368         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
36369         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
36370         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
36371         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
36372         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
36373         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
36374         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
36375         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
36376         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
36377         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
36379         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
36380         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
36382         * sysdeps/unix/sysv/linux/arm/Makefile
36383         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
36384         Add rt-aeabi_unwind_cpp_pr1.
36385         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
36386         Add nptl-aeabi_unwind_cpp_pr1.
36387         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
36388         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
36389         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
36390         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
36391         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
36392         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
36394         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
36395         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
36396         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
36397         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
36399         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
36400         Deconditionalize the code that was previously under [RESET_PID].
36401         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
36403         * sysdeps/generic/exit-thread.h: New file.
36404         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
36405         * include/unistd.h (__exit_thread): Remove declaration.
36406         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
36407         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
36408         * csu/libc-start.c: Include <exit-thread.h>.
36409         (LIBC_START_MAIN): Pass no argument to __exit_thread.
36410         * nptl/pthread_create.c: Include <exit-thread.h>.
36411         (start_thread): Call __exit_thread in place of __exit_thread_inline.
36412         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
36413         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
36414         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
36415         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
36416         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
36417         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
36418         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
36419         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
36420         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
36421         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
36422         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
36423         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
36424         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
36425         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
36426         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
36427         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
36429 2014-05-13  Andreas Schwab  <schwab@suse.de>
36431         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
36433 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
36435         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
36436         (__ASSUME_UTIMES): Do not condition on kernel version.
36437         (__ASSUME_PSELECT): Define unconditionally.
36438         (__ASSUME_PPOLL): Likewise.
36439         (__ASSUME_ATFCTS): Likewise.
36440         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
36441         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
36442         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
36443         (__ASSUME_UTIMENSAT): Define unconditionally.
36444         (__ASSUME_PRIVATE_FUTEX): Likewise.
36445         (__ASSUME_FALLOCATE): Likewise.
36446         (__ASSUME_O_CLOEXEC): Likewise.
36447         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
36448         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
36449         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
36450         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
36451         (__ASSUME_IN_NONBLOCK): Likewise.
36452         (__ASSUME_PIPE2): Likewise.
36453         (__ASSUME_EVENTFD2): Likewise.
36454         (__ASSUME_SIGNALFD4): Likewise.
36455         (__ASSUME_DUP3): Likewise.
36456         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
36457         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
36458         (__ASSUME_AT_RANDOM): Likewise.
36459         (__ASSUME_PREADV): Likewise.
36460         (__ASSUME_PWRITEV): Likewise.
36461         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
36462         (__ASSUME_F_GETOWN_EX): Define unconditionally.
36463         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
36464         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
36465         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
36466         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
36467         (__ASSUME_O_CLOEXEC): Define unconditionally.
36468         (__ASSUME_PSELECT): Do not undefine conditionally.
36469         (__ASSUME_PPOLL): Likewise.
36470         (__ASSUME_ATFCTS): Likewise.
36471         (__ASSUME_SET_ROBUST_LIST): Likewise.
36472         (__ASSUME_UTIMENSAT): Likewise.
36473         (__ASSUME_FDATASYNC): Define unconditionally.
36474         * sysdeps/unix/sysv/linux/arm/kernel-features.h
36475         (__ASSUME_SIGFRAME_V2): Likewise.
36476         )__ASSUME_EVENTFD2): Likewise.
36477         (__ASSUME_SIGNALFD4): Likewise.
36478         (__ASSUME_PSELECT): Do not undefine conditionally.
36479         (__ASSUME_PPOLL): Likewise.
36480         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
36481         (__ASSUME_PSELECT): Define unconditionally.
36482         (__ASSUME_PPOLL): Likewise.
36483         (__ASSUME_O_CLOEXEC): Likewise.
36484         (__ASSUME_SOCK_CLOEXEC): Likewise.
36485         (__ASSUME_IN_NONBLOCK): Likewise.
36486         (__ASSUME_PIPE2): Likewise.
36487         (__ASSUME_EVENTFD2): Likewise.
36488         (__ASSUME_SIGNALFD4): Likewise.
36489         (__ASSUME_DUP3): Likewise.
36490         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
36491         (__ASSUME_O_CLOEXEC): Likewise.
36492         (__ASSUME_SOCK_CLOEXEC): Likewise.
36493         (__ASSUME_IN_NONBLOCK): Likewise.
36494         (__ASSUME_PIPE2): Likewise.
36495         (__ASSUME_EVENTFD2): Likewise.
36496         (__ASSUME_SIGNALFD4): Likewise.
36497         (__ASSUME_DUP3): Likewise.
36498         * sysdeps/unix/sysv/linux/mips/kernel-features.h
36499         (__ASSUME_EVENTFD2): Likewise.
36500         (__ASSUME_SIGNALFD4): Likewise.
36501         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
36503 2014-05-12  Andreas Schwab  <schwab@suse.de>
36505         [BZ #16932]
36506         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
36507         (_nss_nis_gethostbyname4_r): Return error if item length is larger
36508         than maximum RPC packet size.
36509         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
36510         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
36511         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
36512         (_nss_nis_getservbyport_r): Likewise.
36514 2014-05-12  Will Newton  <will.newton@linaro.org>
36516         * malloc/Makefile (tests): Add tst-mallopt.
36517         * malloc/tst-mallopt.c: New file.
36519 2014-05-09  Roland McGrath  <roland@hack.frob.com>
36521         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
36522         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
36524 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36526         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
36527         (tst-tlsmod6.so): Likewise.
36529 2014-05-09  Roland McGrath  <roland@hack.frob.com>
36531         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
36533 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
36535         [BZ #16064]
36536         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
36537         and <dl-procinfo.h>.
36538         (__fegetenv): Save SSE state in envp->__eip if supported.
36539         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
36540         envp->__eip if supported.
36541         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
36542         and <dl-procinfo.h>.
36543         (__fesetenv): Always set __eip, __cs_selector, __opcode,
36544         __data_offset and __data_selector in environment to 0.  Set SSE
36545         state if supported.
36546         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
36547         test-fenv-sse.
36548         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
36549         -mfpmath=sse.
36550         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
36552 2014-05-09  Will Newton  <will.newton@linaro.org>
36554         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
36555         and libc_relro_required for ARM.
36556         * sysdeps/arm/preconfigure: Regenerate.
36558 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
36559             Stefan Liebler  <stli@linux.vnet.ibm.com>
36561         * config.make.in (enable-lock-elision): New Makefile variable.
36562         * configure.ac: Likewise.
36563         * configure: Regenerate.
36564         * sysdeps/s390/configure.ac:
36565         Add check for gcc transactions support.
36566         * sysdeps/s390/configure: Regenerate.
36567         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
36568         Build elision files if enabled.
36569         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
36570         Add lock elision support for s390.
36571         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
36572         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
36573         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
36574         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
36575         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
36576         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
36577         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
36578         Likewise.
36579         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
36580         Likewise.
36581         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
36582         Likewise.
36583         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
36584         Likewise.
36585         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
36586         (__lll_timedlock_elision, __lll_lock_elision)
36587         (__lll_unlock_elision, __lll_trylock_elision)
36588         (lll_timedlock_elision, lll_lock_elision)
36589         (lll_unlock_elision, lll_trylock_elision): Add.
36590         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
36591         (pthread_mutex_t): Add lock elision support for s390.
36593 2014-05-14  Wilco  <wdijkstr@arm.com>
36595         * sysdeps/arm/fclrexcpt.c: Cleanup.
36596         * sysdeps/arm/fedisblxcpt.c: Cleanup.
36597         * sysdeps/arm/feenablxcpt.c: Cleanup.
36598         * sysdeps/arm/fegetenv.c: Cleanup.
36599         * sysdeps/arm/fegetexcept.c: Cleanup.
36600         * sysdeps/arm/fegetround.c: Cleanup.
36601         * sysdeps/arm/feholdexcpt.c: Cleanup.
36602         * sysdeps/arm/fesetenv.c: Cleanup.
36603         * sysdeps/arm/fesetround.c: Cleanup.
36604         * sysdeps/arm/feupdateenv.c: Cleanup.
36605         * sysdeps/arm/fgetexcptflg.c: Cleanup.
36606         * sysdeps/arm/fraiseexcpt.c: Cleanup.
36607         * sysdeps/arm/fsetexcptflg.c: Cleanup.
36608         * sysdeps/arm/ftestexcept.c: Cleanup.
36609         * sysdeps/arm/get-rounding-mode.h: Cleanup.
36610         * sysdeps/arm/setfpucw.c: Cleanup.
36612 2014-05-09  Will Newton  <will.newton@linaro.org>
36614         * sysdeps/arm/armv7/strcmp.S: New file.
36615         * NEWS: Mention addition of ARMv7 optimized strcmp.
36617 2014-05-08  Roland McGrath  <roland@hack.frob.com>
36619         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
36620         look for %.ac rather than %.in.
36622         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
36623         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
36624         * sysdeps/mach/hurd/configure: Regenerated.
36625         * sysdeps/unix/sysv/linux/configure: Regenerated.
36627         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
36629 2014-05-07  Steve Ellcey  <sellcey@mips.com>
36631         [BZ# 16922]
36632         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
36633         (LONG_SUB): Ditto.
36634         (PTR_SUB): Ditto.
36636 2014-05-07  Andreas Schwab  <schwab@suse.de>
36638         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
36639         when skipping over non-matching result from nscd.
36641 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
36643         [BZ #16876]
36644         * nptl/sockperf.c (client): Check socket return value.
36646         [BZ #16877]
36647         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
36648         nscd security class.
36650 2014-05-06  Roland McGrath  <roland@hack.frob.com>
36652         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
36653         * sysdeps/arm/unwind.h: ... here.
36655 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
36657         [BZ# 16916]
36658         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
36659         Define.
36661 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
36663         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
36664         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
36665         multiarch strncpy for PPC64.
36666         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
36667         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
36668         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
36669         multiarch optimizations.
36670         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
36671         (__libc_ifunc_impl_list): Likewise.
36672         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
36673         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
36674         multiarch stpncpy for PPC64.
36675         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
36676         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
36678 2014-05-06  Andreas Schwab  <schwab@suse.de>
36680         [BZ #16912]
36681         * gmon/mcount.c (_MCOUNT_DECL): Use
36682         atomic_compare_and_exchange_bool_acq instead of
36683         catomic_compare_and_exchange_bool_acq.
36685 2014-05-05  Roland McGrath  <roland@hack.frob.com>
36687         * elf/Makefile (others, install-bin): Remove pldd.
36688         (pldd-modules): Variable removed.
36689         ($(objpfx)pldd): Target removed.
36690         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
36691         (others, install-bin): Append pldd here.
36692         ($(objpfx)pldd): New target.
36694         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
36695         to 0, so the first #if test emitted later doesn't see it undefined.
36696         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
36697         * sysdeps/gnu/errlist.c: Regenerated.
36699 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36701         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
36702         [libc_hidden_builtin_def]: Define to empty value.
36703         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
36704         [libc_hidden_builtin_def]: Likewise.
36705         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
36706         [libc_hidden_builtin_def]: Likewise.
36707         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
36708         [libc_hidden_builtin_def]: Likewise.
36709         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
36710         __redirect_memcpy and define ifunc as default hidden symbol.
36711         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
36712         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
36714 2014-05-04  Adam Conrad  <adconrad@0c3.net>
36716         * locale/iso-4217.def: Reintroduce XDR currency.
36718 2014-05-04  Allan McRae  <allan@archlinux.org>
36720         * po/eo.po: Update Esperanto translation from translation project.
36722 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
36724         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
36725         and FEATURE_INDEX_MAX to 1.
36726         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
36728 2014-05-01  Steve Ellcey  <sellcey@mips.com>
36730         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
36731         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
36732         * iconvdata/big5.c (ONE_DIRECTION): Define.
36733         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
36734         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
36735         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
36736         * iconvdata/cp932.c (ONE_DIRECTION): Define.
36737         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
36738         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
36739         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
36740         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
36741         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
36742         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
36743         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
36744         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
36745         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
36746         * iconvdata/gbk.c (ONE_DIRECTION): Define.
36747         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
36748         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
36749         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
36750         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
36751         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
36752         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
36753         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
36754         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
36755         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
36756         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
36757         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
36758         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
36759         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
36760         * iconvdata/iso646.c (ONE_DIRECTION): Define.
36761         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
36762         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
36763         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
36764         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
36765         * iconvdata/johab.c (ONE_DIRECTION): Define.
36766         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
36767         * iconvdata/sjis.c (ONE_DIRECTION): Define.
36768         * iconvdata/t.61.c (ONE_DIRECTION): Define.
36769         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
36770         * iconvdata/tscii.c (ONE_DIRECTION): Define.
36771         * iconvdata/uhc.c (ONE_DIRECTION): Define.
36772         * iconvdata/unicode.c (ONE_DIRECTION): Define.
36773         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
36774         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
36775         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
36777 2014-05-01  Roland McGrath  <roland@hack.frob.com>
36779         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
36780         (_IO_JUMPS_OFFSET): Define to 0.
36782         * nptl/sysdeps/pthread/bits/libc-lock.h
36783         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
36784         (__libc_lock_define_initialized_recursive): Always define using
36785         initializer.  Modern compilers treat uninitialized (implicit zero) and
36786         explicit zero initializers the same (i.e. put the datum in bss).
36788 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
36790         * nscd/nscd-client.h: Include <string.h>.
36792 2014-05-01  David S. Miller  <davem@davemloft.net>
36794         [BZ #16885]
36795         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
36796         multiple zero bytes exist at the end of a string.
36797         Reported by Aurelien Jarno <aurelien@aurel32.net>
36799         * string/test-strcmp.c (check): Add explicit test for situations where
36800         there are multiple zero bytes after the first.
36802 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
36804         [BZ #16890]
36805         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
36806         when compiling wprintf.
36807         * stdio-common/tstdiomisc.c (t3): New function.
36808         (main): Call it.
36810 2014-05-01  Steve Ellcey  <sellcey@mips.com>
36812         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
36813         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
36814         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
36815         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
36817 2014-05-01  Steve Ellcey  <sellcey@mips.com>
36819         * stdlib/longlong.h: Updated from GCC.
36821 2014-05-01  Will Newton  <will.newton@linaro.org>
36822             Bernard Ogden  <bernie.ogden@linaro.org>
36824         * NEWS: Update fixed bug list.
36826         [BZ #15119]
36827         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
36829 2014-04-30  David S. Miller  <davem@davemloft.net>
36831         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
36832         (libc_feholdexcept_setround_sparc_ctx): New function.
36833         (libc_fesetenv_sparc_ctx): Likewise.
36834         (libc_feupdateenv_sparc_ctx): Likewise.
36835         (libc_feholdsetround_sparc_ctx): Likewise.
36836         (libc_feholdexcept_setround_ctx): Define.
36837         (libc_feholdexcept_setroundf_ctx): Likewise.
36838         (libc_feholdexcept_setroundl_ctx): Likewise.
36839         (libc_fesetenv_ctx): Likewise.
36840         (libc_fesetenvf_ctx): Likewise.
36841         (libc_fesetenvl_ctx): Likewise.
36842         (libc_feupdateenv_ctx): Likewise.
36843         (libc_feupdateenvf_ctx): Likewise.
36844         (libc_feupdateenvl_ctx): Likewise.
36845         (libc_feresetround_ctx): Likewise.
36846         (libc_feresetroundf_ctx): Likewise.
36847         (libc_feresetroundl_ctx): Likewise.
36848         (libc_feholdsetround_ctx): Likewise.
36849         (libc_feholdsetroundf_ctx): Likewise.
36850         (libc_feholdsetroundl_ctx): Likewise.
36852         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
36853         with __USE_GNU instead of XOPEN cpp guards.
36855         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
36856         0.
36858         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
36859         with XOPEN cpp guards.
36861 2014-04-30  Julian Brown  <julian@codesourcery.com>
36863         [BZ #16888]
36864         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
36865         handling.
36867 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
36869         [BZ #9894]
36870         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
36871         Change to 2.6.32.
36872         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
36873         * sysdeps/unix/sysv/linux/configure: Regenerated.
36874         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
36875         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
36876         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
36877         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
36878         * README: Update reference to required Linux kernel version.
36879         * manual/install.texi (Linux): Update reference to required Linux
36880         kernel headers version.
36881         * INSTALL: Regenerated.
36883         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
36884         header inclusion.
36885         [POSIX] (limits.h): Likewise.
36886         [POSIX] (math.h): Likewise.
36887         [POSIX] (sys/wait.h): Likewise.
36888         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
36889         function.
36890         [POSIX] (stddef.h): Do not allow header inclusion.
36892 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36894         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
36896 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
36898         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
36899         Return immediately after lll_futex_wake.
36901 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
36903         [BZ #16791]
36904         * nscd/nscd-client.h (datahead_init_common): Initialize entire
36905         structure.
36906         (datahead_init_pos): Call datahead_init_common early.
36907         (datahead_init_neg): Likewise.
36909         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
36910         datahead_init_neg): New functions.
36911         * nscd/aicache.c (addhstaiX): Use them.
36912         * nscd/grpcache.c (cache_addgr): Likewise.
36913         * nscd/hstcache.c (cache_addhst): Likewise.
36914         * nscd/initgrcache.c (addinitgroupsX): Likewise.
36915         * nscd/netgroupcache.c (do_notfound): Likewise.
36916         (addgetnetgrentX): Likewise.
36917         (addinnetgrX): Likewise.
36918         * nscd/pwdcache.c (cache_addpw): Likewise.
36919         * nscd/servicescache.c (cache_addserv): Likewise.
36921 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
36922             Atsushi Onoe  <atsushi@onoe.org>
36924         [BZ #14308]
36925         [BZ #12994]
36926         [BZ #13651]
36927         * resolv/res_query.c (__libc_res_nsearch): Return if at least
36928         one response is valid.
36929         * resolv/res_send.c (send_dg): Check for validity of other
36930         response if the current response is a referral.
36932 2014-04-29  Steve Ellcey  <sellcey@mips.com>
36934         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
36936 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
36938         [BZ #16823]
36939         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
36940         Always divide by positive zero when computing -Inf result.
36941         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
36942         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
36944 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36946         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
36947         FPSCR if value do not change.
36948         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
36949         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
36950         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
36951         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
36952         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
36953         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
36954         function.
36956 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
36958         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
36959         * sysdeps/unix/sysv/linux/hppa: Move directory from
36960         ports/systeps/unix/sysv/linux/hppa.
36961         * README: Update listing for hppa-*-linux-gnu.
36963 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
36965         [BZ #16754]
36966         * manual/stdio.texi (Hook functions): Fix types of stream hook
36967         functions.
36968         [BZ #16854]
36969         * socket/sys/socket.h: Fix typo in comment.
36971 2014-04-28  Wilco  <wdijkstr@arm.com>
36973         * sysdeps/arm/fenv_private.h: New file.
36974         * sysdeps/arm/math_private.h: New file.
36975         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
36977 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
36979         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
36980         with __int128_t.
36981         (La_x86_64_retval): Likewise.
36983 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
36985         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
36986         fpsr if value didn't change.
36987         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
36988         to fpcr if value didn't change.
36989         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
36990         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
36991         fpsr or fpcr if value didn't change.
36992         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
36993         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
36994         fpcr if value didn't change.
36995         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
36996         to fpsr if value didn't change.
36998 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
37000         * nptl/tst-sem3.c: Use test-skeleton.c
37001         (main): Rename to do_test.  Use return instead of
37002         exit.
37003         * nptl/tst-sem4.c: Use test-skeleton.c
37004         (main): Rename to do_test.
37006 2014-04-22  David S. Miller  <davem@davemloft.net>
37008         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
37009         (struct sigaction): New struct member __glibc_reserved0, change
37010         type of sa_flags to int.
37012 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
37014         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
37015         (COUNT_LEADING_ZEROS_0): Define for AArch64.
37017 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
37019         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
37020         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
37022 2014-04-22  Will Newton  <will.newton@linaro.org>
37023             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
37025         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
37026         (__longjmp): Add longjmp and longjmp_target SystemTap
37027         probes.
37028         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
37029         (__sigsetjmp): Add setjmp SystemTap probe.
37031 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
37033         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
37034         match manual order.
37036 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37038         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
37040         * sysdeps/powerpc/fpu/fenv_private.h
37041         (libc_feholdexcept_setroundl_ctx): Define to
37042         libc_feholdexcept_setround_ppc_ctx.
37043         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
37044         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
37045         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
37046         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
37048 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
37050         * sysdeps/aarch64/math-tests.h: New file.
37052 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
37054         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
37055         New.
37056         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37057         Check and set bit_AVX2_Usable.
37058         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
37059         macro.
37060         (bit_AVX2): Likewise.
37061         (index_AVX2_Usable): Likewise.
37062         (CPUID_AVX2): Likewise.
37063         (HAS_AVX2): Likewise.
37065 2014-04-17  Will Newton  <will.newton@linaro.org>
37067         * manual/setjmp.texi (System V contexts): Add note that
37068         calling setcontext on a context created by a call to a
37069         signal handler is undefined.  Update text to note that
37070         setcontext from a signal handler is possible but not
37071         recommended.
37073         [BZ #16629]
37074         * stdlib/tst-setcontext.c: Include signal.h.
37075         (main): Check that the signal stack before and
37076         after swapcontext is the same.
37078         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
37079         Re-implement to restore registers in user code and avoid
37080         rt_sigreturn system call.
37082 2014-04-17  Wilco  <wdijkstr@arm.com>
37084         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
37085         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
37086         * math/test-fenv.c: Skip exception trap tests on targets which only
37087         support non-stop mode.
37089 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
37090             Wilco Dijkstra  <wilco.dijkstra@arm.com>
37092         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
37093         (libc_feholdsetround_aarch64_ctx)
37094         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
37095         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
37096         (libc_feresetround_ctx, libc_feresetroundf_ctx)
37097         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
37098         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
37099         (libc_feresetround_noexl_ctx): Define.
37101 2014-04-16  Richard Henderson  <rth@redhat.com>
37103         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
37105         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
37106         unwind tables.
37108         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
37109         const from the non-libc, non-ldso copy.
37111         * sysdeps/alpha/libm-test-ulps: Regenerate.
37113 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
37114             Wilco Dijkstra  <wilco.dijkstra@arm.com>
37116         * sysdeps/aarch64/fpu/math_private.h: New file.
37118 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
37120         * sysdeps/aarch64/libm-test-ulps: Regenerate.
37122 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
37124         [BZ #16275]
37125         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
37126         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
37127         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
37128         Intel MPX bound registers before _dl_profile_fixup.
37129         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
37130         registers after _dl_profile_fixup.  Save and restore bound
37131         registers bnd0/bnd1 when calling _dl_call_pltexit.
37132         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
37133         (LR_BND_OFFSET): Likewise.
37134         (LRV_BND0_OFFSET): Likewise.
37135         (LRV_BND1_OFFSET): Likewise.
37137 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37139         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
37140         to...
37141         * sysdeps/mach/hurd/i386/tls.h: ... here.
37142         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
37143         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
37144         fields.
37146 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37148         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
37150 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
37152         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
37154 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
37156         [BZ #14770]
37157         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
37158         * sysdeps/s390/configure: Regenerate.
37160         [BZ #16824]
37161         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
37162         Set round-to-nearest internally to reduce error accumulation.
37164 2014-04-16  Alan Modra  <amodra@gmail.com>
37166         [BZ #16740]
37167         [BZ #16619]
37168         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
37169         * math/libm-test.inc (frexp_test_data): Add tests.
37170         * NEWS: Update fixed bug list.
37172 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
37174         * benchtests/Makefile: Depend on libraries in build directory.
37175         (bench-math): Separate out math tests.
37176         (bench-pthread): Separate out pthread tests.
37177         (bench): Include math and pthread tests.
37179 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
37181         [BZ #16831]
37182         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
37183         _dl_debug_initialize.
37185         * configure.ac: Remove SELinux header check.
37186         * configure: Regenerate.
37187         * nscd/selinux.c (perms): Array of const char* to permission names.
37188         (nscd_request_avc_has_perm): Call security_deny_unknown to find
37189         default policy. Call string_to_security_class and string_to_av_perm to
37190         translate strings. Enforce default policy and call avs_has_perm with
37191         results of translated strings.
37193 2014-04-13  David S. Miller  <davem@davemloft.net>
37195         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37197 2014-04-12  Allan McRae  <allan@archlinux.org>
37199         [BZ #16838]
37200         * manual/string.texi (Collation Functions): Fix qsort argument
37201         order in example.
37202         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
37204 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
37206         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
37207         Make the test a no-op if there are no exceptions defined.
37209 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
37211         * elf/Makefile (tests): make tst-dlopen-aout conditional on
37212         enable-hardcoded-path-in-tests
37214 2014-04-11  Will Newton  <will.newton@linaro.org>
37216         * benchtests/Makefile (extra-objs): Add json-lib.o.
37217         (bench-func): Tidy up JSON output.
37218         * benchtests/bench-skeleton.c: Include json-lib.h.
37219         (main): Use JSON library functions to do output of
37220         benchmark results.
37221         * benchtests/bench-timing-type.c (main): Output the
37222         timing type simply, leaving formatting to the user.
37223         * benchtests/json-lib.c: New file.
37224         * benchtests/json-lib.h: Likewise.
37226 2014-04-11  Torvald Riegel  <triegel@redhat.com>
37228         [BZ #15215]
37229         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
37230         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
37231         memory barriers.  Add comments.
37232         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
37233         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
37234         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
37235         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
37236         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
37237         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
37239 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
37241         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
37242         * sysdeps/s390/s390-64/configure.ac: ... this ...
37243         * sysdeps/s390/configure.ac: ... to here.
37244         * sysdeps/s390/s390-32/configure: Delete file.
37245         * sysdeps/s390/s390-64/configure: Delete file.
37246         * sysdeps/s390/configure: Regenerate.
37248 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
37250         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
37252 2014-04-11  Will Newton  <will.newton@linaro.org>
37254         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
37255         to zero if it is not defined elsewhere.  (mtrim): Test
37256         the value of MALLOC_DEBUG with #if rather than #ifdef.
37258 2014-04-10 Torvald Riegel  <triegel@redhat.com>
37260         * benchtests/pthread_once-inputs: New file.
37261         * benchtests/pthread_once-source.c: New file.
37262         * benchtests/README: Update documentation.
37264 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
37265             H.J. Lu  <hongjiu.lu@intel.com>
37267         [BZ #16275]
37268         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
37269         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
37270         * sysdeps/x86_64/configure: Regenerated.
37271         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
37272         macro.
37273         (REGISTER_SAVE_RAX): Likewise.
37274         (REGISTER_SAVE_RCX): Likewise.
37275         (REGISTER_SAVE_RDX): Likewise.
37276         (REGISTER_SAVE_RSI): Likewise.
37277         (REGISTER_SAVE_RDI): Likewise.
37278         (REGISTER_SAVE_R8): Likewise.
37279         (REGISTER_SAVE_R9): Likewise.
37280         (REGISTER_SAVE_BND0): Likewise.
37281         (REGISTER_SAVE_BND1): Likewise.
37282         (REGISTER_SAVE_BND2): Likewise.
37283         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
37284         bound registers when calling _dl_fixup.
37286 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37288         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
37289         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
37290         of its definition.
37291         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
37292         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
37293         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
37294         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
37295         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
37296         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
37297         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
37299 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
37301         [BZ #15514]
37302         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
37303         pathconf(_PC_NAME_MAX).
37305 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37307         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
37308         Remove macro usage.
37309         (__PTHREAD_SPINS): Move definition to ...
37310         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
37311         (__PTHREAD_SPINS): ... here.
37312         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
37313         (__PTHREAD_SPIN): Likewise.
37314         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
37315         (__PTHREAD_SPIN): Likewise.
37316         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
37317         (__PTHREAD_SPIN): Likewise.
37318         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
37319         (__PTHREAD_SPIN): Likewise.
37320         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
37321         (__PTHREAD_SPIN): Likewise.
37322         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
37323         (__PTHREAD_SPIN): Likewise.
37324         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
37325         (__PTHREAD_SPIN): Likewise.
37326         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
37327         (__PTHREAD_SPIN): Likewise.
37328         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
37329         (__PTHREAD_SPIN): Likewise.
37330         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
37331         (__PTHREAD_SPIN): Likewise.
37332         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
37333         (__PTHREAD_SPIN): Likewise.
37334         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
37335         (__PTHREAD_SPIN): Likewise.
37337         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
37338         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
37339         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
37340         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
37341         imply folder.
37342         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
37343         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
37344         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
37345         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
37346         correct imply path.
37347         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
37348         strlen symbol for non multi-arch builds.
37349         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
37350         missing hidden_def and weak_alias.
37352 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
37354         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
37356 2014-04-07  Will Newton  <will.newton@linaro.org>
37358         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
37359         and contents.  [!_LIBC] Remove #ifndef and contents.
37360         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
37361         * string/memccpy.c (__memccpy): Use ANSI prototype.
37362         * string/memfrob.c (memfrob): Likewise.
37363         * string/strcoll.c (STRCOLL): Likewise.
37364         * string/strlen.c (strlen): Likewise.
37365         * string/strtok.c (STRTOK): Likewise.
37366         * string/strcat.c: Remove unused #include of memcopy.h.
37367         (strcat): Use ANSI prototype.
37368         * string/strchr.c: Remove unused #include of memcopy.h.
37369         (strchr): Use ANSI prototype.
37370         * string/strcmp.c: Remove unused #include of memcopy.h.
37371         (strcmp): Use ANSI prototype.
37372         * string/strcpy.c: Remove unused #include of memcopy.h.
37373         (strcpy): Use ANSI prototype.
37375 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37377         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
37378         * config.make.in (config-extra-cppflags): Set it from
37379         libc_extra_cppflags.
37380         * configure.ac (libc_extra_cflags): Make it accumulate over
37381         configure fragments.
37382         (libc_extra_cppflags): New flag.
37383         * configure. Regenerate.
37384         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
37385         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
37386         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
37387         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
37389         [BZ #16815]
37390         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
37391         result for FE_DOWNWARD rounding mode.
37392         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
37393         Likewise.
37394         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37396 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
37398         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
37399         in function argument name.
37401 2014-04-03  David Svoboda  <svoboda@cert.org>
37403         [BZ #5666]
37404         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
37405         explicitly.
37407 2014-04-03  Roland McGrath  <roland@hack.frob.com>
37409         * elf/dl-unmap-segments.h: New file.
37410         * sysdeps/generic/ldsodefs.h
37411         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
37412         * elf/dl-close.c: Include <dl-unmap-segments.h>.
37413         * elf/dl-fptr.c: Likewise.
37414         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
37415         * sysdeps/aarch64/tlsdesc.c: Likewise.
37416         * sysdeps/arm/tlsdesc.c: Likewise.
37417         * sysdeps/i386/tlsdesc.c: Likewise.
37418         * sysdeps/tile/dl-runtime.c: Likewise.
37419         * sysdeps/x86_64/tlsdesc.c: Likewise.
37420         * elf/dl-load.h: New file.
37421         * elf/dl-load.c: Include it.
37422         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
37423         Macros moved to dl-load.h.
37424         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
37425         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
37426         Use _dl_unmap_segments in place of __munmap.
37427         Break out segment-mapping loop into ...
37428         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
37430 2014-04-03  Will Newton  <will.newton@linaro.org>
37432         * elf/dl-lookup.c (do_lookup_x): Remove comment
37433         referring to nested function and move variable
37434         declarations down to before first use.
37436 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
37438         [BZ #16799]
37439         [BZ #16800]
37440         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
37441         with 0 numerator.
37442         * math/s_catanf.c (__catanf): Likewise.
37443         * math/s_catanh.c (__catanh): Likewise.
37444         * math/s_catanhf.c (__catanhf): Likewise.
37445         * math/s_catanhl.c (__catanhl): Likewise.
37446         * math/s_catanl.c (__catanl): Likewise.
37447         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
37448         by positive zero when computing -Inf result.
37449         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
37450         (catanh_test): Likewise.
37451         * sysdeps/i386/fpu/libm-test-ulps: Update.
37452         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37454         [BZ #16789]
37455         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
37456         instead of using underflowing value in computing result.
37457         * math/s_clog10.c (__clog10): Likewise.
37458         * math/s_clog10f.c (__clog10f): Likewise.
37459         * math/s_clog10l.c (__clog10l): Likewise.
37460         * math/s_clogf.c (__clogf): Likewise.
37461         * math/s_clogl.c (__clogl): Likewise.
37462         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
37463         (clog10_test): Likewise.
37464         * sysdeps/i386/fpu/libm-test-ulps: Update.
37465         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37467 2014-04-02  Alan Modra  <amodra@gmail.com>
37469         [BZ #16739]
37470         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
37471         output when value is near a power of two.  Use int64_t for lx and
37472         remove casts.  Use decimal rather than hex exponent constants.
37473         Don't use long double multiplication when double will suffice.
37474         * math/libm-test.inc (nextafter_test_data): Add tests.
37475         * NEWS: Add 16739 and 16786 to bug list.
37477         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
37479         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
37481 2014-04-01  Will Newton  <will.newton@linaro.org>
37483         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
37484         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
37486 2014-04-01  Florian Weimer  <fweimer@redhat.com>
37488         [BZ #13347]
37489         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
37490         * nptl/tst-setuid2.c: New file.
37491         * nptl/Makefile (xtests): Add tst-setuid2.
37493 2014-04-01  Alan Modra  <amodra@gmail.com>
37495         [BZ #16786]
37496         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
37498 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
37500         [BZ #6803]
37501         [BZ #6804]
37502         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
37503         set errno as appropriate.
37504         * math/w_scalbf.c (__scalbf): Likewise.
37505         * math/w_scalbl.c (__scalbl): Likewise.
37506         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
37507         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
37508         * math/libm-test.inc (scalb_test_data): Add errno expectations.
37509         Add more NaN tests.
37511         [BZ #16349]
37512         * math/w_atan2.c: Include <errno.h>.
37513         (__atan2): Set errno for result underflowing to zero.
37514         * math/w_atan2f.c: Include <errno.h>.
37515         (__atan2f): Set errno for result underflowing to zero.
37516         * math/w_atan2l.c: Include <errno.h>.
37517         (__atan2l): Set errno for result underflowing to zero.
37518         * math/auto-libm-test-in: Don't allow missing errno for some atan2
37519         tests.
37520         * math/auto-libm-test-out: Regenerated.
37522 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37524         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
37525         Encode instruction correctly in little endian.
37526         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
37527         Likewise.
37528         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
37529         Likewise.
37530         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
37531         Likewise.
37532         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
37533         Likewise.
37535 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
37537         [BZ #9894]
37538         * sysdeps/unix/sysv/linux/kernel-features.h
37539         [__sparc__ && !__arch64__ && !__sparc_v9__]
37540         (__ASSUME_SET_ROBUST_LIST): Do not define.
37541         [__sparc__ && !__arch64__ && !__sparc_v9__]
37542         (__ASSUME_FUTEX_LOCK_PI): Likewise.
37543         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
37544         Likewise.
37545         * sysdeps/unix/sysv/linux/arm/kernel-features.h
37546         (__ASSUME_FUTEX_LOCK_PI): Undefine.
37547         (__ASSUME_REQUEUE_PI): Likewise.
37548         (__ASSUME_SET_ROBUST_LIST): Likewise.
37549         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
37550         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
37551         Undefine.
37552         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37553         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
37554         Likewise.
37555         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
37556         Likewise.
37557         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
37558         Likewise.
37559         * sysdeps/unix/sysv/linux/mips/kernel-features.h
37560         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
37561         Undefine.
37562         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
37563         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
37564         Likewise.
37566         [BZ #16648]
37567         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37568         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
37569         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
37571 2014-03-31  Will Newton  <will.newton@linaro.org>
37573         * benchtests/Makefile (bench): Add ffs and ffsll to list
37574         of tests.
37575         * benchtests/ffs-inputs: New file.
37576         * benchtests/ffsll-inputs: Likewise.
37578 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
37580         [BZ #16770]
37581         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
37582         too large before casting to int.
37583         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
37584         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
37585         * math/libm-test.inc (scalb_test_data): Add more tests.
37587 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
37589         * benchtests/Makefile (DETAILED_OPT): New make option.
37590         (bench-func): Run benchmark program with -d if DETAILED_OPT is
37591         set.
37592         * benchtests/bench-skeleton.c: Include stdbool.h.
37593         (main): Store and print timings per input.
37594         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
37595         member to each argument value.
37596         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
37597         (_print_arg_data): Initialize per-input timing to 0.
37599         * benchtests/Makefile (timing-type): New binary.
37600         (bench-clean): Also remove bench-timing-type.
37601         (bench): New target for timing-type.
37602         (bench-func): Print output in JSON format.
37603         * benchtests/bench-skeleton.c (main): Print output in JSON
37604         format.
37605         * benchtests/bench-timing-type.c: New file.
37606         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
37607         (TIMING_PRINT_STATS): Remove.
37608         * benchtests/scripts/bench.py (_print_arg_data): Store variant
37609         name separately.
37611         * benchtests/bench-modf.c: Remove.
37612         * benchtests/modf-inputs: New inputs file.
37614 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
37616         [BZ #16362]
37617         * math/s_clog10.c (M_PI_LOG10E): New macro.
37618         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
37619         imaginary parts are 0.
37620         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
37621         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
37622         imaginary parts are 0.
37623         * math/s_clog10l.c (M_PI_LOG10El): New macro.
37624         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
37625         imaginary parts are 0.
37626         * math/libm-test.inc (clog10_test_data): Update expected results
37627         for when real and imaginary parts are 0.
37629 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
37631         * elf/dl-load.c: Finish conversion of __builtin_expect into
37632         __glibc_{un}likely.
37634 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
37636         [BZ #16348]
37637         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
37638         1+x for argument with exponent below -67.
37639         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
37640         Likewise.
37641         * math/auto-libm-test-in: Add more tests of exp.
37642         * math/auto-libm-test-out: Regenerated.
37644 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
37646         [BZ #16759]
37647         * inet/getnetgrent_r.c (get_nonempty_val): New function.
37648         (nscd_getnetgrent): Use it.
37650         [BZ #16760]
37651         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
37652         of stpcpy.
37654 2014-03-27  Andi Kleen  <ak@linux.intel.com>
37656         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
37657         (lll_robust_lock, lll_cond_lock, lll_timedlock)
37658         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
37659         (lll_robust_unlock): Remove out of line section. Use cfi
37660         intrinsics.
37661         (LLL_STUB_UNWIND_INFO*): Remove.
37662         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
37663         (lll_robust_lock, lll_cond_lock, lll_timedlock)
37664         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
37665         (lll_robust_unlock): Remove out of line section. Use cfi
37666         intrinsics.
37667         (LLL_STUB_UNWIND_INFO*): Remove.
37669 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
37671         [BZ #16758]
37672         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
37673         blank values.
37675 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
37677         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
37679 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
37681         [BZ #16198]
37682         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
37683         fnstenv.
37684         * math/test-fenv-preserve.c: New file.
37685         * math/Makefile (tests): Add test-fenv-preserve.
37687 2014-03-26  Will Newton <will.newton@linaro.org>
37689         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
37691 2014-03-25  Roland McGrath  <roland@hack.frob.com>
37693         * scripts/versionlist.awk: Partition the version sets and emit all
37694         GLIBC_* (sorted) before all others (sorted).
37696 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
37698         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
37699         GLIBC_2.2.5 version.
37701 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37703         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
37704         calls.
37706         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
37707         previous change.
37709         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37711 2014-03-25  Andreas Schwab  <schwab@suse.de>
37713         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
37714         label to be used after in6ailist is initialized.
37716 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37718         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
37719         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
37721 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
37723         [BZ #16357]
37724         [BZ #16599]
37725         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
37726         min_plus_half.
37727         (fp_formats): Update initializers.
37728         (init_fp_formats): Initialize new field.
37729         (output_for_one_input_case): Allow underflow for results up to
37730         min_plus_half.
37731         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
37732         * math/auto-libm-test-in: Don't mark some underflows from asin and
37733         atanh as spurious.
37734         * math/auto-libm-test-out: Regenerated.
37735         * sysdeps/i386/fpu/libm-test-ulps: Update.
37736         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37738 2014-03-25  Andreas Schwab  <schwab@suse.de>
37740         * libio/Makefile (tst-ftell-partial-wide-ENV)
37741         (tst-ftell-active-handler-ENV): Define.
37743 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
37745         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
37747 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
37749         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
37751 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
37753         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
37754         * sysdeps/x86_64/fpu/multiarch/e_exp.c
37755         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
37757 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
37759         [BZ #16634]
37760         * elf/dl-load.c (open_verify): Add mode parameter.
37761         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
37762         (open_path): Change from boolean 'secure' to complete flag 'mode'
37763         (_dl_map_object): Adjust.
37764         * elf/Makefile (tests): Add tst-dlopen-aout.
37765         * elf/tst-dlopen-aout.c: New test.
37767 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
37769         [BZ #16714]
37770         * sysdeps/unix/sysv/linux/s390/bits/stat.h
37771         (struct stat): Rename member pad0 to __glibc_reserved0.
37773         [BZ #16712]
37774         * sysdeps/s390/s390-32/bits/wordsize.h
37775         (__WORDSIZE32_SIZE_ULONG): New define.
37776         * sysdeps/s390/s390-64/bits/wordsize.h
37777         (__WORDSIZE32_SIZE_ULONG): Likewise.
37778         * sysdeps/generic/stdint.h (SIZE_MAX):
37779         Define as UL if __WORDSIZE32_SIZE_ULONG.
37781         [BZ #16713]
37782         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
37783         (__glibc_reserved0): New variable.
37784         (sa_flags): Change type to int.
37786         * posix/Makefile (before-compile): Use += before-compile instead
37787         of a :=.
37789         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
37790         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
37792 2014-03-20  Andreas Schwab  <schwab@suse.de>
37794         [BZ #16743]
37795         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
37796         non-matching result from nscd.
37798 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
37800         * scripts/bench.py: Moved to ...
37801         * benchtests/scripts/bench.py: ... here.
37802         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
37804 2014-03-24  Andreas Schwab  <schwab@suse.de>
37806         [BZ #16002]
37807         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
37808         alloca_account and account alloca use for struct in6ailist.
37810 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
37812         [BZ #16284]
37813         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
37814         rounding mode to recompute results that overflow to infinity or
37815         underflow to zero.
37816         * math/auto-libm-test-in: Don't mark tests as expected to fail for
37817         bug 16284.
37818         * math/auto-libm-test-out: Regenerated.
37819         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
37820         (ccosh_test): Likewise.
37821         (csin_test_data): Use plus_oflow.
37822         (csin_test): Use ALL_RM_TEST.
37823         (csinh_test_data): Use plus_oflow.
37824         (csinh_test): Use ALL_RM_TEST.
37825         * sysdeps/i386/fpu/libm-test-ulps: Update.
37826         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37828 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
37830         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
37831         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
37832         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
37834         [BZ #16731]
37835         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
37836         when x - 1 is zero.
37837         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
37838         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
37839         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
37840         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
37841         argument is 1.
37842         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
37843         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
37844         zero.
37845         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
37846         * sysdeps/i386/fpu/libm-test-ulps: Update.
37847         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37849 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
37851         * scripts/bench.pl: Remove file.
37852         * scripts/bench.py: New benchmark script.
37853         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
37854         * benchtests/README: Mention python dependency.
37855         * scripts/pylintrc: New file.
37856         * scripts/pylint: New file.
37858         * bits/mathdef.h: Use #ifdef instead of #if.
37859         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
37860         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
37861         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
37862         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
37863         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
37864         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
37866 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37867             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
37869         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
37870         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
37871         and strpbrk-ppc64 objects.
37872         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37873         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
37874         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
37875         multiarch strpbrk for POWER7.
37876         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
37877         multiarch strpbrk for PPC64.
37878         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
37879         ifunc selector.
37880         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
37881         strpbrk for POWER7.
37883 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
37885         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
37886         (atan_test): Likewise.
37887         (atanh_test_data): Use NO_TEST_INLINE for two tests.
37888         (atanh_test): Use ALL_RM_TEST.
37889         (atan2_test_data): Likewise.
37890         (cabs_test): Likewise.
37891         (cacosh_test): Likewise.
37892         (carg_test): Likewise.
37893         (casin_test): Likewise.
37894         (casinh_test): Likewise.
37895         (cbrt_test): Likewise.
37896         (csqrt_test): Likewise.
37897         (erf_test): Likewise.
37898         (erfc_test): Likewise.
37899         (pow10_test): Likewise.
37900         (exp2_test): Likewise.
37901         (hypot_test): Likewise.
37902         (j0_test): Likewise.
37903         (j1_test): Likewise.
37904         (lgamma_test): Likewise.
37905         (gamma_test): Likewise.
37906         (sincos_test): Likewise.
37907         (tanh_test): Likewise.
37908         (y0_test): Likewise.
37909         (y1_test): Likewise.
37910         * sysdeps/i386/fpu/libm-test-ulps: Update.
37911         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37913 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37915         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
37916         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
37917         and strcspn-ppc64 objects.
37918         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37919         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
37920         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
37921         multiarch strcspn for POWER7.
37922         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
37923         multiarch strcspn for PPC64.
37924         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
37925         ifunc selector.
37926         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
37927         strcspn for POWER7.
37929 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
37931         * math/gen-libm-test.pl (generate_testfile): Expect only function
37932         name as argument to AUTO_TESTS_* and pass results for all rounding
37933         modes to parse_args.
37934         (parse_auto_input): Separate inputs of automatic tests from
37935         outputs before storing in %auto_tests.
37936         * math/libm-test.inc (acos_test_data): Update call to
37937         AUTO_TESTS_f_f.
37938         (acos_test): Use ALL_RM_TEST.
37939         (acos_tonearest_test_data): Remove.
37940         (acos_test_tonearest): Likewise.
37941         (acos_towardzero_test_data): Likewise.
37942         (acos_test_towardzero): Likewise.
37943         (acos_downward_test_data): Likewise.
37944         (acos_test_downward): Likewise.
37945         (acos_upward_test_data): Likewise.
37946         (acos_test_upward): Likewise.
37947         (acosh_test_data): Update call to AUTO_TESTS_f_f.
37948         (asin_test_data): Likewise.
37949         (asin_test): Use ALL_RM_TEST.
37950         (asin_tonearest_test_data): Remove.
37951         (asin_test_tonearest): Likewise.
37952         (asin_towardzero_test_data): Likewise.
37953         (asin_test_towardzero): Likewise.
37954         (asin_downward_test_data): Likewise.
37955         (asin_test_downward): Likewise.
37956         (asin_upward_test_data): Likewise.
37957         (asin_test_upward): Likewise.
37958         (asinh_test_data): Update call to AUTO_TESTS_f_f.
37959         (atan_test_data): Likewise.
37960         (atanh_test_data): Likewise.
37961         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
37962         (cabs_test_data): Update call to AUTO_TESTS_c_f.
37963         (carg_test_data): Likewise.
37964         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
37965         (ccos_test_data): Update call to AUTO_TESTS_c_c.
37966         (ccosh_test_data): Likewise.
37967         (cexp_test_data): Likewise.
37968         (clog_test_data): Likewise.
37969         (clog10_test_data): Likewise.
37970         (cos_test_data): Update call to AUTO_TESTS_f_f.
37971         (cos_test): Use ALL_RM_TEST.
37972         (cos_tonearest_test_data): Remove.
37973         (cos_test_tonearest): Likewise.
37974         (cos_towardzero_test_data): Likewise.
37975         (cos_test_towardzero): Likewise.
37976         (cos_downward_test_data): Likewise.
37977         (cos_test_downward): Likewise.
37978         (cos_upward_test_data): Likewise.
37979         (cos_test_upward): Likewise.
37980         (cosh_test_data): Update call to AUTO_TESTS_f_f.
37981         (cosh_test): Use ALL_RM_TEST.
37982         (cosh_tonearest_test_data): Remove.
37983         (cosh_test_tonearest): Likewise.
37984         (cosh_towardzero_test_data): Likewise.
37985         (cosh_test_towardzero): Likewise.
37986         (cosh_downward_test_data): Likewise.
37987         (cosh_test_downward): Likewise.
37988         (cosh_upward_test_data): Likewise.
37989         (cosh_test_upward): Likewise.
37990         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
37991         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
37992         (ctan_test_data): Likewise.
37993         (ctan_test): Use ALL_RM_TEST.
37994         (ctan_tonearest_test_data): Remove.
37995         (ctan_test_tonearest): Likewise.
37996         (ctan_towardzero_test_data): Likewise.
37997         (ctan_test_towardzero): Likewise.
37998         (ctan_downward_test_data): Likewise.
37999         (ctan_test_downward): Likewise.
38000         (ctan_upward_test_data): Likewise.
38001         (ctan_test_upward): Likewise.
38002         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
38003         (ctanh_test): Use ALL_RM_TEST.
38004         (ctanh_tonearest_test_data): Remove.
38005         (ctanh_test_tonearest): Likewise.
38006         (ctanh_towardzero_test_data): Likewise.
38007         (ctanh_test_towardzero): Likewise.
38008         (ctanh_downward_test_data): Likewise.
38009         (ctanh_test_downward): Likewise.
38010         (ctanh_upward_test_data): Likewise.
38011         (ctanh_test_upward): Likewise.
38012         (erf_test_data): Update call to AUTO_TESTS_f_f.
38013         (erfc_test_data): Likewise.
38014         (exp_test_data): Likewise.
38015         (exp_test): Use ALL_RM_TEST.
38016         (exp_tonearest_test_data): Remove.
38017         (exp_test_tonearest): Likewise.
38018         (exp_towardzero_test_data): Likewise.
38019         (exp_test_towardzero): Likewise.
38020         (exp_downward_test_data): Likewise.
38021         (exp_test_downward): Likewise.
38022         (exp_upward_test_data): Likewise.
38023         (exp_test_upward): Likewise.
38024         (exp10_test_data): Update call to AUTO_TESTS_f_f.
38025         (exp10_test): Use ALL_RM_TEST.
38026         (exp10_tonearest_test_data): Remove.
38027         (exp10_test_tonearest): Likewise.
38028         (exp10_towardzero_test_data): Likewise.
38029         (exp10_test_towardzero): Likewise.
38030         (exp10_downward_test_data): Likewise.
38031         (exp10_test_downward): Likewise.
38032         (exp10_upward_test_data): Likewise.
38033         (exp10_test_upward): Likewise.
38034         (exp2_test_data): Update call to AUTO_TESTS_f_f.
38035         (expm1_test_data): Likewise.
38036         (expm1_test): Use ALL_RM_TEST.
38037         (expm1_tonearest_test_data): Remove.
38038         (expm1_test_tonearest): Likewise.
38039         (expm1_towardzero_test_data): Likewise.
38040         (expm1_test_towardzero): Likewise.
38041         (expm1_downward_test_data): Likewise.
38042         (expm1_test_downward): Likewise.
38043         (expm1_upward_test_data): Likewise.
38044         (expm1_test_upward): Likewise.
38045         (fma_test_data): Update call to AUTO_TESTS_fff_f.
38046         (fma_test): Use ALL_RM_TEST.
38047         (fma_towardzero_test_data): Remove.
38048         (fma_test_towardzero): Likewise.
38049         (fma_downward_test_data): Likewise.
38050         (fma_test_downward): Likewise.
38051         (fma_upward_test_data): Likewise.
38052         (fma_test_upward): Likewise.
38053         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
38054         (j0_test_data): Update call to AUTO_TESTS_f_f.
38055         (j1_test_data): Likewise.
38056         (jn_test_data): Update call to AUTO_TESTS_if_f.
38057         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
38058         (log_test_data): Update call to AUTO_TESTS_f_f.
38059         (log10_test_data): Likewise.
38060         (log1p_test_data): Likewise.
38061         (log2_test_data): Likewise.
38062         (pow_test_data): Update call to AUTO_TESTS_ff_f.
38063         (pow_tonearest_test_data): Likewise.
38064         (sin_test_data): Update call to AUTO_TESTS_f_f.
38065         (sin_test): Use ALL_RM_TEST.
38066         (sin_tonearest_test_data): Remove.
38067         (sin_test_tonearest): Likewise.
38068         (sin_towardzero_test_data): Likewise.
38069         (sin_test_towardzero): Likewise.
38070         (sin_downward_test_data): Likewise.
38071         (sin_test_downward): Likewise.
38072         (sin_upward_test_data): Likewise.
38073         (sin_test_upward): Likewise.
38074         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
38075         (sinh_test_data): Update call to AUTO_TESTS_f_f.
38076         (sinh_test): Use ALL_RM_TEST.
38077         (sinh_tonearest_test_data): Remove.
38078         (sinh_test_tonearest): Likewise.
38079         (sinh_towardzero_test_data): Likewise.
38080         (sinh_test_towardzero): Likewise.
38081         (sinh_downward_test_data): Likewise.
38082         (sinh_test_downward): Likewise.
38083         (sinh_upward_test_data): Likewise.
38084         (sinh_test_upward): Likewise.
38085         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
38086         (sqrt_test): Use ALL_RM_TEST.
38087         (sqrt_tonearest_test_data): Remove.
38088         (sqrt_test_tonearest): Likewise.
38089         (sqrt_towardzero_test_data): Likewise.
38090         (sqrt_test_towardzero): Likewise.
38091         (sqrt_downward_test_data): Likewise.
38092         (sqrt_test_downward): Likewise.
38093         (sqrt_upward_test_data): Likewise.
38094         (sqrt_test_upward): Likewise.
38095         (tan_test_data): Update call to AUTO_TESTS_f_f.
38096         (tan_test): Use ALL_RM_TEST.
38097         (tan_tonearest_test_data): Remove.
38098         (tan_test_tonearest): Likewise.
38099         (tan_towardzero_test_data): Likewise.
38100         (tan_test_towardzero): Likewise.
38101         (tan_downward_test_data): Likewise.
38102         (tan_test_downward): Likewise.
38103         (tan_upward_test_data): Likewise.
38104         (tan_test_upward): Likewise.
38105         (tanh_test_data): Update call to AUTO_TESTS_f_f.
38106         (tgamma_test_data): Likewise.
38107         (y0_test_data): Likewise.
38108         (y1_test_data): Likewise.
38109         (yn_test_data): Update call to AUTO_TESTS_if_f.
38110         (main): Do not call removed functions.
38112 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
38114         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
38115         (ldexp_test_data): Remove.
38116         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
38117         scalbn_test_data.
38118         (scalb_test): Use ALL_RM_TEST.
38120 2014-03-19  Andreas Schwab  <schwab@suse.de>
38122         * nscd/nscd.service: Also invalidate netgroup cache on reload.
38124 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
38126         [BZ #16649]
38127         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
38128         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
38129         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
38130         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
38131         (__ASSUME_PREADV): Undefine.
38132         (__ASSUME_PWRITEV): Likewise.
38134 2014-03-18  Roland McGrath  <roland@hack.frob.com>
38136         * bits/mman-linux.h: Add comment about non-Linux use.
38137         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
38138         bits/mman-linux.h resting place.
38140         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
38141         * bits/mman-linux.h: ... here.
38143 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38145         * conform/conformtest.pl: Add standard definition when calling C
38146         preprocessor on data files.
38147         (checknamespace): Remove unused variable.
38149 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
38151         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
38152         minus_oflow, plus_uflow and minus_uflow in expected results.
38153         * math/libm-test.inc (scalbn_test_data): Add more tests of
38154         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
38155         minus_uflow.
38156         (scalbn_test): Use ALL_RM_TEST.
38157         (scalbln_test_data): Add more tests of negative arguments.  Use
38158         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
38159         (scalbln_test): Use ALL_RM_TEST.
38161 2014-03-18  Roland McGrath  <roland@hack.frob.com>
38163         * scripts/abilist.awk: Ignore symbols marked with .hidden.
38165 2014-03-18  Will Newton  <will.newton@linaro.org>
38167         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
38168         inaccurate comment.
38170 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
38172         * Makerules [!subdir] (check-abi): Exit with error status if a
38173         test failed.
38175 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
38177         * math/libm-test.inc (nearbyint_test_data): Include all tests used
38178         for rint.  Include results for all rounding modes.
38179         (nearbyint_test): Use ALL_RM_TEST.
38180         (rint_test_data): Include all tests used for nearbyint.
38182 2014-03-17  Will Newton  <will.newton@linaro.org>
38184         * nptl/sysdeps/pthread/pthread.h: Revert previous
38185         change.
38187         * sysdeps/generic/ldsodefs.h: Revert previous
38188         change.
38190         * libio/genops.c: Revert previous change.
38191         * libio/libioP.h: Likewise.
38192         * stdio-common/vfprintf.c: Likewise.
38194         * sysdeps/generic/math_private.h: Revert previous
38195         change.
38197         * sysdeps/generic/math_private.h: Check whether
38198         HAVE_RM_CTX is defined with #ifdef rather
38199         than #if.
38201         * argp/argp-fmtstream.h: Check whether
38202         __STRICT_ANSI__ is defined with #ifdef rather
38203         than #if.
38204         * argp/argp.h: Likewise.
38206         * libio/genops.c: Check whether
38207         _IO_JUMPS_OFFSET is defined with #ifdef rather
38208         than #if.
38209         * libio/libioP.h: Likewise.
38210         * stdio-common/vfprintf.c: Likewise.
38212         * sysdeps/generic/ldsodefs.h: Check whether
38213         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
38214         than #if.
38216         * nptl/sysdeps/pthread/pthread.h: Check
38217         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
38218         its value.
38220 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
38222         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
38223         setting O_APPEND.
38224         * libio/tst-ftell-active-handler.c (do_append_test): Add a
38225         test case.
38227         [BZ #16680]
38228         * libio/fileops.c (_IO_file_open): Seek to end of file but
38229         don't cache the offset.
38230         (get_file_offset): Remove function.
38231         (do_ftell): Use cached offset when available.
38232         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
38233         don't cache the offset.
38234         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
38235         case.
38236         (do_one_test): Call it.
38237         (do_ftell_test): Fix up expected old offset for a+ mode.
38238         * libio/wfileops.c (do_ftell_wide): Used cached offset when
38239         available.
38241         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
38242         up test status with function return status.
38243         (do_write_test): Likewise.
38244         (do_append_test): Likewise.
38246         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
38247         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
38248         Remove.
38250 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
38252         * math/gen-libm-test.pl (parse_args): Handle results specified for
38253         each rounding mode separately.
38254         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
38255         tests and results from lrint_tonearest_test_data,
38256         lrint_towardzero_test_data, lrint_downward_test_data and
38257         lrint_upward_test_data.
38258         (lrint_test): Use ALL_RM_TEST.
38259         (lrint_tonearest_test_data): Remove.
38260         (lrint_test_tonearest): Likewise.
38261         (lrint_towardzero_test_data): Likewise.
38262         (lrint_test_towardzero): Likewise.
38263         (lrint_downward_test_data): Likewise.
38264         (lrint_test_downward): Likewise.
38265         (lrint_upward_test_data): Likewise.
38266         (lrint_test_upward): Likewise.
38267         (llrint_test_data): Merge in per-rounding-mode tests and results
38268         from llrint_tonearest_test_data, llrint_towardzero_test_data,
38269         llrint_downward_test_data and llrint_upward_test_data.
38270         (llrint_test): Use ALL_RM_TEST.
38271         (llrint_tonearest_test_data): Remove.
38272         (llrint_test_tonearest): Likewise.
38273         (llrint_towardzero_test_data): Likewise.
38274         (llrint_test_towardzero): Likewise.
38275         (llrint_downward_test_data): Likewise.
38276         (llrint_test_downward): Likewise.
38277         (llrint_upward_test_data): Likewise.
38278         (llrint_test_upward): Likewise.
38279         (rint_test_data): Merge in per-rounding-mode tests and results
38280         from rint_tonearest_test_data, rint_towardzero_test_data,
38281         rint_downward_test_data and rint_upward_test_data.  Add
38282         per-rounding-mode results for tests not in those arrays.
38283         (rint_test): Use ALL_RM_TEST.
38284         (rint_tonearest_test_data): Remove.
38285         (rint_test_tonearest): Likewise.
38286         (rint_towardzero_test_data): Likewise.
38287         (rint_test_towardzero): Likewise.
38288         (rint_downward_test_data): Likewise.
38289         (rint_test_downward): Likewise.
38290         (rint_upward_test_data): Likewise.
38291         (rint_test_upward): Likewise.
38292         (main): Don't call removed functions.
38294 2014-03-14  Roland McGrath  <roland@hack.frob.com>
38296         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
38297         "Compiled on ..." crapola.  It is anti-useful.
38299 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
38301         * scripts/evaluate-test.sh: Handle fourth argument to determine
38302         whether test run should stop on failure.
38303         * Makeconfig (stop-on-test-failure): New variable.
38304         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
38305         $(stop-on-test-failure).
38306         * Makefile (tests): Give a summary of results from testing and
38307         exit with failure status if they include an ERROR or FAIL.
38308         (xtests): Likewise.
38309         * manual/install.texi (Configuring and compiling): Mention
38310         stop-on-test-failure=y.
38311         * INSTALL: Regenerated.
38313 2014-03-14  Roland McGrath  <roland@hack.frob.com>
38315         * scripts/versionlist.awk: New file.
38316         * Makerules [$(build-shared) = yes]
38317         (postclean-generated): Add Versions.def, not Versions.def.v and
38318         Versions.def.v.i.
38319         ($(common-objpfx)Versions.def.v.i): Target removed.
38320         ($(common-objpfx)Versions.def): New target.
38321         ($(common-objpfx)Versions.all): Depend on that rather that
38322         $(common-objpfx)Versions.def.v.
38323         * Versions.def: File removed.
38325         * Makeconfig (+gccwarn): Add -Wundef.
38326         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
38327         a dl-sysdep.h breaking its contract.
38328         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
38329         * include/stackinfo.h: New file.
38330         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
38331         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
38332         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
38333         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
38334         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
38335         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
38336         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38337         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38338         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38339         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38340         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38341         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
38342         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38343         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38344         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38346 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38348         [BZ #16707]
38349         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
38350         implementation.
38351         * math/libm-test.inc (round_test_data): Add more tests.
38353         [BZ #16706]
38354         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
38355         implementation.
38356         * math/libm-test.inc (nearbyint_test_data): Add more tests.
38358         [BZ #16701]
38359         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
38360         implementation.
38361         * math/libm-test.inc (ceil_test_data): Add more tests.
38363         * math/libm-test.inc (trunc_test_data): Add more tests related to
38364         BZ#16414.
38366 2014-03-14  Roland McGrath  <roland@hack.frob.com>
38368         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
38369         with #if rather than #ifdef.
38370         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
38372 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
38374         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
38375         first.  Disable AVX-512 GCC support if assembler doesn't support
38376         it.
38377         * sysdeps/x86_64/configure: Regenerated.
38379 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
38381         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
38382         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
38383         (__old_pthread_attr_setstack): Likewise.
38384         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
38385         [!_STACK_GROWS_DOWN]: Likewise.
38387 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
38389         * config.make.in (have-bash2): Delete.
38390         * configure.ac (libc_cv_have_bash2): Delete.
38391         * configure: Regenerate.
38392         * elf/Makefile (common-ldd-rewrite): Rename to ...
38393         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
38394         (sh-ldd-rewrite): Delete.
38395         (bash-ldd-rewrite): Delete.
38396         (have-bash2): Delete checks.
38397         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
38398         ldd-rewrite.
38400         * config.make.in (have-ksh): Delete.
38401         (KSH): Delete.
38402         * configure.ac (libc_cv_have_ksh): Delete.
38403         * configure: Regenerate.
38405         * elf/Makefile: Delete $(have-ksh) check.
38406         ($(objpfx)sotruss): Change KSH to BASH.
38407         * elf/sotruss.ksh: Rename to ...
38408         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
38409         function style to match POSIX.  Drop ksh vim mode setting.
38411         * manual/time.texi (Specifying the Time Zone with TZ): Change
38412         Tuesday to Thursday.
38414         * debug/tst-longjmp_chk2.c: Update header comment.
38415         (stackoverflow_handler): Add comment.  Call assert on pass value.
38417 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
38419         [BZ #16194]
38420         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
38421         (HAVE_AVX512_ASM_SUPPORT): Likewise.
38422         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
38423         (La_x86_64_vector): Add zmm.
38424         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
38425         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
38426         ($(objpfx)tst-audit10): New target.
38427         ($(objpfx)tst-audit10.out): Likewise.
38428         (tst-audit10-ENV): New.
38429         (AVX512-CFLAGS): Likewise.
38430         (CFLAGS-tst-audit10.c): Likewise.
38431         (CFLAGS-tst-auditmod10a.c): Likewise.
38432         (CFLAGS-tst-auditmod10b.c): Likewise.
38433         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
38434         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
38435         * sysdeps/x86_64/configure: Regenerated.
38436         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
38437         AVX-512 zmm register support.
38438         (_dl_x86_64_save_sse): Likewise.
38439         (_dl_x86_64_restore_sse): Likewise.
38440         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
38441         size vector registers.
38442         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
38443         (ZMM_SIZE): Likewise.
38444         * sysdeps/x86_64/tst-audit10.c: New file.
38445         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
38446         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
38448 2014-03-13  Roland McGrath  <roland@hack.frob.com>
38450         * configure.ac (HAVE_EHDR_START): New check.
38451         * configure: Regenerated.
38452         * config.h.in (HAVE_EHDR_START): New #undef.
38453         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
38454         assuming the lowest-addressed segment maps the start of the file.
38456 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
38458         * INSTALL: Regenerated.
38460 2014-03-13  Will Newton  <will.newton@linaro.org>
38462         * manual/setjmp.texi (System V contexts): Improve
38463         clarity and grammar of documentation.
38465 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
38467         [BZ #16381]
38468         * elf/Makefile (tests): Add tst-pie2.
38469         (tests-pie): Add tst-pie2.
38470         * elf/tst-pie2.c: New file.
38471         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
38472         for ET_EXEC.
38473         * elf/rtld.c (map_doit): Load executable as lt_executable.
38474         (dl_main): Likewise.
38476 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
38478         [BZ #16642]
38479         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
38480         (__ASSUME_PSELECT): Undefine.
38482 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38484         [BZ #16689]
38485         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
38486         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
38487         static build.
38488         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
38489         selector for static builds.
38491 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
38493         [BZ #16695]
38494         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
38495         key in the buffer.
38497 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38499         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
38500         IFUNC selector for static builds.
38502 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
38504         * sysdeps/mips/math_private.h [__mips_hard_float]
38505         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
38506         libc_feresetround_mips_ctx.
38507         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
38508         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
38509         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
38511         [BZ #16677]
38512         * math/s_nextafter.c (__nextafter): Do not return value from
38513         overflowing computation.
38514         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
38515         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
38516         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
38517         Likewise.
38518         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
38519         Likewise.
38520         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
38521         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
38523 2014-03-11  Roland McGrath  <roland@hack.frob.com>
38525         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
38526         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
38527         Move sfi_sp use from the load-multiple (that no longer sets sp) to
38528         the new mov targetting sp.
38530 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38532         [BZ #16683]
38533         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
38534         Define it for static builds as well.
38535         (NO_BZERO_IMPL): Likewise.
38537 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
38539         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
38540         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
38541         multiarch strspn for PPC64.
38542         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
38543         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
38544         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
38545         (__libc_ifunc_impl_list): Likewise.
38546         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
38547         multiarch optimizations
38548         * string/strspn.c (strspn): Using macro to redefine symbol name.
38550 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
38551             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38553         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
38554         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
38555         multiarch strncat for PPC64.
38556         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
38557         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
38558         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
38559         (__libc_ifunc_impl_list): Likewise.
38560         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
38561         multiarch optimizations
38563 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
38565         [BZ #16639]
38566         * nscd/nscd.service: Make service type forking.
38568 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38570         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
38571         sign in non default rounding modes.
38572         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
38574 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
38576         * math/libm-test.inc (ALL_RM_TEST): New macro.
38577         (ceil_test): Use ALL_RM_TEST.
38578         (cimag_test): Likewise.
38579         (conj_test): Likewise.
38580         (copysign_test): Likewise.
38581         (cproj_test): Likewise.
38582         (creal_test): Likewise.
38583         (fabs_test): Likewise.
38584         (floor_test): Likewise.
38585         (fmax_test): Likewise.
38586         (fmin_test): Likewise.
38587         (fmod_test): Likewise.
38588         (fpclassify_test): Likewise.
38589         (frexp_test): Likewise.
38590         (ilogb_test): Likewise.
38591         (isfinite_test): Likewise.
38592         (finite_test): Likewise.
38593         (isgreater_test): Likewise.
38594         (isgreaterequal_test): Likewise.
38595         (isinf_test): Likewise.
38596         (isless_test): Likewise.
38597         (islessequal_test): Likewise.
38598         (islessgreater_test): Likewise.
38599         (isnan_test): Likewise.
38600         (isnormal_test): Likewise.
38601         (issignaling_test): Likewise.
38602         (isunordered_test): Likewise.
38603         (logb_test): Likewise.
38604         (logb_downward_test_data): Remove.
38605         (logb_test_downward): Likewise.
38606         (lround_test): Use ALL_RM_TEST.
38607         (llround_test): Likewise.
38608         (modf_test): Likewise.
38609         (nexttoward_test): Likewise.
38610         (remainder_test): Likewise.
38611         (drem_test): Likewise.
38612         (remainder_tonearest_test_data): Likewise.
38613         (remainder_test_tonearest): Likewise.
38614         (drem_test_tonearest): Likewise.
38615         (remainder_towardzero_test_data): Likewise.
38616         (remainder_test_towardzero): Likewise.
38617         (drem_test_towardzero): Likewise.
38618         (remainder_downward_test_data): Likewise.
38619         (remainder_test_downward): Likewise.
38620         (drem_test_downward): Likewise.
38621         (remainder_upward_test_data): Likewise.
38622         (remainder_test_upward): Likewise.
38623         (drem_test_upward): Likewise.
38624         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
38625         (round_test): Use ALL_RM_TEST.
38626         (signbit_test): Likewise.
38627         (trunc_test): Likewise.
38628         (significand_test): Likewise.
38629         (main): Don't call removed functions.
38631 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
38633         [BZ #16674]
38634         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
38635         || __USE_XOPEN2K8].
38636         (ILL_ILLOPN): Likewise.
38637         (ILL_ILLADR): Likewise.
38638         (ILL_ILLTRP): Likewise.
38639         (ILL_PRVOPC): Likewise.
38640         (ILL_PRVREG): Likewise.
38641         (ILL_COPROC): Likewise.
38642         (ILL_BADSTK): Likewise.
38643         (FPE_INTDIV): Likewise.
38644         (FPE_INTOVF): Likewise.
38645         (FPE_FLTDIV): Likewise.
38646         (FPE_FLTOVF): Likewise.
38647         (FPE_FLTUND): Likewise.
38648         (FPE_FLTRES): Likewise.
38649         (FPE_FLTINV): Likewise.
38650         (FPE_FLTSUB): Likewise.
38651         (SEGV_MAPERR): Likewise.
38652         (SEGV_ACCERR): Likewise.
38653         (BUS_ADRALN): Likewise.
38654         (BUS_ADRERR): Likewise.
38655         (BUS_OBJERR): Likewise.
38656         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38657         (TRAP_TRACE): Likewise.
38658         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38659         __USE_XOPEN2K8].
38660         (CLD_KILLED): Likewise.
38661         (CLD_DUMPED): Likewise.
38662         (CLD_TRAPPED): Likewise.
38663         (CLD_STOPPED): Likewise.
38664         (CLD_CONTINUED): Likewise.
38665         (POLL_IN): Likewise.
38666         (POLL_OUT): Likewise.
38667         (POLL_MSG): Likewise.
38668         (POLL_ERR): Likewise.
38669         (POLL_PRI): Likewise.
38670         (POLL_HUP): Likewise.
38671         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
38672         Likewise.
38673         (ILL_ILLOPN): Likewise.
38674         (ILL_ILLADR): Likewise.
38675         (ILL_ILLTRP): Likewise.
38676         (ILL_PRVOPC): Likewise.
38677         (ILL_PRVREG): Likewise.
38678         (ILL_COPROC): Likewise.
38679         (ILL_BADSTK): Likewise.
38680         (FPE_INTDIV): Likewise.
38681         (FPE_INTOVF): Likewise.
38682         (FPE_FLTDIV): Likewise.
38683         (FPE_FLTOVF): Likewise.
38684         (FPE_FLTUND): Likewise.
38685         (FPE_FLTRES): Likewise.
38686         (FPE_FLTINV): Likewise.
38687         (FPE_FLTSUB): Likewise.
38688         (SEGV_MAPERR): Likewise.
38689         (SEGV_ACCERR): Likewise.
38690         (BUS_ADRALN): Likewise.
38691         (BUS_ADRERR): Likewise.
38692         (BUS_OBJERR): Likewise.
38693         (BUS_MCEERR_AR): Likewise.
38694         (BUS_MCEERR_AO): Likewise.
38695         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38696         (TRAP_TRACE): Likewise.
38697         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38698         __USE_XOPEN2K8].
38699         (CLD_KILLED): Likewise.
38700         (CLD_DUMPED): Likewise.
38701         (CLD_TRAPPED): Likewise.
38702         (CLD_STOPPED): Likewise.
38703         (CLD_CONTINUED): Likewise.
38704         (POLL_IN): Likewise.
38705         (POLL_OUT): Likewise.
38706         (POLL_MSG): Likewise.
38707         (POLL_ERR): Likewise.
38708         (POLL_PRI): Likewise.
38709         (POLL_HUP): Likewise.
38710         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
38711         (ILL_ILLOPN): Likewise.
38712         (ILL_ILLADR): Likewise.
38713         (ILL_ILLTRP): Likewise.
38714         (ILL_PRVOPC): Likewise.
38715         (ILL_PRVREG): Likewise.
38716         (ILL_COPROC): Likewise.
38717         (ILL_BADSTK): 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         (SEGV_MAPERR): Likewise.
38727         (SEGV_ACCERR): Likewise.
38728         (BUS_ADRALN): Likewise.
38729         (BUS_ADRERR): Likewise.
38730         (BUS_OBJERR): Likewise.
38731         (BUS_MCEERR_AR): Likewise.
38732         (BUS_MCEERR_AO): Likewise.
38733         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38734         (TRAP_TRACE): Likewise.
38735         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38736         __USE_XOPEN2K8].
38737         (CLD_KILLED): Likewise.
38738         (CLD_DUMPED): Likewise.
38739         (CLD_TRAPPED): Likewise.
38740         (CLD_STOPPED): Likewise.
38741         (CLD_CONTINUED): Likewise.
38742         (POLL_IN): Likewise.
38743         (POLL_OUT): Likewise.
38744         (POLL_MSG): Likewise.
38745         (POLL_ERR): Likewise.
38746         (POLL_PRI): Likewise.
38747         (POLL_HUP): Likewise.
38748         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
38749         Likewise.
38750         (ILL_ILLOPN): Likewise.
38751         (ILL_ILLADR): Likewise.
38752         (ILL_ILLTRP): Likewise.
38753         (ILL_PRVOPC): Likewise.
38754         (ILL_PRVREG): Likewise.
38755         (ILL_COPROC): Likewise.
38756         (ILL_BADSTK): Likewise.
38757         (ILL_BADIADDR): Likewise.
38758         (ILL_BREAK): Likewise.
38759         (FPE_INTDIV): Likewise.
38760         (FPE_INTOVF): Likewise.
38761         (FPE_FLTDIV): Likewise.
38762         (FPE_FLTOVF): Likewise.
38763         (FPE_FLTUND): Likewise.
38764         (FPE_FLTRES): Likewise.
38765         (FPE_FLTINV): Likewise.
38766         (FPE_FLTSUB): Likewise.
38767         (FPE_DECOVF): Likewise.
38768         (FPE_DECDIV): Likewise.
38769         (FPE_DECERR): Likewise.
38770         (FPE_INVASC): Likewise.
38771         (FPE_INVDEC): Likewise.
38772         (SEGV_MAPERR): Likewise.
38773         (SEGV_ACCERR): Likewise.
38774         (SEGV_PSTKOVF): Likewise.
38775         (BUS_ADRALN): Likewise.
38776         (BUS_ADRERR): Likewise.
38777         (BUS_OBJERR): Likewise.
38778         (BUS_MCEERR_AR): Likewise.
38779         (BUS_MCEERR_AO): Likewise.
38780         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38781         (TRAP_TRACE): Likewise.
38782         (TRAP_BRANCH): Likewise.
38783         (TRAP_HWBKPT): Likewise.
38784         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38785         __USE_XOPEN2K8].
38786         (CLD_KILLED): Likewise.
38787         (CLD_DUMPED): Likewise.
38788         (CLD_TRAPPED): Likewise.
38789         (CLD_STOPPED): Likewise.
38790         (CLD_CONTINUED): Likewise.
38791         (POLL_IN): Likewise.
38792         (POLL_OUT): Likewise.
38793         (POLL_MSG): Likewise.
38794         (POLL_ERR): Likewise.
38795         (POLL_PRI): Likewise.
38796         (POLL_HUP): Likewise.
38797         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
38798         (ILL_ILLOPN): Likewise.
38799         (ILL_ILLADR): Likewise.
38800         (ILL_ILLTRP): Likewise.
38801         (ILL_PRVOPC): Likewise.
38802         (ILL_PRVREG): Likewise.
38803         (ILL_COPROC): Likewise.
38804         (ILL_BADSTK): Likewise.
38805         (FPE_INTDIV): Likewise.
38806         (FPE_INTOVF): Likewise.
38807         (FPE_FLTDIV): Likewise.
38808         (FPE_FLTOVF): Likewise.
38809         (FPE_FLTUND): Likewise.
38810         (FPE_FLTRES): Likewise.
38811         (FPE_FLTINV): Likewise.
38812         (FPE_FLTSUB): Likewise.
38813         (SEGV_MAPERR): Likewise.
38814         (SEGV_ACCERR): Likewise.
38815         (BUS_ADRALN): Likewise.
38816         (BUS_ADRERR): Likewise.
38817         (BUS_OBJERR): Likewise.
38818         (BUS_MCEERR_AR): Likewise.
38819         (BUS_MCEERR_AO): Likewise.
38820         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38821         (TRAP_TRACE): Likewise.
38822         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38823         __USE_XOPEN2K8].
38824         (CLD_KILLED): Likewise.
38825         (CLD_DUMPED): Likewise.
38826         (CLD_TRAPPED): Likewise.
38827         (CLD_STOPPED): Likewise.
38828         (CLD_CONTINUED): Likewise.
38829         (POLL_IN): Likewise.
38830         (POLL_OUT): Likewise.
38831         (POLL_MSG): Likewise.
38832         (POLL_ERR): Likewise.
38833         (POLL_PRI): Likewise.
38834         (POLL_HUP): Likewise.
38835         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
38836         (ILL_ILLOPN): Likewise.
38837         (ILL_ILLADR): Likewise.
38838         (ILL_ILLTRP): Likewise.
38839         (ILL_PRVOPC): Likewise.
38840         (ILL_PRVREG): Likewise.
38841         (ILL_COPROC): Likewise.
38842         (ILL_BADSTK): Likewise.
38843         (FPE_INTDIV): Likewise.
38844         (FPE_INTOVF): Likewise.
38845         (FPE_FLTDIV): Likewise.
38846         (FPE_FLTOVF): Likewise.
38847         (FPE_FLTUND): Likewise.
38848         (FPE_FLTRES): Likewise.
38849         (FPE_FLTINV): Likewise.
38850         (FPE_FLTSUB): Likewise.
38851         (SEGV_MAPERR): Likewise.
38852         (SEGV_ACCERR): Likewise.
38853         (BUS_ADRALN): Likewise.
38854         (BUS_ADRERR): Likewise.
38855         (BUS_OBJERR): Likewise.
38856         (BUS_MCEERR_AR): Likewise.
38857         (BUS_MCEERR_AO): Likewise.
38858         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38859         (TRAP_TRACE): Likewise.
38860         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38861         __USE_XOPEN2K8].
38862         (CLD_KILLED): Likewise.
38863         (CLD_DUMPED): Likewise.
38864         (CLD_TRAPPED): Likewise.
38865         (CLD_STOPPED): Likewise.
38866         (CLD_CONTINUED): Likewise.
38867         (POLL_IN): Likewise.
38868         (POLL_OUT): Likewise.
38869         (POLL_MSG): Likewise.
38870         (POLL_ERR): Likewise.
38871         (POLL_PRI): Likewise.
38872         (POLL_HUP): Likewise.
38873         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
38874         (ILL_ILLOPN): Likewise.
38875         (ILL_ILLADR): Likewise.
38876         (ILL_ILLTRP): Likewise.
38877         (ILL_PRVOPC): Likewise.
38878         (ILL_PRVREG): Likewise.
38879         (ILL_COPROC): Likewise.
38880         (ILL_BADSTK): Likewise.
38881         (FPE_INTDIV): Likewise.
38882         (FPE_INTOVF): Likewise.
38883         (FPE_FLTDIV): Likewise.
38884         (FPE_FLTOVF): Likewise.
38885         (FPE_FLTUND): Likewise.
38886         (FPE_FLTRES): Likewise.
38887         (FPE_FLTINV): Likewise.
38888         (FPE_FLTSUB): Likewise.
38889         (SEGV_MAPERR): Likewise.
38890         (SEGV_ACCERR): Likewise.
38891         (BUS_ADRALN): Likewise.
38892         (BUS_ADRERR): Likewise.
38893         (BUS_OBJERR): Likewise.
38894         (BUS_MCEERR_AR): Likewise.
38895         (BUS_MCEERR_AO): Likewise.
38896         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38897         (TRAP_TRACE): Likewise.
38898         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38899         __USE_XOPEN2K8].
38900         (CLD_KILLED): Likewise.
38901         (CLD_DUMPED): Likewise.
38902         (CLD_TRAPPED): Likewise.
38903         (CLD_STOPPED): Likewise.
38904         (CLD_CONTINUED): Likewise.
38905         (POLL_IN): Likewise.
38906         (POLL_OUT): Likewise.
38907         (POLL_MSG): Likewise.
38908         (POLL_ERR): Likewise.
38909         (POLL_PRI): Likewise.
38910         (POLL_HUP): Likewise.
38911         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
38912         (ILL_ILLOPN): Likewise.
38913         (ILL_ILLADR): Likewise.
38914         (ILL_ILLTRP): Likewise.
38915         (ILL_PRVOPC): Likewise.
38916         (ILL_PRVREG): Likewise.
38917         (ILL_COPROC): Likewise.
38918         (ILL_BADSTK): Likewise.
38919         (ILL_DBLFLT): Likewise.
38920         (ILL_HARDWALL): Likewise.
38921         (FPE_INTDIV): Likewise.
38922         (FPE_INTOVF): Likewise.
38923         (FPE_FLTDIV): Likewise.
38924         (FPE_FLTOVF): Likewise.
38925         (FPE_FLTUND): Likewise.
38926         (FPE_FLTRES): Likewise.
38927         (FPE_FLTINV): Likewise.
38928         (FPE_FLTSUB): Likewise.
38929         (SEGV_MAPERR): Likewise.
38930         (SEGV_ACCERR): Likewise.
38931         (BUS_ADRALN): Likewise.
38932         (BUS_ADRERR): Likewise.
38933         (BUS_OBJERR): Likewise.
38934         (BUS_MCEERR_AR): Likewise.
38935         (BUS_MCEERR_AO): Likewise.
38936         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38937         (TRAP_TRACE): Likewise.
38938         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38939         __USE_XOPEN2K8].
38940         (CLD_KILLED): Likewise.
38941         (CLD_DUMPED): Likewise.
38942         (CLD_TRAPPED): Likewise.
38943         (CLD_STOPPED): Likewise.
38944         (CLD_CONTINUED): Likewise.
38945         (POLL_IN): Likewise.
38946         (POLL_OUT): Likewise.
38947         (POLL_MSG): Likewise.
38948         (POLL_ERR): Likewise.
38949         (POLL_PRI): Likewise.
38950         (POLL_HUP): Likewise.
38951         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
38952         (ILL_ILLOPN): Likewise.
38953         (ILL_ILLADR): Likewise.
38954         (ILL_ILLTRP): Likewise.
38955         (ILL_PRVOPC): Likewise.
38956         (ILL_PRVREG): Likewise.
38957         (ILL_COPROC): Likewise.
38958         (ILL_BADSTK): Likewise.
38959         (FPE_INTDIV): Likewise.
38960         (FPE_INTOVF): Likewise.
38961         (FPE_FLTDIV): Likewise.
38962         (FPE_FLTOVF): Likewise.
38963         (FPE_FLTUND): Likewise.
38964         (FPE_FLTRES): Likewise.
38965         (FPE_FLTINV): Likewise.
38966         (FPE_FLTSUB): Likewise.
38967         (SEGV_MAPERR): Likewise.
38968         (SEGV_ACCERR): Likewise.
38969         (BUS_ADRALN): Likewise.
38970         (BUS_ADRERR): Likewise.
38971         (BUS_OBJERR): Likewise.
38972         (BUS_MCEERR_AR): Likewise.
38973         (BUS_MCEERR_AO): Likewise.
38974         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38975         (TRAP_TRACE): Likewise.
38976         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38977         __USE_XOPEN2K8].
38978         (CLD_KILLED): Likewise.
38979         (CLD_DUMPED): Likewise.
38980         (CLD_TRAPPED): Likewise.
38981         (CLD_STOPPED): Likewise.
38982         (CLD_CONTINUED): Likewise.
38983         (POLL_IN): Likewise.
38984         (POLL_OUT): Likewise.
38985         (POLL_MSG): Likewise.
38986         (POLL_ERR): Likewise.
38987         (POLL_PRI): Likewise.
38988         (POLL_HUP): Likewise.
38989         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
38990         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
38992         [BZ #16670]
38993         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
38994         before #include of <time.h>.
38995         [!__USE_XOPEN2K] (__need_timespec): Likewise.
38996         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
38997         (test-xfail-UNIX98/sched.h/conform): Likewise.
38999 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
39001         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
39002         error absence of trapping exception support.
39003         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
39005 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
39007         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
39008         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
39009         * timezone/Makefile (testdata): Move definition above include of
39010         Rules.
39011         (test-zones): New variable.
39012         (tests-special): Add zone files.
39013         (build-testdata): Use $(evaluate-test).
39015         * elf/Makefile (tests-special): Rename tests to end with .out.
39016         ($(objpfx)noload-mem): Likewise.
39017         ($(objpfx)tst-leaks1-mem): Likewise.
39018         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
39019         * iconv/Makefile (xtests-special): Change test-iconvconfig to
39020         $(objpfx)test-iconvconfig.out.
39021         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
39022         set -e inside subshell and redirect output to file.
39023         * iconvdata/Makefile (generated): Rename tests to end with .out.
39024         Correct type.
39025         (tests-special): Rename tests to end with .out.
39026         ($(objpfx)mtrace-tst-loading): Likewise.
39027         * intl/Makefile (generated): Likewise.
39028         (tests-special): Likewise.
39029         ($(objpfx)mtrace-tst-gettext): Likewise.
39030         * misc/Makefile (generated): Likewise.
39031         (tests-special): Likewise.
39032         ($(objpfx)tst-error1-mem): Likewise.
39033         * nptl/Makefile (tests-special): Likewise.
39034         ($(objpfx)tst-stack3-mem): Likewise.
39035         (generated): Likewise.
39036         * posix/Makefile (generated): Likewise.
39037         (tests-special): Likewise.
39038         (xtests-special): Likewise.
39039         ($(objpfx)tst-fnmatch-mem): Likewise.
39040         ($(objpfx)bug-regex2-mem): Likewise.
39041         ($(objpfx)bug-regex14-mem): Likewise.
39042         ($(objpfx)bug-regex21-mem): Likewise.
39043         ($(objpfx)bug-regex31-mem): Likewise.
39044         ($(objpfx)tst-vfork3-mem): Likewise.
39045         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
39046         ($(objpfx)tst-pcre-mem): Likewise.
39047         ($(objpfx)tst-boost-mem): Likewise.
39048         ($(objpfx)bug-ga2-mem): Likewise.
39049         ($(objpfx)bug-glob2-mem): Likewise.
39050         * resolv/Makefile (generate): Likewise.
39051         (tests-special): Likewise.
39052         (xtests-special): Likewise.
39053         (generated): Likewise.
39054         ($(objpfx)mtrace-tst-leaks): Likewise.
39055         ($(objpfx)mtrace-tst-leaks2): Likewise.
39057         * scripts/merge-test-results.sh: New file.
39058         * Makefile (tests-special-notdir): New variable.
39059         (tests): Run merge-test-results.sh.
39060         (xtests): Likewise.
39061         * Rules (tests-special-notdir): New variable.
39062         (xtests-special-notdir): Likewise.
39063         (tests): Run merge-test-results.sh
39064         (xtests): Likewise.
39066         * Makeconfig (test-xfail-name): New variable.
39067         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
39068         compute variable name for expected failures.
39069         * conform/Makefile (conformtest-headers-data): New variable.
39070         (conformtest-standards): Likewise.
39071         (conformtest-headers-ISO): Likewise.
39072         (conformtest-headers-ISO99): Likewise.
39073         (conformtest-headers-ISO11): Likewise.
39074         (conformtest-headers-POSIX): Likewise.
39075         (conformtest-headers-XPG3): Likewise.
39076         (conformtest-headers-XPG4): Likewise.
39077         (conformtest-headers-UNIX98): Likewise.
39078         (conformtest-headers-XOPEN2K): Likewise.
39079         (conformtest-headers-POSIX2008): Likewise.
39080         (conformtest-headers-XOPEN2K8): Likewise.
39081         (conformtest-header-list-base): Likewise.
39082         (conformtest-header-list-tests): Likewise.
39083         (conformtest-header-base): Likewise.
39084         (conformtest-header-tests): Likewise.
39085         (tests-special): Add $(conformtest-header-list-tests).  If
39086         [$(fast-check) && !$(cross-compiling)], add
39087         $(conformtest-header-tests) instead of
39088         $(objpfx)run-conformtest.out.
39089         (generated): Add $(conformtest-header-list-base).  If
39090         [$(fast-check) && !$(cross-compiling)], add
39091         $(conformtest-header-base).  Remove previous setting.
39092         ($(conformtest-header-list-tests)): New target.
39093         (test-xfail-run-conformtest): Remove variable.
39094         ($(objpfx)run-conformtest.out): Remove target.
39095         (test-xfail-ISO11/complex.h/conform): New variable.
39096         (test-xfail-ISO11/stdalign.h/conform): Likewise.
39097         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
39098         (test-xfail-XPG3/varargs.h/conform): Likewise.
39099         (test-xfail-XPG4/varargs.h/conform): Likewise.
39100         (test-xfail-UNIX98/varargs.h/conform): Likewise.
39101         (test-xfail-XPG4/ndbm.h/conform): Likewise.
39102         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
39103         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
39104         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
39105         (test-xfail-XPG3/fcntl.h/conform): Likewise.
39106         (test-xfail-XPG3/ftw.h/conform): Likewise.
39107         (test-xfail-XPG3/grp.h/conform): Likewise.
39108         (test-xfail-XPG3/langinfo.h/conform): Likewise.
39109         (test-xfail-XPG3/limits.h/conform): Likewise.
39110         (test-xfail-XPG3/pwd.h/conform): Likewise.
39111         (test-xfail-XPG3/search.h/conform): Likewise.
39112         (test-xfail-XPG3/signal.h/conform): Likewise.
39113         (test-xfail-XPG3/stdio.h/conform): Likewise.
39114         (test-xfail-XPG3/stdlib.h/conform): Likewise.
39115         (test-xfail-XPG3/string.h/conform): Likewise.
39116         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
39117         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
39118         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
39119         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
39120         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
39121         (test-xfail-XPG3/sys/types.h/conform): Likewise.
39122         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
39123         (test-xfail-XPG3/termios.h/conform): Likewise.
39124         (test-xfail-XPG3/time.h/conform): Likewise.
39125         (test-xfail-XPG3/unistd.h/conform): Likewise.
39126         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
39127         (test-xfail-XPG4/fcntl.h/conform): Likewise.
39128         (test-xfail-XPG4/langinfo.h/conform): Likewise.
39129         (test-xfail-XPG4/netdb.h/conform): Likewise.
39130         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
39131         (test-xfail-XPG4/signal.h/conform): Likewise.
39132         (test-xfail-XPG4/stdio.h/conform): Likewise.
39133         (test-xfail-XPG4/stdlib.h/conform): Likewise.
39134         (test-xfail-XPG4/stropts.h/conform): Likewise.
39135         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
39136         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
39137         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
39138         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
39139         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
39140         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
39141         (test-xfail-XPG4/sys/time.h/conform): Likewise.
39142         (test-xfail-XPG4/sys/types.h/conform): Likewise.
39143         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
39144         (test-xfail-XPG4/termios.h/conform): Likewise.
39145         (test-xfail-XPG4/ucontext.h/conform): Likewise.
39146         (test-xfail-XPG4/unistd.h/conform): Likewise.
39147         (test-xfail-XPG4/utmpx.h/conform): Likewise.
39148         (test-xfail-POSIX/sched.h/conform): Likewise.
39149         (test-xfail-POSIX/signal.h/conform): Likewise.
39150         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
39151         (test-xfail-POSIX/tar.h/conform): Likewise.
39152         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
39153         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
39154         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
39155         (test-xfail-UNIX98/netdb.h/conform): Likewise.
39156         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
39157         (test-xfail-UNIX98/sched.h/conform): Likewise.
39158         (test-xfail-UNIX98/signal.h/conform): Likewise.
39159         (test-xfail-UNIX98/stdio.h/conform): Likewise.
39160         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
39161         (test-xfail-UNIX98/stropts.h/conform): Likewise.
39162         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
39163         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
39164         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
39165         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
39166         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
39167         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
39168         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
39169         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
39170         (test-xfail-UNIX98/unistd.h/conform): Likewise.
39171         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
39172         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
39173         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
39174         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
39175         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
39176         (test-xfail-XOPEN2K/math.h/conform): Likewise.
39177         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
39178         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
39179         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
39180         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
39181         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
39182         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
39183         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
39184         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
39185         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
39186         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
39187         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
39188         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
39189         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
39190         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
39191         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
39192         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
39193         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
39194         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
39195         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
39196         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
39197         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
39198         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
39199         (test-xfail-POSIX2008/signal.h/conform): Likewise.
39200         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
39201         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
39202         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
39203         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
39204         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
39205         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
39206         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
39207         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
39208         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
39209         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
39210         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
39211         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
39212         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
39213         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
39214         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
39215         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
39216         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
39217         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
39218         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
39219         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
39220         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
39221         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
39222         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
39223         (conformtest-cc-flags): Likewise.
39224         ($(conformtest-header-tests): New target.
39225         * conform/check-header-lists.sh: New file.
39226         * conform/run-conformtest.sh: Remove.
39228         * conform/conformtest.pl: Allow ' and \ in values given for
39229         constants.
39230         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
39231         inclusion.
39232         [POSIX] (sys/types.h): Likewise.
39233         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
39234         inclusion.
39235         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
39236         inclusion.
39237         * conform/data/signal.h-data (SIGIO): Remove expectation.
39238         [XPG3] (SIGBUS): Do not expect.
39239         [POSIX || XPG3] (SIGPOLL): Likewise.
39240         [POSIX || XPG3] (SIGPROF): Likewise.
39241         [POSIX || XPG3] (SIGSYS): Likewise.
39242         [XPG3] (SIGTRAP): Likewise.
39243         [POSIX || XPG3] (SIGURG): Likewise.
39244         [POSIX || XPG3] (SIGVTALRM): Likewise.
39245         [POSIX || XPG3] (SIGXCPU): Likewise.
39246         [POSIX || XPG3] (SIGXFSZ): Likewise.
39247         [POSIX] (SA_SIGINFO): Expect.
39248         [XPG3] (siginfo_t): Do not expect type or contents.
39249         [POSIX] (si_pid): Do not expect element.
39250         [POSIX] (si_uid): Likewise.
39251         [POSIX] (si_addr): Likewise.
39252         [POSIX] (si_status): Likewise.
39253         [POSIX] (si_band): Likewise.
39254         [XPG4] (si_value): Likewise.
39255         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
39256         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
39257         [POSIX || XPG3] (ILL_ILLADR): Likewise.
39258         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
39259         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
39260         [POSIX || XPG3] (ILL_PRVREG): Likewise.
39261         [POSIX || XPG3] (ILL_COPROC): Likewise.
39262         [POSIX || XPG3] (ILL_BADSTK): Likewise.
39263         [POSIX || XPG3] (FPE_INTDIV): Likewise.
39264         [POSIX || XPG3] (FPE_INTOVF): Likewise.
39265         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
39266         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
39267         [POSIX || XPG3] (FPE_FLTUND): Likewise.
39268         [POSIX || XPG3] (FPE_FLTRES): Likewise.
39269         [POSIX || XPG3] (FPE_FLTINV): Likewise.
39270         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
39271         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
39272         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
39273         [POSIX || XPG3] (BUS_ADRALN): Likewise.
39274         [POSIX || XPG3] (BUS_ADRERR): Likewise.
39275         [POSIX || XPG3] (BUS_OBJERR): Likewise.
39276         [POSIX || XPG3] (CLD_EXITED): Likewise.
39277         [POSIX || XPG3] (CLD_KILLED): Likewise.
39278         [POSIX || XPG3] (CLD_DUMPED): Likewise.
39279         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
39280         [POSIX || XPG3] (CLD_STOPPED): Likewise.
39281         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
39282         [POSIX || XPG3] (POLL_IN): Likewise.
39283         [POSIX || XPG3] (POLL_OUT): Likewise.
39284         [POSIX || XPG3] (POLL_MSG): Likewise.
39285         [POSIX || XPG3] (POLL_ERR): Likewise.
39286         [POSIX || XPG3] (POLL_PRI): Likewise.
39287         [POSIX || XPG3] (POLL_HUP): Likewise.
39288         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
39289         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
39290         (SIG*): Do not allow.
39291         [XPG3] (si_*): Likewise.
39292         [XPG3] (SI_*): Likewise.
39293         [XPG3 || XPG4] (sigev_*): Likewise.
39294         [XPG3 || XPG4] (SIGEV_*): Likewise.
39295         [XPG3 || XPG4] (sival_*): Likewise.
39296         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
39297         [POSIX || XPG3] (BUS_*): Likewise.
39298         [POSIX || XPG3] (CLD_*): Likewise.
39299         [POSIX || XPG3] (FPE_*): Likewise.
39300         [POSIX || XPG3] (ILL_*): Likewise.
39301         [POSIX || XPG3] (POLL_*): Likewise.
39302         [POSIX || XPG3] (SEGV_*): Likewise.
39303         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
39304         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
39305         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
39306         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
39307         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
39308         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
39309         Specify type and value.
39310         (TVERSLEN): Likewise.
39311         (REGTYPE): Likewise.
39312         (AREGTYPE): Likewise.
39313         (LNKTYPE): Likewise.
39314         (SYMTYPE): Likewise.
39315         (CHRTYPE): Likewise.
39316         (BLKTYPE): Likewise.
39317         (DIRTYPE): Likewise.
39318         (FIFOTYPE): Likewise.
39319         (CONTTYPE): Likewise.
39320         (TSUID): Likewise.
39321         (TSGID): Likewise.
39322         (TSVTX): Likewise.
39323         (TUREAD): Likewise.
39324         (TUWRITE): Likewise.
39325         (TUEXEC): Likewise.
39326         (TGREAD): Likewise.
39327         (TGWRITE): Likewise.
39328         (TGEXEC): Likewise.
39329         (TOREAD): Likewise.
39330         (TOWRITE): Likewise.
39331         (TOEXEC): Likewise.
39332         [POSIX] (TSVTX): Expect constant.
39334 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
39336         * Makefile (tests): Change dependencies to ....
39337         (tests-special): ... additions to this variable.
39338         (tests): Depend on $(tests-special).
39339         * Makerules (check-abi-list): New variable.
39340         (check-abi): Depend on $(check-abi-list).
39341         [$(subdir) = elf] (tests-special): Add
39342         $(objpfx)check-abi-libc.out.
39343         [$(build-shared) = yes && subdir] (tests-special): Add
39344         $(check-abi-list).
39345         [$(build-shared) = yes && subdir] (tests): Do not depend on
39346         check-abi.
39347         * Rules (tests): Depend on $(tests-special).
39348         (xtests): Depend on $(xtests-special).
39349         * catgets/Makefile (tests): Change dependencies to ....
39350         (tests-special): ... additions to this variable.
39351         * conform/Makefile (tests): Change dependencies to ....
39352         (tests-special): ... additions to this variable.
39353         * elf/Makefile (tests): Change dependencies to ....
39354         (tests-special): ... additions to this variable.
39355         * grp/Makefile (tests): Change dependencies to ....
39356         (tests-special): ... additions to this variable.
39357         * iconv/Makefile (xtests): Change dependencies to ....
39358         (xtests-special): ... additions to this variable.
39359         * iconvdata/Makefile (tests): Change dependencies to ....
39360         (tests-special): ... additions to this variable.
39361         * intl/Makefile (tests): Change dependencies to ....
39362         (tests-special): ... additions to this variable.  Also add
39363         $(objpfx)tst-gettext.out.
39364         * io/Makefile (tests): Change dependencies to ....
39365         (tests-special): ... additions to this variable.
39366         * libio/Makefile (tests): Change dependencies to ....
39367         (tests-special): ... additions to this variable.
39368         * malloc/Makefile (tests): Change dependencies to ....
39369         (tests-special): ... additions to this variable.
39370         * misc/Makefile (tests): Change dependencies to ....
39371         (tests-special): ... additions to this variable.
39372         * nptl/Makefile (tests): Change dependencies to ....
39373         (tests-special): ... additions to this variable.
39374         * nptl_db/Makefile (tests): Change dependencies to ....
39375         (tests-special): ... additions to this variable.
39376         * posix/Makefile (tests): Change dependencies to ....
39377         (tests-special): ... additions to this variable.
39378         (xtests): Change dependencies to ....
39379         (xtests-special): ... additions to this variable.
39380         * resolv/Makefile (tests): Change dependencies to ....
39381         (tests-special): ... additions to this variable.
39382         (xtests): Change dependencies to ....
39383         (xtests-special): ... additions to this variable.
39384         * stdio-common/Makefile (tests): Change dependencies to ....
39385         (tests-special): ... additions to this variable.
39386         (do-tst-unbputc): Remove target.
39387         (do-tst-printf): Likewise.
39388         * stdlib/Makefile (tests): Change dependencies to ....
39389         (tests-special): ... additions to this variable.
39390         * string/Makefile (tests): Change dependencies to ....
39391         (tests-special): ... additions to this variable.
39392         * sysdeps/x86/Makefile (tests): Change dependencies to ....
39393         (tests-special): ... additions to this variable.
39395         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
39396         whole file.
39397         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
39398         whole file.
39399         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
39400         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
39402         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
39403         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
39404         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
39405         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
39406         * conform/data/libgen.h-data [XPG3]: Likewise.
39407         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
39408         * conform/data/ndbm.h-data [XPG3]: Likewise.
39409         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
39410         * conform/data/netdb.h-data [XPG3]: Likewise.
39411         * conform/data/netinet/in.h-data [XPG3]: Likewise.
39412         * conform/data/poll.h-data [XPG3]: Likewise.
39413         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
39414         * conform/data/strings.h-data [XPG3]: Likewise.
39415         * conform/data/stropts.h-data [XPG3]: Likewise.
39416         * conform/data/sys/mman.h-data [XPG3]: Likewise.
39417         * conform/data/sys/resource.h-data [XPG3]: Likewise.
39418         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
39419         Likewise.
39420         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
39421         * conform/data/sys/time.h-data [XPG3]: Likewise.
39422         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
39423         * conform/data/sys/uio.h-data [XPG3]: Likewise.
39424         * conform/data/sys/un.h-data [XPG3]: Likewise.
39425         * conform/data/syslog.h-data [XPG3]: Likewise.
39426         * conform/data/ucontext.h-data [XPG3]: Likewise.
39427         * conform/data/utmpx.h-data [XPG3]: Likewise.
39428         * conform/data/varargs.h-data [UNIX98]: Enable file.
39430         * manual/Makefile (INSTALL_INFO): Remove variable setting.
39432         * math/libm-test.inc (struct test_f_f_data): Move expected results
39433         into structure for each rounding mode.
39434         (struct test_ff_f_data): Likewise.
39435         (struct test_ff_f_data_nexttoward): Likewise.
39436         (struct test_fi_f_data): Likewise.
39437         (struct test_fl_f_data): Likewise.
39438         (struct test_if_f_data): Likewise.
39439         (struct test_fff_f_data): Likewise.
39440         (struct test_c_f_data): Likewise.
39441         (struct test_f_f1_data): Likewise.
39442         (struct test_fF_f1_data): Likewise.
39443         (struct test_ffI_f1_data): Likewise.
39444         (struct test_c_c_data): Likewise.
39445         (struct test_cc_c_data): Likewise.
39446         (struct test_f_i_data): Likewise.
39447         (struct test_ff_i_data): Likewise.
39448         (struct test_f_l_data): Likewise.
39449         (struct test_f_L_data): Likewise.
39450         (struct test_fFF_11_data): Likewise.
39451         (RM_): New macro.
39452         (RM_FE_DOWNWARD): Likewise.
39453         (RM_FE_TONEAREST): Likewise.
39454         (RM_FE_TOWARDZERO): Likewise.
39455         (RM_FE_UPWARD): Likewise.
39456         (RUN_TEST_LOOP_f_f): Update references to expected results.
39457         (RUN_TEST_LOOP_2_f): Likewise.
39458         (RUN_TEST_LOOP_fff_f): Likewise.
39459         (RUN_TEST_LOOP_c_f): Likewise.
39460         (RUN_TEST_LOOP_f_f1): Likewise.
39461         (RUN_TEST_LOOP_fF_f1): Likewise.
39462         (RUN_TEST_LOOP_fI_f1): Likewise.
39463         (RUN_TEST_LOOP_ffI_f1): Likewise.
39464         (RUN_TEST_LOOP_c_c): Likewise.
39465         (RUN_TEST_LOOP_cc_c): Likewise.
39466         (RUN_TEST_LOOP_f_i): Likewise.
39467         (RUN_TEST_LOOP_f_i_tg): Likewise.
39468         (RUN_TEST_LOOP_ff_i_tg): Likewise.
39469         (RUN_TEST_LOOP_f_b): Likewise.
39470         (RUN_TEST_LOOP_f_b_tg): Likewise.
39471         (RUN_TEST_LOOP_f_l): Likewise.
39472         (RUN_TEST_LOOP_f_L): Likewise.
39473         (RUN_TEST_LOOP_fFF_11): Likewise.
39474         * math/gen-libm-test.pl (parse_args): Output four copies of
39475         expected results for each test.
39477         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
39478         (__ASSUME_UTIMES): Remove.
39479         * sysdeps/unix/sysv/linux/tile/kernel-features.h
39480         (__ASSUME_UTIMES): Likewise.
39482         * math/gen-auto-libm-tests.c: Update comment on output format.
39483         (output_for_one_input_case): Generate before-rounding and
39484         after-rounding information as conditions on output flags not
39485         floating-point format.
39486         * math/auto-libm-test-out: Regenerated.
39487         * math/gen-libm-test.pl (cond_value): New function.
39488         (or_cond_value): Use cond_value.
39489         (generate_testfile): Handle conditional exceptions.
39491 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
39493         * math/libm-test.inc (max_valid_error): New variable.
39494         (init_max_error): Take new argument specifying whether function
39495         results are exactly determined.  Set max_valid_error and bound
39496         other variables for errors based on this argument.
39497         (set_max_error): Do not record results above max_valid_error.
39498         (check_float_internal): Only accept errors of up to 0.5ulps if
39499         also at most max_valid_error.
39500         (START): Take new argument EXACT and pass it to init_max_error.
39501         (acos_test): Update call to START.
39502         (acos_test_tonearest): Likewise.
39503         (acos_test_towardzero): Likewise.
39504         (acos_test_downward): Likewise.
39505         (acos_test_upward): Likewise.
39506         (acosh_test): Likewise.
39507         (asin_test): Likewise.
39508         (asin_test_tonearest): Likewise.
39509         (asin_test_towardzero): Likewise.
39510         (asin_test_downward): Likewise.
39511         (asin_test_upward): Likewise.
39512         (asinh_test): Likewise.
39513         (atan_test): Likewise.
39514         (atanh_test): Likewise.
39515         (atan2_test): Likewise.
39516         (cabs_test): Likewise.
39517         (cacos_test): Likewise.
39518         (cacosh_test): Likewise.
39519         (carg_test): Likewise.
39520         (casin_test): Likewise.
39521         (casinh_test): Likewise.
39522         (catan_test): Likewise.
39523         (catanh_test): Likewise.
39524         (cbrt_test): Likewise.
39525         (ccos_test): Likewise.
39526         (ccosh_test): Likewise.
39527         (ceil_test): Likewise.
39528         (cexp_test): Likewise.
39529         (cimag_test): Likewise.
39530         (clog_test): Likewise.
39531         (clog10_test): Likewise.
39532         (conj_test): Likewise.
39533         (copysign_test): Likewise.
39534         (cos_test): Likewise.
39535         (cos_test_tonearest): Likewise.
39536         (cos_test_towardzero): Likewise.
39537         (cos_test_downward): Likewise.
39538         (cos_test_upward): Likewise.
39539         (cosh_test): Likewise.
39540         (cosh_test_tonearest): Likewise.
39541         (cosh_test_towardzero): Likewise.
39542         (cosh_test_downward): Likewise.
39543         (cosh_test_upward): Likewise.
39544         (cpow_test): Likewise.
39545         (cproj_test): Likewise.
39546         (creal_test): Likewise.
39547         (csin_test): Likewise.
39548         (csinh_test): Likewise.
39549         (csqrt_test): Likewise.
39550         (ctan_test): Likewise.
39551         (ctan_test_tonearest): Likewise.
39552         (ctan_test_towardzero): Likewise.
39553         (ctan_test_downward): Likewise.
39554         (ctan_test_upward): Likewise.
39555         (ctanh_test): Likewise.
39556         (ctanh_test_tonearest): Likewise.
39557         (ctanh_test_towardzero): Likewise.
39558         (ctanh_test_downward): Likewise.
39559         (ctanh_test_upward): Likewise.
39560         (erf_test): Likewise.
39561         (erfc_test): Likewise.
39562         (exp_test): Likewise.
39563         (exp_test_tonearest): Likewise.
39564         (exp_test_towardzero): Likewise.
39565         (exp_test_downward): Likewise.
39566         (exp_test_upward): Likewise.
39567         (exp10_test): Likewise.
39568         (exp10_test_tonearest): Likewise.
39569         (exp10_test_towardzero): Likewise.
39570         (exp10_test_downward): Likewise.
39571         (exp10_test_upward): Likewise.
39572         (pow10_test): Likewise.
39573         (exp2_test): Likewise.
39574         (expm1_test): Likewise.
39575         (expm1_test_tonearest): Likewise.
39576         (expm1_test_towardzero): Likewise.
39577         (expm1_test_downward): Likewise.
39578         (expm1_test_upward): Likewise.
39579         (fabs_test): Likewise.
39580         (fdim_test): Likewise.
39581         (floor_test): Likewise.
39582         (fma_test): Likewise.
39583         (fma_test_towardzero): Likewise.
39584         (fma_test_downward): Likewise.
39585         (fma_test_upward): Likewise.
39586         (fmax_test): Likewise.
39587         (fmin_test): Likewise.
39588         (fmod_test): Likewise.
39589         (fpclassify_test): Likewise.
39590         (frexp_test): Likewise.
39591         (hypot_test): Likewise.
39592         (ilogb_test): Likewise.
39593         (isfinite_test): Likewise.
39594         (finite_test): Likewise.
39595         (isgreater_test): Likewise.
39596         (isgreaterequal_test): Likewise.
39597         (isinf_test): Likewise.
39598         (isless_test): Likewise.
39599         (islessequal_test): Likewise.
39600         (islessgreater_test): Likewise.
39601         (isnan_test): Likewise.
39602         (isnormal_test): Likewise.
39603         (issignaling_test): Likewise.
39604         (isunordered_test): Likewise.
39605         (j0_test): Likewise.
39606         (j1_test): Likewise.
39607         (jn_test): Likewise.
39608         (ldexp_test): Likewise.
39609         (lgamma_test): Likewise.
39610         (gamma_test): Likewise.
39611         (lrint_test): Likewise.
39612         (lrint_test_tonearest): Likewise.
39613         (lrint_test_towardzero): Likewise.
39614         (lrint_test_downward): Likewise.
39615         (lrint_test_upward): Likewise.
39616         (llrint_test): Likewise.
39617         (llrint_test_tonearest): Likewise.
39618         (llrint_test_towardzero): Likewise.
39619         (llrint_test_downward): Likewise.
39620         (llrint_test_upward): Likewise.
39621         (log_test): Likewise.
39622         (log10_test): Likewise.
39623         (log1p_test): Likewise.
39624         (log2_test): Likewise.
39625         (logb_test): Likewise.
39626         (logb_test_downward): Likewise.
39627         (lround_test): Likewise.
39628         (llround_test): Likewise.
39629         (modf_test): Likewise.
39630         (nearbyint_test): Likewise.
39631         (nextafter_test): Likewise.
39632         (nexttoward_test): Likewise.
39633         (pow_test): Likewise.
39634         (pow_test_tonearest): Likewise.
39635         (pow_test_towardzero): Likewise.
39636         (pow_test_downward): Likewise.
39637         (pow_test_upward): Likewise.
39638         (remainder_test): Likewise.
39639         (drem_test): Likewise.
39640         (remainder_test_tonearest): Likewise.
39641         (drem_test_tonearest): Likewise.
39642         (remainder_test_towardzero): Likewise.
39643         (drem_test_towardzero): Likewise.
39644         (remainder_test_downward): Likewise.
39645         (drem_test_downward): Likewise.
39646         (remainder_test_upward): Likewise.
39647         (drem_test_upward): Likewise.
39648         (remquo_test): Likewise.
39649         (rint_test): Likewise.
39650         (rint_test_tonearest): Likewise.
39651         (rint_test_towardzero): Likewise.
39652         (rint_test_downward): Likewise.
39653         (rint_test_upward): Likewise.
39654         (round_test): Likewise.
39655         (scalb_test): Likewise.
39656         (scalbn_test): Likewise.
39657         (scalbln_test): Likewise.
39658         (signbit_test): Likewise.
39659         (sin_test): Likewise.
39660         (sin_test_tonearest): Likewise.
39661         (sin_test_towardzero): Likewise.
39662         (sin_test_downward): Likewise.
39663         (sin_test_upward): Likewise.
39664         (sincos_test): Likewise.
39665         (sinh_test): Likewise.
39666         (sinh_test_tonearest): Likewise.
39667         (sinh_test_towardzero): Likewise.
39668         (sinh_test_downward): Likewise.
39669         (sinh_test_upward): Likewise.
39670         (sqrt_test): Likewise.
39671         (sqrt_test_tonearest): Likewise.
39672         (sqrt_test_towardzero): Likewise.
39673         (sqrt_test_downward): Likewise.
39674         (sqrt_test_upward): Likewise.
39675         (tan_test): Likewise.
39676         (tan_test_tonearest): Likewise.
39677         (tan_test_towardzero): Likewise.
39678         (tan_test_downward): Likewise.
39679         (tan_test_upward): Likewise.
39680         (tanh_test): Likewise.
39681         (tgamma_test): Likewise.
39682         (trunc_test): Likewise.
39683         (y0_test): Likewise.
39684         (y1_test): Likewise.
39685         (yn_test): Likewise.
39686         (significand_test): Likewise.
39688         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
39689         individual tests in comment.
39690         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
39691         (prev_max_error): New variable.
39692         (prev_real_max_error): Likewise.
39693         (prev_imag_max_error): Likewise.
39694         (compare_ulp_data): Don't refer to test names in comment.
39695         (find_test_ulps): Remove function.
39696         (find_function_ulps): Likewise.
39697         (find_complex_function_ulps): Likewise.
39698         (init_max_error): Take function name as argument.  Look up ulps
39699         for that function.
39700         (print_ulps): Remove function.
39701         (print_max_error): Use prev_max_error instead of calling
39702         find_function_ulps.
39703         (print_complex_max_error): Use prev_real_max_error and
39704         prev_imag_max_error instead of calling find_complex_function_ulps.
39705         (check_float_internal): Take max_ulp parameter instead of calling
39706         find_test_ulps.  Don't call print_ulps.
39707         (check_float): Update call to check_float_internal.
39708         (check_complex): Update calls to check_float_internal.
39709         (START): Pass argument to init_max_error.
39710         * math/gen-libm-test.pl (%results): Don't include "kind"
39711         information.
39712         (parse_ulps): Don't handle ulps of individual tests.
39713         (print_ulps_file): Likewise.
39714         (output_ulps): Likewise.
39715         * math/README.libm-test: Update.
39716         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
39717         individual tests.
39718         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
39719         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
39720         * sysdeps/arm/libm-test-ulps: Likewise.
39721         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
39722         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
39723         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
39724         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
39725         * sysdeps/microblaze/libm-test-ulps: Likewise.
39726         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
39727         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
39728         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39729         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
39730         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
39731         * sysdeps/sh/libm-test-ulps: Likewise.
39732         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
39733         * sysdeps/tile/libm-test-ulps: Likewise.
39734         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39736 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
39738         * math/libm-test.inc (print_complex_max_error): Check separately
39739         whether real and imaginary errors are within allowed range and
39740         pass 0 to print_complex_function_ulps instead of value within
39741         allowed range.
39743 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
39745         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
39746         formatting.
39747         (get_handles_fopen): Likewise.
39748         (do_write_test): Likewise.
39750         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
39752         * libio/fileops.c (do_ftell): Use cached offset when
39753         available.
39754         * libio/iofwide.c (do_ftell_wide): Likewise.
39755         * libio/iofdopen.c (_IO_new_fdopen): Don't use
39756         _IO_file_attach.
39757         * libio/wfileops.c (_IO_fwide): Don't cache offset.
39759         [BZ #16532]
39760         * libio/libioP.h (get_file_offset): New function.
39761         * libio/fileops.c (get_file_offset): Likewise.
39762         (do_ftell): Likewise.
39763         (_IO_new_file_seekoff): Split out ftell logic.
39764         * libio/wfileops.c (do_ftell_wide): Likewise.
39765         (_IO_wfile_seekoff): Split out ftell logic.
39766         * libio/tst-ftell-active-handler.c: New test case.
39767         * libio/Makefile (tests): Add it.
39769 2014-03-03  Roland McGrath  <roland@hack.frob.com>
39771         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
39772         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
39774 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
39776         [BZ #16639]
39777         * nscd/connections.c (nscd_init): Call do_exit.
39778         (start_threads): Call do_exit and notify_parent.
39779         (begin_drop_privileges): Call do_exit.
39780         (finish_drop_privileges): Likewise.
39781         * nscd/selinux.c (preserve_capabilities): Likewise.
39782         (install_real_capabilities): Likewise.
39783         (nscd_selinux_enabled): Likewise.
39784         (avc_create_thread): Likewise.
39785         (avc_alloc_lock): Likewise.
39786         (nscd_avc_init): Likewise.
39787         * nscd/nscd.c (parent_fd): New static variable.
39788         (main): Create a pipe between parent and child processes.
39789         Skip closing parent_fd.
39790         (monitor_child): New function.
39791         (do_exit): Likewise.
39792         (notify_parent): Likewise.
39793         * nscd/nscd.h (notify_parent): Likewise.
39794         (do_exit): Likewise.
39796 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
39798         * malloc/malloc.c (__libc_calloc): Revert last change.
39800 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39802         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39804 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
39806         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
39807         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
39808         implementation.
39809         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
39810         (__libc_ifunc_impl_list): Likewise.
39811         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
39812         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
39813         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
39814         * string/strrchr.c: Define STRRCHR.
39816 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
39818         * benchtest/bench-strtok.c (simple_strtok): Delete.
39819         (strtok_string): Use as benchmark.
39820         * string/strtok (STRTOK): New macro.
39822 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
39824         * manual/threads.texi: Add header and standard comments to all
39825         functions.
39827         * elf/dl-lookup.c (check_match): New function.
39828         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
39829         (do_lookup_x): Remove nested function check_match. Use non-nested
39830         function check_match.
39832 2014-02-28  Roland McGrath  <roland@hack.frob.com>
39834         * csu/Makefile (generated, before-compile): Use += rather than =.
39835         * catgets/Makefile (generated, generated-dirs): Likewise.
39836         * debug/Makefile (generated): Likewise.
39837         * dlfcn/Makefile (generated): Likewise.
39838         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
39839         * iconvdata/Makefile (before-compile, generated): Likewise.
39840         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
39841         * libio/Makefile (generated): Likewise.
39842         * malloc/Makefile (generated): Likewise.
39843         * manual/Makefile (generated, generated-dirs): Likewise.
39844         * misc/Makefile (generated): Likewise.
39845         * posix/Makefile (generated): Likewise.
39846         * resolv/Makefile (generated): Likewise.
39847         * sunrpc/Makefile (generated, generated-dirs): Likewise.
39848         * timezone/Makefile (generated, generated-dirs): Likewise.
39850         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
39852 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39854         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
39855         power8 implementation.
39856         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
39857         file: POWER8 llround ifunc implementation.
39858         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
39859         (__lllround): Add POWER8 implementation.
39860         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
39861         POWER8 llround implementation.
39863         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
39864         power8 implementation.
39865         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
39866         file: POWER8 llrint ifunc implementation.
39867         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
39868         Add POWER8 implementation.
39869         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
39870         POWER8 llrint implementation.
39872         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
39873         power8 implementation.
39874         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
39875         file: POWER8 finite ifunc implementation.
39876         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
39877         Add POWER8 implementation.
39878         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
39879         Likewise.
39880         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
39881         POWER8 finite implementation.
39882         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
39884         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
39885         power8 implementation.
39886         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
39887         file: POWER8 isinf ifunc implementation.
39888         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
39889         POWER8 implementation.
39890         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
39891         Likewise.
39892         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
39893         isinf implementation.
39894         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
39896         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
39897         (INIT_ARCH): Add hwcap2 initialization.
39898         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
39899         power8 implementation.
39900         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
39901         file: POWER8 isnan ifunc implementation.
39902         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
39903         POWER8 implementation.
39904         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
39905         Likewise.
39906         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
39907         isnan implementation.
39908         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
39910 2014-02-27  Joey Ye  <joey.ye@arm.com>
39912         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
39913         (_FP_NANFRAC_Q): Set to zero.
39915 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
39917         [BZ #16623]
39918         * math/auto-libm-test-in: New test inputs.
39919         * math/auto-libm-test-out: Regenerate.
39920         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
39921         and DA.
39922         (__cos): Likewise.
39923         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
39925 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
39927         * scripts/evaluate-test.sh: Take new argument indicating whether
39928         failure is expected.
39929         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
39930         indicating whether failure is expected.
39931         * conform/Makefile (test-xfail-run-conformtest): New variable.
39932         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
39933         level.
39934         * posix/Makefile (test-xfail-annexc): New variable.
39935         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
39937 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
39939         * argp/Makefile: Include Makeconfig immediately after defining
39940         subdir.
39941         * assert/Makefile: Likewise.
39942         * benchtests/Makefile: Likewise.
39943         * catgets/Makefile: Likewise.
39944         * conform/Makefile: Likewise.
39945         * crypt/Makefile: Likewise.
39946         * csu/Makefile: Likewise.
39947         (all): Remove target.
39948         * ctype/Makefile: Include Makeconfig immediately after defining
39949         subdir.
39950         * debug/Makefile: Likewise.
39951         * dirent/Makefile: Likewise.
39952         * dlfcn/Makefile: Likewise.
39953         * gmon/Makefile: Likewise.
39954         * gnulib/Makefile: Likewise.
39955         * grp/Makefile: Likewise.
39956         * gshadow/Makefile: Likewise.
39957         * hesiod/Makefile: Likewise.
39958         * hurd/Makefile: Likewise.
39959         (all): Remove target.
39960         * iconvdata/Makefile: Include Makeconfig immediately after
39961         defining subdir.
39962         * inet/Makefile: Likewise.
39963         * intl/Makefile: Likewise.
39964         * io/Makefile: Likewise.
39965         * libio/Makefile: Likewise.
39966         (all): Remove target.
39967         * locale/Makefile: Include Makeconfig immediately after defining
39968         subdir.
39969         * login/Makefile: Likewise.
39970         * mach/Makefile: Likewise.
39971         (all): Remove target.
39972         * malloc/Makefile: Include Makeconfig immediately after defining
39973         subdir.
39974         (all): Remove target.
39975         * manual/Makefile: Include Makeconfig immediately after defining
39976         subdir.
39977         * math/Makefile: Likewise.
39978         * misc/Makefile: Likewise.
39979         * nis/Makefile: Likewise.
39980         * nss/Makefile: Likewise.
39981         * po/Makefile: Likewise.
39982         (all): Remove target.
39983         * posix/Makefile: Include Makeconfig immediately after defining
39984         subdir.
39985         * pwd/Makefile: Likewise.
39986         * resolv/Makefile: Likewise.
39987         * resource/Makefile: Likewise.
39988         * rt/Makefile: Likewise.
39989         * setjmp/Makefile: Likewise.
39990         * shadow/Makefile: Likewise.
39991         * signal/Makefile: Likewise.
39992         * socket/Makefile: Likewise.
39993         * soft-fp/Makefile: Likewise.
39994         * stdio-common/Makefile: Likewise.
39995         * stdlib/Makefile: Likewise.
39996         * streams/Makefile: Likewise.
39997         * string/Makefile: Likewise.
39998         * sunrpc/Makefile: Likewise.
39999         (all): Remove target.
40000         * sysvipc/Makefile: Include Makeconfig immediately after defining
40001         subdir.
40002         * termios/Makefile: Likewise.
40003         * time/Makefile: Likewise.
40004         * timezone/Makefile: Likewise.
40005         (all): Remove target.
40006         * wcsmbs/Makefile: Include Makeconfig immediately after defining
40007         subdir.
40008         * wctype/Makefile: Likewise.
40010 2014-02-26  Steve Ellcey  <sellcey@mips.com>
40012         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
40013         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
40014         (libc_feholdexcept_setround_mips): Ditto.
40015         (libc_feholdsetround): New.
40016         (libc_feholdsetroundf): New.
40017         (libc_feholdsetroundl): New.
40018         (libc_feupdateenv_test_mips): New.
40019         (libc_feupdateenv_test): New.
40020         (libc_feupdateenv_testf): New.
40021         (libc_feupdateenv_testl): New.
40022         (libc_feresetround): New.
40023         (libc_feresetroundf): New.
40024         (libc_feresetroundl): New.
40025         (libc_fetestexcept_mips): New.
40026         (libc_fetestexcept): New.
40027         (libc_fetestexceptf): New.
40028         (libc_fetestexceptl): New.
40029         (HAVE_RM_CTX): New.
40030         (libc_feholdexcept_setround_mips_ctx): New.
40031         (libc_feholdexcept_setround_ctx): New.
40032         (libc_feholdexcept_setroundf_ctx): New.
40033         (libc_feholdexcept_setroundl_ctx): New.
40034         (libc_fesetenv_mips_ctx): New.
40035         (libc_fesetenv_ctx): New.
40036         (libc_fesetenv_ctxf): New.
40037         (libc_fesetenv_ctxl): New.
40038         (libc_feupdateenv_mips_ctx): New.
40039         (libc_feupdateenv_ctx): New.
40040         (libc_feupdateenvf_ctx): New.
40041         (libc_feupdateenvl_ctx): New.
40042         (libc_feholdsetround_mips_ctx): New.
40043         (libc_feholdsetround_ctx): New.
40044         (libc_feholdsetroundf_ctx): New.
40045         (libc_feholdsetroundl_ctx): New.
40046         (libc_feresetround_mips_ctx): New.
40047         (libc_feresetround_ctx): New.
40048         (libc_feresetroundf_ctx): New.
40049         (libc_feresetroundl_ctx): New.
40051 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
40053         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
40055         * manual/ipc.texi: New file.
40056         * manual/Makefile (chapters): Add ipc.
40057         * manual/job.texi: Add "Inter-Process Communication" to next.
40058         * manual/process.texi: Add "Inter-Process Communication" to prev.
40060 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40062         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40064 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
40066         * malloc/malloc.c (__libc_calloc): Simplify implementation.
40068         * manual/arith.texi: Fix spaces after sentences.
40069         * manual/charset.texi: Likewise.
40070         * manual/errno.texi: Likewise.
40071         * manual/install.texi: Likewise.
40072         * manual/llio.texi: Likewise.
40073         * manual/locale.texi: Likewise.
40074         * manual/maint.texi: Likewise.
40075         * manual/math.texi: Likewise.
40076         * manual/memory.texi: Likewise.
40077         * manual/message.texi: Likewise.
40078         * manual/probes.texi: Likewise.
40079         * manual/resource.texi: Likewise.
40080         * manual/signal.texi: Likewise.
40081         * manual/socket.texi: Likewise.
40082         * manual/stdio.texi: Likewise.
40083         * manual/string.texi: Likewise.
40084         * manual/time.texi: Likewise.
40085         * manual/users.texi: Likewise.
40087 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
40089         [BZ #16632]
40090         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
40091         _DEFAULT_SOURCE is defined.
40093 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
40094             Carlos O'Donell  <carlos@redhat.com>
40096         [BZ #16613]
40097         * elf/dl-tls.c (_dl_count_modids): New function.
40098         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
40099         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
40100         audit library and increment generation counter.
40101         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
40102         * elf/tst-audit9.c: New file.
40103         * elf/tst-auditmod9a.c: New file.
40104         * elf/tst-auditmod9b.c: New file.
40105         * elf/Makefile: Add rules to build and run tst-audit9.
40107 2014-02-25  Florian Weimer  <fweimer@redhat.com>
40109         [BZ #15347]
40110         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
40112 2014-02-25  Will Newton  <will.newton@linaro.org>
40114         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
40115         (__longjmp): Restore sp and lr before restoring callee
40116         saved registers.  Add longjmp and longjmp_target
40117         SystemTap probe point.
40118         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
40119         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
40120         Define to zero to match jmpbuf layout.
40121         * sysdeps/arm/setjmp.S: Include stap-probe.h.
40122         (__sigsetjmp): Save sp and lr before saving callee
40123         saved registers.  Add setjmp SystemTap probe point.
40125 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
40127         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
40129 2014-02-24  Andreas Schwab  <schwab@suse.de>
40131         [BZ #15804]
40132         * elf/pldd.c (wait_for_ptrace_stop): New function.
40133         (main): Call it after attaching.
40135 2014-02-22  Roland McGrath  <roland@hack.frob.com>
40137         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
40138         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
40139         Versions files is now verboten.
40140         * hurd/Versions (libc: GLIBC_2.0):
40141         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
40142         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
40143         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
40144         * mach/Versions: Likewise.
40146         * csu/Versions: Remove unused %include.
40147         * resolv/Versions: Likewise.
40149 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
40151         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
40152         ($(objpfx)check-local-headers.out): Likewise.
40153         ($(objpfx)begin-end-check.out): Likewise.
40154         * Makerules (check-abi-%.out): Likewise.
40155         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
40156         ($(objpfx)test2.cat): Likewise.
40157         ($(objpfx)de/libc.cat): Likewise.
40158         ($(objpfx)test-gencat.out): Likewise.
40159         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
40160         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
40161         ($(objpfx)noload-mem): Likewise.
40162         ($(objpfx)tst-pathopt.out): Likewise.
40163         ($(objpfx)tst-rtld-load-self.out): Likewise.
40164         ($(objpfx)tst-array1-cmp.out): Likewise.
40165         ($(objpfx)tst-array1-static-cmp.out): Likewise.
40166         ($(objpfx)tst-array2-cmp.out): Likewise.
40167         ($(objpfx)tst-array3-cmp.out): Likewise.
40168         ($(objpfx)tst-array4-cmp.out): Likewise.
40169         ($(objpfx)tst-array5-cmp.out): Likewise.
40170         ($(objpfx)tst-array5-static-cmp.out): Likewise.
40171         ($(objpfx)check-textrel.out): Likewise.
40172         ($(objpfx)check-execstack.out): Likewise.
40173         ($(objpfx)check-localplt.out): Likewise.
40174         ($(objpfx)order2-cmp.out): Likewise.
40175         ($(objpfx)tst-leaks1-mem): Likewise.
40176         ($(objpfx)tst-leaks1-static-mem): Likewise.
40177         ($(objpfx)tst-initorder-cmp.out): Likewise.
40178         ($(objpfx)tst-initorder2-cmp.out): Likewise.
40179         ($(objpfx)tst-unused-dep.out): Likewise.
40180         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
40181         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
40182         * iconv/Makefile (test-iconvconfig): Likewise.
40183         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
40184         ($(objpfx)iconv-test.out): Likewise.
40185         ($(objpfx)tst-tables.out): Likewise.
40186         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
40187         ($(objpfx)tst-gettext.out): Likewise.
40188         ($(objpfx)tst-translit.out): Likewise.
40189         ($(objpfx)tst-gettext2.out): Likewise.
40190         ($(objpfx)tst-gettext4.out): Likewise.
40191         ($(objpfx)tst-gettext6.out): Likewise.
40192         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
40193         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
40194         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
40195         ($(objpfx)tst-fopenloc-mem.out): Likewise.
40196         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
40197         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
40198         * posix/Makefile ($(objpfx)globtest.out): Likewise.
40199         ($(objpfx)wordexp-tst.out): Likewise.
40200         ($(objpfx)annexc.out): Likewise.
40201         ($(objpfx)tst-fnmatch-mem): Likewise.
40202         ($(objpfx)bug-regex2-mem): Likewise.
40203         ($(objpfx)bug-regex14-mem): Likewise.
40204         ($(objpfx)bug-regex21-mem): Likewise.
40205         ($(objpfx)bug-regex31-mem): Likewise.
40206         ($(objpfx)tst-vfork3-mem): Likewise.
40207         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
40208         ($(objpfx)tst-pcre-mem): Likewise.
40209         ($(objpfx)tst-boost-mem): Likewise.
40210         ($(objpfx)tst-getconf.out): Likewise.
40211         ($(objpfx)bug-ga2-mem): Likewise.
40212         ($(objpfx)bug-glob2-mem): Likewise.
40213         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
40214         ($(objpfx)mtrace-tst-leaks2): Likewise.
40215         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
40216         ($(objpfx)tst-printf.out): Likewise.
40217         ($(objpfx)tst-setvbuf1.out): Likewise.
40218         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
40219         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
40220         ($(objpfx)tst-fmtmsg.out): Likewise.
40221         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
40222         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
40224         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
40225         * bits/sigaction.h [__USE_MISC]: Likewise.
40226         * bits/waitstatus.h: Update #endif comments.
40227         * ctype/ctype.h: Likewise.
40228         * dirent/dirent.h: Likewise.
40229         [__USE_MISC]: Remove redundant conditionals.
40230         * grp/grp.h: Update #endif comments.
40231         [__USE_GNU]: Remove redundant conditionals.
40232         [__USE_MISC]: Likewise.
40233         * inet/netinet/in.h [__USE_GNU]: Likewise.
40234         * io/sys/stat.h [__USE_MISC]: Likewise.
40235         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
40236         * libio/bits/stdio.h: Update #endif comments.
40237         [__USE_MISC]: Remove redundant conditionals.
40238         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
40239         * libio/stdio.h: Update #endif comments.
40240         [__USE_MISC]: Remove redundant conditionals.
40241         * math/bits/math-finite.h [__USE_MISC]: Likewise.
40242         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
40243         * math/math.h: Update #else and #endif comments.
40244         [__USE_MISC]: Remove redundant conditionals.
40245         * misc/sys/uio.h: Update #endif comments.
40246         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
40247         * posix/glob.h [__USE_MISC]: Likewise.
40248         * posix/sys/types.h: Update #endif comments.
40249         [__USE_MISC]: Remove redundant conditionals.
40250         * posix/sys/wait.h: Update #endif comments.
40251         [__USE_MISC]: Remove redundant conditionals.
40252         * posix/unistd.h: Update #endif comments.
40253         [__USE_MISC]: Remove redundant conditionals.
40254         * pwd/pwd.h [__USE_GNU]: Likewise.
40255         [__USE_MISC]: Likewise.
40256         * resolv/netdb.h [__USE_GNU]: Likewise.
40257         * signal/signal.h: Update #endif comments.
40258         [__USE_MISC]: Remove redundant conditionals.
40259         * stdlib/stdlib.h: Update #else and #endif comments.
40260         [__USE_MISC]: Remove redundant conditionals.
40261         [__USE_GNU]: Likewise.
40262         * string/bits/string2.h [__USE_MISC]: Likewise.
40263         * string/string.h: Update #endif comments.
40264         [__USE_MISC]: Remove redundant conditionals.
40265         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
40266         Likewise.
40267         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
40268         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
40269         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
40270         Likewise.
40271         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
40272         Likewise.
40273         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
40274         comments.
40275         [__USE_MISC]: Remove redundant conditionals.
40276         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
40277         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
40278         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
40279         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
40280         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
40281         Likewise.
40282         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
40283         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
40284         Likewise.
40285         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
40286         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
40287         Likewise.
40288         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
40289         Likewise.
40290         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
40291         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
40292         Likewise.
40293         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
40294         Likewise.
40295         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
40296         * sysdeps/x86/bits/string.h: Update #endif comments.
40297         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
40298         conditionals.
40299         * time/sys/time.h: Update #endif comments.
40300         * time/time.h: Likewise.
40301         [__USE_MISC]: Remove redundant conditionals.
40303 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
40305         [BZ #16600]
40306         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
40308 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
40310         * Versions.def (librt): Add GLIBC_2.17.
40312 2014-02-21  Adam Conrad  <adconrad@0c3.net>
40314         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
40315         synonym for _SYS_AUXV_H to allow direct inclusion.
40316         * sysdeps/sparc/bits/hwcap.h: Likewise.
40317         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
40318         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
40319         * sysdeps/sparc/sysdep.h: Likewise.
40321 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
40323         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
40325 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
40327         * benchtests/bench-strrchr.c: Print length instead of position.
40329 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
40331         [BZ #16611]
40332         * sysdeps/unix/sysv/linux/kernel-features.h
40333         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
40334         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
40335         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
40336         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
40337         Likewise.
40338         [__i386__ || __powerpc__ || __sh__ || __sparc__]
40339         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
40340         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
40341         (__ASSUME_SENDMMSG): Define instead of using previous
40342         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
40343         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
40344         (__ASSUME_SENDMMSG_SYSCALL): Define.
40345         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
40346         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
40347         Likewise.
40348         * sysdeps/unix/sysv/linux/arm/kernel-features.h
40349         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
40350         Likewise.
40351         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
40352         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
40353         Likewise.
40354         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
40355         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
40356         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
40357         [__ASSUME_SENDMMSG]: Change conditionals to
40358         [__ASSUME_SENDMMSG_SOCKETCALL].
40359         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
40360         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
40361         Define.
40362         * sysdeps/unix/sysv/linux/mips/kernel-features.h
40363         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
40364         Likewise.
40365         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
40366         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
40367         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
40368         [!__ASSUME_SENDMMSG]: Change conditional to
40369         [!__ASSUME_SENDMMSG_SOCKETCALL].
40370         * sysdeps/unix/sysv/linux/tile/kernel-features.h
40371         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
40372         Define.
40374         [BZ #16610]
40375         * sysdeps/unix/sysv/linux/kernel-features.h
40376         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
40377         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
40378         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
40379         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
40380         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
40381         [__i386__ || __sparc__]
40382         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
40383         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
40384         (__ASSUME_RECVMMSG): Define instead of using previous
40385         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
40386         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
40387         (__ASSUME_RECVMMSG_SYSCALL): Define.
40388         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
40389         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
40390         Likewise.
40391         * sysdeps/unix/sysv/linux/arm/kernel-features.h
40392         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
40393         Likewise.
40394         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
40395         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
40396         Likewise.
40397         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
40398         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
40399         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
40400         [__ASSUME_RECVMMSG]: Change condition to
40401         [__ASSUME_RECVMMSG_SOCKETCALL].
40402         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
40403         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
40404         Define.
40405         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
40406         * sysdeps/unix/sysv/linux/mips/kernel-features.h
40407         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
40408         Likewise.
40409         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
40410         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
40411         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
40412         [!__ASSUME_RECVMMSG]: Change condition to
40413         [!__ASSUME_RECVMMSG_SOCKETCALL].
40414         * sysdeps/unix/sysv/linux/tile/kernel-features.h
40415         (__ASSUME_RECVMMSG_SYSCALL): Define.
40417         [BZ #16609]
40418         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
40419         __powerpc__ || __s390__ || __sh__ || __sparc__]
40420         (__ASSUME_SOCKETCALL): Define.
40421         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
40422         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
40423         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
40424         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
40425         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
40426         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
40427         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
40428         (__ASSUME_ACCEPT4): Define instead of using previous
40429         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
40430         __powerpc__ || __sparc__ || __s390__)] condition.
40431         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
40432         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
40433         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
40434         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
40435         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
40436         [!__ASSUME_ACCEPT4]: Change condition to
40437         [!__ASSUME_ACCEPT4_SOCKETCALL].
40438         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
40439         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
40440         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
40441         * sysdeps/unix/sysv/linux/arm/kernel-features.h
40442         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
40443         __ASSUME_ACCEPT4_SYSCALL.
40444         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
40445         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
40446         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
40447         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
40448         __ASSUME_ACCEPT4_SYSCALL.
40449         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
40450         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
40451         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
40452         [__ASSUME_ACCEPT4]: Change condition to
40453         [__ASSUME_ACCEPT4_SOCKETCALL].
40454         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
40455         (__ASSUME_SOCKETCALL): Define.
40456         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
40457         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
40458         (__ASSUME_SOCKETCALL): Define.
40459         (__ASSUME_ACCEPT4): Remove.
40460         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
40461         Define.
40462         * sysdeps/unix/sysv/linux/mips/kernel-features.h
40463         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
40464         Likewise.
40465         * sysdeps/unix/sysv/linux/tile/kernel-features.h
40466         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
40468         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
40469         macro.
40470         (HWCAP_ARM_LPAE): Likewise.
40471         (HWCAP_ARM_EVTSTRM): Likewise.
40472         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
40473         Add vpfd32, lpae and evtstrm.
40474         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
40475         Increase to 22.
40477 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
40479         * math/auto-libm-test-in: Add tests of clog10.
40480         * math/auto-libm-test-out: Regenerated.
40481         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
40482         * sysdeps/i386/fpu/libm-test-ulps: Update.
40483         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40485 2014-02-18  Andreas Schwab  <schwab@suse.de>
40487         [BZ #16574]
40488         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
40489         Store non-zero if the second buffer was newly allocated.
40490         (send_dg): Likewise.
40491         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
40492         to send_vc and send_dg.
40493         (res_nsend): Pass NULL for ansp2_malloced.
40494         * resolv/res_query.c (__libc_res_nquery): Add parameter
40495         answerp2_malloced and pass it down to __libc_res_nsend.
40496         (res_nquery): Pass additional NULL to __libc_res_nquery.
40497         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
40498         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
40499         second answer buffer if answerp2_malloced was set.
40500         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
40501         (__libc_res_nquerydomain): Add parameter
40502         answerp2_malloced and pass it down to __libc_res_nquery.
40503         (res_nquerydomain): Pass additional NULL to
40504         __libc_res_nquerydomain.
40505         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
40506         additional NULL to __libc_res_nsend and __libc_res_nquery.
40507         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
40508         additional NULL to __libc_res_nsearch.
40509         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
40510         parameter of __libc_res_nsearch to check for separately allocated
40511         second buffer.
40512         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
40513         __libc_res_nquery.
40514         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
40515         additional NULL to __libc_res_nquery.
40516         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
40517         __libc_res_nsearch.
40518         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
40519         * include/resolv.h: Update prototypes of __libc_res_nquery,
40520         __libc_res_nsearch, __libc_res_nsend.
40522 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
40524         * math/auto-libm-test-in: Add tests of fma.
40525         * math/auto-libm-test-out: Regenerated.
40526         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
40527         (fma_towardzero_test_data): Likewise.
40528         (fma_downward_test_data): Likewise.
40529         (fma_upward_test_data): Likewise.
40530         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
40531         mpc_mode.
40532         (rounding_modes): Add values for new field.
40533         (func_calc_method): Add value mpfr_fff_f.
40534         (func_calc_desc): Add mpfr_fff_f union field.
40535         (test_function): Add field exact_args.
40536         (FUNC): Add macro argument EXACT_ARGS.
40537         (FUNC_mpfr_f_f): Update call to FUNC.
40538         (FUNC_mpfr_f_f): Likewise.
40539         (FUNC_mpfr_ff_f): Likewise.
40540         (FUNC_mpfr_if_f): Likewise.
40541         (FUNC_mpc_c_f): Likewise.
40542         (FUNC_mpc_c_c): Likewise.
40543         (test_functions): Add fma.  Update calls to FUNC.
40544         (handle_input_arg): Add argument exact_args.
40545         (add_test): Update call to handle_input_arg.
40546         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
40547         (output_for_one_input_case): Update call to calc_generic_results.
40548         Recalculate exact zero results in each rounding mode.
40550         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
40551         non-negative before setting low bit.
40552         * math/auto-libm-test-in: Mark one asin test possibly having
40553         spurious underflow.
40554         * math/auto-libm-test-out: Regenerated.
40555         * sysdeps/i386/fpu/libm-test-ulps: Update.
40556         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40558 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
40560         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
40561         * sysdeps/unix/sysv/linux/microblaze: Move directory from
40562         ports/sysdeps/unix/sysv/linux/microblaze.
40563         * README: Add missing listing for microblaze*-*-linux-gnu.
40565 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
40567         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
40568         duplicate code
40570 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
40572         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
40573         * sysdeps/unix/sysv/linux/ia64: Move directory from
40574         ports/sysdeps/unix/sysv/linux/ia64.
40575         * README: Update listing for ia64-*-linux-gnu.
40577 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
40578             Joseph Myers  <joseph@codesourcery.com>
40580         * Makeconfig (test-name): New variable.
40581         (evaluate-test): Likewise.
40582         * Makerules (do-test-clean): Remove .test-result files.
40583         (common-mostlyclean): Likewise.
40584         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
40585         * scripts/evaluate-test.sh: New file.
40587 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
40589         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
40590         separate $(objpfx)tst-fopenloc-cmp.out and
40591         $(objpfx)tst-fopenloc-mem.out targets.
40592         (tests): Update dependencies.
40593         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
40594         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
40595         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
40596         (tst-rxspencer-no-utf8-ARGS): New variable.
40597         (tst-rxspencer-no-utf8-ENV): Likewise.
40598         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
40599         instead of $(objpfx)tst-rxspencer-mem.
40600         ($(objpfx)tst-rxspencer-mem): Change target to
40601         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
40602         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
40603         * posix/tst-rxspencer-no-utf8.c: New file.
40605         * elf/Makefile ($(objpfx)order.out): Remove rule.
40606         [$(run-built-tests) = yes] (tests): Depend on
40607         $(objpfx)order-cmp.out.
40608         ($(objpfx)order-cmp.out): New rule.
40609         [$(run-built-tests) = yes] (tests): Depend on
40610         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
40611         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
40612         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
40613         $(objpfx)tst-array5-static-cmp.out.
40614         ($(objpfx)tst-array1.out): Remove rule.
40615         ($(objpfx)tst-array1-cmp.out): New rule.
40616         ($(objpfx)tst-array1-static.out): Remove rule.
40617         ($(objpfx)tst-array1-static-cmp.out): New rule.
40618         ($(objpfx)tst-array2.out): Remove rule.
40619         ($(objpfx)tst-array2-cmp.out): New rule.
40620         ($(objpfx)tst-array3.out): Remove rule.
40621         ($(objpfx)tst-array3-cmp.out): New rule.
40622         ($(objpfx)tst-array4.out): Remove rule.
40623         ($(objpfx)tst-array4-cmp.out): New rule.
40624         ($(objpfx)tst-array5.out): Remove rule.
40625         ($(objpfx)tst-array5-cmp.out): New rule.
40626         ($(objpfx)tst-array5-static.out): Remove rule.
40627         ($(objpfx)tst-array5-static-cmp.out): New rule.
40628         [$(run-built-tests) = yes] (tests): Depend on
40629         $(objpfx)order2-cmp.out.
40630         ($(objpfx)order2.out): Remove rule.
40631         ($(objpfx)order2-cmp.out): New rule.
40632         ($(objpfx)tst-initorder.out): Remove rule.
40633         [$(run-built-tests) = yes] (tests): Depend on
40634         $(objpfx)tst-initorder-cmp.out.
40635         ($(objpfx)tst-initorder-cmp.out): New rule.
40636         ($(objpfx)tst-initorder2.out): Remove rule.
40637         [$(run-built-tests) = yes] (tests): Depend on
40638         $(objpfx)tst-initorder2-cmp.out.
40639         ($(objpfx)tst-initorder2-cmp.out): New rule.
40640         [$(run-built-tests) = yes] (tests): Depend on
40641         $(objpfx)tst-unused-dep-cmp.out.
40642         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
40643         ($(objpfx)tst-unused-dep-cmp.out): New rule.
40644         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
40645         on $(objpfx)tst-setvbuf1-cmp.out.
40646         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
40647         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
40648         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
40649         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
40650         ($(objpfx)tst-svc.out): Remove rule.
40651         ($(objpfx)tst-svc-cmp.out): New rule.
40653 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
40655         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
40656         * ctype/ctype.h [__USE_MISC]: Likewise.
40657         * dirent/dirent.h [__USE_MISC]: Likewise.
40658         * grp/grp.h [__USE_MISC]: Likewise.
40659         * io/fcntl.h [__USE_MISC]: Likewise.
40660         * io/sys/stat.h [__USE_MISC]: Likewise.
40661         * libio/stdio.h [__USE_MISC]: Likewise.
40662         * posix/unistd.h [__USE_MISC]: Likewise.
40663         * pwd/pwd.h [__USE_MISC]: Likewise.
40664         * stdlib.h [__USE_MISC]: Likewise.
40665         * string/bits/string2.h [__USE_MISC]: Likewise.
40666         * string/string.h [__USE_MISC]: Likewise.
40667         * time/time.h [__USE_MISC]: Likewise.
40669 2014-02-13  Andreas Schwab  <schwab@suse.de>
40671         [BZ #16574]
40672         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
40673         second answer buffer if it was separately allocated.
40675 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
40677         * sysdeps/mips/math-tests.h: Include <features.h>.
40678         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
40679         (ROUNDING_TESTS_long_double): Do not define.
40680         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
40681         (EXCEPTION_TESTS_long_double): Likewise.
40682         * sysdeps/mips/mips64/libm-test-ulps: Update.
40684         * include/features.h (__USE_BSD): Remove macro definitions.
40685         (__USE_SVID): Likewise.
40686         (_BSD_SOURCE): Likewise.
40687         (_SVID_SOURCE): Likewise.
40688         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
40689         from definition of _DEFAULT_SOURCE.
40690         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
40691         [_DEFAULT_SOURCE].
40692         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
40693         * bits/mman.h [__USE_BSD]: Likewise.
40694         * bits/termios.h [__USE_BSD]: Likewise.
40695         * bits/waitstatus.h [__USE_BSD]: Likewise.
40696         * ctype/ctype.h [__USE_SVID]: Likewise.
40697         * dirent/dirent.h [__USE_BSD]: Likewise.
40698         * grp/grp.h [__USE_SVID]: Likewise.
40699         [__USE_BSD]: Likewise.
40700         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
40701         * io/fcntl.h [__USE_BSD]: Likewise.
40702         * io/ftw.h [__USE_BSD]: Likewise.
40703         * io/sys/stat.h [__USE_BSD]: Likewise.
40704         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
40705         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
40706         * libio/stdio.h [__USE_SVID]: Likewise.
40707         [__USE_BSD]: Likewise.
40708         * math/math.h [__USE_SVID]: Likewise.
40709         [__USE_BSD]: Likewise.
40710         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
40711         * misc/bits/syslog.h [__USE_BSD]: Likewise.
40712         * misc/search.h [__USE_SVID]: Likewise.
40713         * misc/sys/mman.h [__USE_BSD]: Likewise.
40714         * misc/sys/syslog.h [__USE_BSD]: Likewise.
40715         * misc/sys/uio.h [__USE_BSD]: Likewise.
40716         * posix/bits/unistd.h [__USE_BSD]: Likewise.
40717         * posix/glob.h [__USE_BSD]: Likewise.
40718         * posix/regex.h [__USE_BSD]: Likewise.
40719         * posix/sys/types.h [__USE_BSD]: Likewise.
40720         [__USE_SVID]: Likewise.
40721         * posix/sys/utsname.h [__USE_SVID]: Likewise.
40722         * posix/sys/wait.h [__USE_BSD]: Likewise.
40723         [__USE_SVID]: Likewise.
40724         * posix/unistd.h [__USE_BSD]: Likewise.
40725         [__USE_SVID]: Likewise.
40726         * pwd/pwd.h [__USE_SVID]: Likewise.
40727         * resolv/netdb.h [__USE_BSD]: Likewise.
40728         * setjmp/setjmp.h [__USE_BSD]: Likewise.
40729         * signal/signal.h [__USE_BSD]: Likewise.
40730         [__USE_SVID]: Likewise.
40731         * socket/sys/socket.h [__USE_BSD]: Likewise.
40732         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
40733         * stdlib/stdlib.h [__USE_BSD]: Likewise.
40734         [__USE_SVID]: Likewise.
40735         * string/bits/string2.h [__USE_BSD]: Likewise.
40736         [__USE_SVID]: Likewise.
40737         * string/bits/string3.h [__USE_BSD]: Likewise.
40738         * string/endian.h [__USE_BSD]: Likewise.
40739         * string/string.h [__USE_SVID]: Likewise.
40740         [__USE_BSD]: Likewise.
40741         * string/strings.h [__USE_BSD]: Likewise.
40742         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
40743         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
40744         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
40745         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
40746         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
40747         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
40748         Likewise.
40749         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
40750         Likewise.
40751         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
40752         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
40753         Likewise.
40754         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
40755         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
40756         Likewise.
40757         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
40758         Likewise.
40759         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
40760         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
40761         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
40762         Likewise.
40763         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
40764         Likewise.
40765         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
40766         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
40767         * termios/termios.h [__USE_BSD]: Likewise.
40768         * time/sys/time.h [__USE_BSD]: Likewise.
40769         * time/time.h [__USE_BSD]: Likewise.
40770         [__USE_SVID]: Likewise.
40772         * Makefile (subdir_targets): Remove subdir_lint.out.
40774         * stdio-common/Makefile (do-tst-unbputc): Remove target.
40775         (do-tst-printf): Likewise.
40776         (tests): Depend directly on $(objpfx)tst-unbputc.out and
40777         $(objpfx)tst-printf.out.
40779         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
40781         * Makerules (check-abi-%): Change target to
40782         $(objpfx)check-abi-%.out.
40783         (check-abi target): Update dependencies.
40784         (check-abi-pattern variable): Redirect output of diff to $@.
40785         (check-abi variable): Likewise.
40786         * elf/Makefile (check-abi): Update dependencies.
40788         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
40789         unused.
40790         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
40791         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
40792         subnormal range.
40793         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
40794         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
40795         value has largest subnormal exponent.
40796         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
40797         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
40798         * sysdeps/aarch64/soft-fp/sfp-machine.h
40799         (_FP_TININESS_AFTER_ROUNDING): New macro.
40800         * sysdeps/alpha/soft-fp/sfp-machine.h
40801         (_FP_TININESS_AFTER_ROUNDING): Likewise.
40802         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
40803         Likewise.
40804         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
40805         (_FP_TININESS_AFTER_ROUNDING): Likewise.
40806         * sysdeps/mips/soft-fp/sfp-machine.h
40807         (_FP_TININESS_AFTER_ROUNDING): Likewise.
40808         * sysdeps/powerpc/soft-fp/sfp-machine.h
40809         (_FP_TININESS_AFTER_ROUNDING): Likewise.
40810         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
40811         Likewise.
40812         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
40813         (_FP_TININESS_AFTER_ROUNDING): Likewise.
40814         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
40815         (_FP_TININESS_AFTER_ROUNDING): Likewise.
40816         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
40817         Likewise.
40819 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
40821         [BZ #16545]
40822         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
40823         model 1.
40825 2014-02-12  Richard Henderson  <rth@redhat.com>
40827         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
40828         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
40829         * sysdeps/unix/sysv/linux/alpha: Move directory from
40830         ports/sysdeps/unix/sysv/linux/alpha.
40831         * README: Update listing for alpha-*-linux-gnu.
40833 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
40835         * include/features.h: Update comment documenting feature test
40836         macros.
40837         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
40838         _DEFAULT_SOURCE.
40839         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
40840         (_SVID_SOURCE): Likewise.
40841         (_DEFAULT_SOURCE): Update description of default features.
40842         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
40843         with _GNU_SOURCE.
40844         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
40845         (S_ISVTX): Likewise.
40846         * manual/math.texi (Mathematical Constants): Likewise.
40847         * manual/signal.texi (Interrupted Primitives): Likewise.
40848         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
40849         * math/test-matherr.c (_SVID_SOURCE): Do not define.
40850         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
40851         Don't refer to _SVID_SOURCE in warning text.
40853         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40855         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
40856         already defined.
40857         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
40858         * sysdeps/mips/dl-lookup.c: Remove.
40859         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
40861 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
40863         [BZ #16447]
40864         * math/auto-libm-test-in: Add testcase for expl.
40865         * math/auto-libm-test-out: Regenerate.
40866         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
40867         calculation of unsafe.
40868         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
40870 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
40872         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
40873         * sysdeps/unix/sysv/linux/aarch64: Move directory from
40874         ports/sysdeps/unix/sysv/linux/aarch64.
40875         * README: Update listing for aarch64*-*-linux-gnu.
40877 2014-02-11  Will Newton  <will.newton@linaro.org>
40879         * manual/probes.texi (Mathematical Function Probes): Use
40880         "triggered" instead of "hit".
40882         * manual/probes.texi (Internal Probes): Add documentation
40883         of setjmp, longjmp and longjmp_target probes.
40885         * include/stap-probe.h: Add comment about probe argument
40886         format.
40888         * malloc/mtrace.c (attribute_hidden): Remove unused macro
40889         definition.  (tr_where, tr_freehook, tr_mallochook,
40890         tr_reallochook, tr_memalignhook): Use ANSI protoype.
40892 2014-02-11  David S. Miller  <davem@davemloft.net>
40894         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
40895         processing int_tests.
40897 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
40899         * sysdeps/mips: Move directory from ports/sysdeps/mips.
40900         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
40901         * sysdeps/unix/sysv/linux/mips: Move directory from
40902         ports/sysdeps/unix/sysv/linux/mips.
40903         * README: Update listing for mips-*-linux-gnu and
40904         mips64-*-linux-gnu.
40906 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
40908         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
40909         * sysdeps/unix/sysv/linux/m68k: Move directory from
40910         ports/sysdeps/unix/sysv/linux/m68k.
40911         * README: Update listing for m68k-*-linux-gnu.
40913 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
40915         * sysdeps/tile: Move directory from ports/sysdeps/tile.
40916         * sysdeps/unix/sysv/linux/generic: Move directory from
40917         ports/sysdeps/unix/sysv/linux/generic.
40918         * sysdeps/unix/sysv/linux/tile: Move directory from
40919         ports/sysdeps/unix/sysv/linux/tile.
40920         * README: Update listing for tile*-*-linux-gnu.
40922 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
40924         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
40925         __builtin_expect.
40926         * benchtests/bench-memmem.c (simple_memmem): Likewise.
40927         * catgets/open_catalog.c (__open_catalog): Likewise.
40928         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
40929         * debug/confstr_chk.c: Likewise.
40930         * debug/fread_chk.c (__fread_chk): Likewise.
40931         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
40932         * debug/getgroups_chk.c: Likewise.
40933         * debug/mbsnrtowcs_chk.c: Likewise.
40934         * debug/mbsrtowcs_chk.c: Likewise.
40935         * debug/mbstowcs_chk.c: Likewise.
40936         * debug/memcpy_chk.c: Likewise.
40937         * debug/memmove_chk.c: Likewise.
40938         * debug/mempcpy_chk.c: Likewise.
40939         * debug/memset_chk.c: Likewise.
40940         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
40941         * debug/strcat_chk.c (__strcat_chk): Likewise.
40942         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
40943         * debug/strncat_chk.c (__strncat_chk): Likewise.
40944         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
40945         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
40946         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
40947         * debug/wcpncpy_chk.c: Likewise.
40948         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
40949         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
40950         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
40951         * debug/wcsncpy_chk.c: Likewise.
40952         * debug/wcsnrtombs_chk.c: Likewise.
40953         * debug/wcsrtombs_chk.c: Likewise.
40954         * debug/wcstombs_chk.c: Likewise.
40955         * debug/wmemcpy_chk.c: Likewise.
40956         * debug/wmemmove_chk.c: Likewise.
40957         * debug/wmempcpy_chk.c: Likewise.
40958         * debug/wmemset_chk.c: Likewise.
40959         * dirent/scandirat.c (SCANDIRAT): Likewise.
40960         * dlfcn/dladdr1.c (dladdr1): Likewise.
40961         * dlfcn/dladdr.c (dladdr): Likewise.
40962         * dlfcn/dlclose.c (dlclose_doit): Likewise.
40963         * dlfcn/dlerror.c (__dlerror): Likewise.
40964         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
40965         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
40966         * dlfcn/dlopen.c (dlopen_doit): Likewise.
40967         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
40968         * dlfcn/dlsym.c (dlsym_doit): Likewise.
40969         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
40970         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
40971         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
40972         Likewise.
40973         * elf/dl-conflict.c: Likewise.
40974         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
40975         * elf/dl-dst.h: Likewise.
40976         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
40977         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
40978         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
40979         * elf/dl-init.c (call_init, _dl_init): Likewise.
40980         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
40981         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
40982         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
40983         Likewise.
40984         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
40985         Likewise.
40986         * elf/dl-minimal.c (__libc_memalign): Likewise.
40987         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
40988         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
40989         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
40990         * elf/dl-sym.c (do_sym): Likewise.
40991         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
40992         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
40993         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
40994         * elf/dl-writev.h (_dl_writev): Likewise.
40995         * elf/ldconfig.c (search_dir): Likewise.
40996         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
40997         (dl_main): Likewise.
40998         * elf/setup-vdso.h (setup_vdso): Likewise.
40999         * grp/compat-initgroups.c (compat_call): Likewise.
41000         * grp/fgetgrent.c (fgetgrent): Likewise.
41001         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
41002         * grp/putgrent.c (putgrent): Likewise.
41003         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
41004         Likewise.
41005         * hurd/hurdinit.c: Likewise.
41006         * iconvdata/8bit-gap.c (struct): Likewise.
41007         * iconvdata/ansi_x3.110.c : Likewise.
41008         * iconvdata/big5.c : Likewise.
41009         * iconvdata/big5hkscs.c : Likewise.
41010         * iconvdata/cp1255.c: Likewise.
41011         * iconvdata/cp1258.c : Likewise.
41012         * iconvdata/cp932.c : Likewise.
41013         * iconvdata/euc-cn.c: Likewise.
41014         * iconvdata/euc-jisx0213.c : Likewise.
41015         * iconvdata/euc-jp.c: Likewise.
41016         * iconvdata/euc-jp-ms.c : Likewise.
41017         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
41018         * iconvdata/gb18030.c : Likewise.
41019         * iconvdata/gbbig5.c (const): Likewise.
41020         * iconvdata/gbgbk.c: Likewise.
41021         * iconvdata/gbk.c : Likewise.
41022         * iconvdata/ibm1364.c : Likewise.
41023         * iconvdata/ibm930.c : Likewise.
41024         * iconvdata/ibm932.c: Likewise.
41025         * iconvdata/ibm933.c : Likewise.
41026         * iconvdata/ibm935.c : Likewise.
41027         * iconvdata/ibm937.c : Likewise.
41028         * iconvdata/ibm939.c : Likewise.
41029         * iconvdata/ibm943.c: Likewise.
41030         * iconvdata/iso_11548-1.c: Likewise.
41031         * iconvdata/iso-2022-cn.c : Likewise.
41032         * iconvdata/iso-2022-cn-ext.c : Likewise.
41033         * iconvdata/iso-2022-jp-3.c: Likewise.
41034         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
41035         * iconvdata/iso-2022-kr.c : Likewise.
41036         * iconvdata/iso646.c (gconv_end): Likewise.
41037         * iconvdata/iso_6937-2.c : Likewise.
41038         * iconvdata/iso_6937.c : Likewise.
41039         * iconvdata/iso8859-1.c: Likewise.
41040         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
41041         * iconvdata/shift_jisx0213.c : Likewise.
41042         * iconvdata/sjis.c : Likewise.
41043         * iconvdata/t.61.c : Likewise.
41044         * iconvdata/tcvn5712-1.c : Likewise.
41045         * iconvdata/tscii.c: Likewise.
41046         * iconvdata/uhc.c : Likewise.
41047         * iconvdata/unicode.c (gconv_end): Likewise.
41048         * iconvdata/utf-16.c (gconv_end): Likewise.
41049         * iconvdata/utf-32.c (gconv_end): Likewise.
41050         * iconvdata/utf-7.c (base64): Likewise.
41051         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
41052         * iconv/gconv_close.c (__gconv_close): Likewise.
41053         * iconv/gconv_open.c (__gconv_open): Likewise.
41054         * iconv/gconv_simple.c (internal_ucs4_loop_single)
41055         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
41056         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
41057         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
41058         (ucs4le_internal_loop_single): Likewise.
41059         * iconv/iconv.c (iconv): Likewise.
41060         * iconv/iconv_close.c: Likewise.
41061         * iconv/loop.c (SINGLE): Likewise.
41062         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
41063         * include/atomic.h: Likewise.
41064         * inet/inet6_option.c (option_alloc): Likewise.
41065         * intl/bindtextdom.c (set_binding_values): Likewise.
41066         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
41067         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
41068         * intl/localealias.c (read_alias_file): Likewise.
41069         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
41070         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
41071         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
41072         * libio/fmemopen.c (fmemopen): Likewise.
41073         * libio/iofgets.c (_IO_fgets): Likewise.
41074         * libio/iofgets_u.c (fgets_unlocked): Likewise.
41075         * libio/iofgetws.c (fgetws): Likewise.
41076         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
41077         * libio/iogetdelim.c (_IO_getdelim): Likewise.
41078         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
41079         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
41080         * locale/findlocale.c (_nl_find_locale): Likewise.
41081         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
41082         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
41083         Likewise.
41084         * locale/setlocale.c (setlocale): Likewise.
41085         * login/programs/pt_chown.c (main): Likewise.
41086         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
41087         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
41088         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
41089         (mmap, mmap64, mremap, munmap): Likewise.
41090         * math/e_exp2l.c: Likewise.
41091         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
41092         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
41093         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
41094         * math/s_catan.c (__catan): Likewise.
41095         * math/s_catanf.c (__catanf): Likewise.
41096         * math/s_catanh.c (__catanh): Likewise.
41097         * math/s_catanhf.c (__catanhf): Likewise.
41098         * math/s_catanhl.c (__catanhl): Likewise.
41099         * math/s_catanl.c (__catanl): Likewise.
41100         * math/s_ccosh.c (__ccosh): Likewise.
41101         * math/s_ccoshf.c (__ccoshf): Likewise.
41102         * math/s_ccoshl.c (__ccoshl): Likewise.
41103         * math/s_cexp.c (__cexp): Likewise.
41104         * math/s_cexpf.c (__cexpf): Likewise.
41105         * math/s_cexpl.c (__cexpl): Likewise.
41106         * math/s_clog10.c (__clog10): Likewise.
41107         * math/s_clog10f.c (__clog10f): Likewise.
41108         * math/s_clog10l.c (__clog10l): Likewise.
41109         * math/s_clog.c (__clog): Likewise.
41110         * math/s_clogf.c (__clogf): Likewise.
41111         * math/s_clogl.c (__clogl): Likewise.
41112         * math/s_csin.c (__csin): Likewise.
41113         * math/s_csinf.c (__csinf): Likewise.
41114         * math/s_csinh.c (__csinh): Likewise.
41115         * math/s_csinhf.c (__csinhf): Likewise.
41116         * math/s_csinhl.c (__csinhl): Likewise.
41117         * math/s_csinl.c (__csinl): Likewise.
41118         * math/s_csqrt.c (__csqrt): Likewise.
41119         * math/s_csqrtf.c (__csqrtf): Likewise.
41120         * math/s_csqrtl.c (__csqrtl): Likewise.
41121         * math/s_ctan.c (__ctan): Likewise.
41122         * math/s_ctanf.c (__ctanf): Likewise.
41123         * math/s_ctanh.c (__ctanh): Likewise.
41124         * math/s_ctanhf.c (__ctanhf): Likewise.
41125         * math/s_ctanhl.c (__ctanhl): Likewise.
41126         * math/s_ctanl.c (__ctanl): Likewise.
41127         * math/w_pow.c: Likewise.
41128         * math/w_powf.c: Likewise.
41129         * math/w_powl.c: Likewise.
41130         * math/w_scalb.c (sysv_scalb): Likewise.
41131         * math/w_scalbf.c (sysv_scalbf): Likewise.
41132         * math/w_scalbl.c (sysv_scalbl): Likewise.
41133         * misc/error.c (error_tail): Likewise.
41134         * misc/pselect.c (__pselect): Likewise.
41135         * nis/nis_callback.c (__nis_create_callback): Likewise.
41136         * nis/nis_call.c (__nisfind_server): Likewise.
41137         * nis/nis_creategroup.c (nis_creategroup): Likewise.
41138         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
41139         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
41140         * nis/nis_getservlist.c (nis_getservlist): Likewise.
41141         * nis/nis_lookup.c (nis_lookup): Likewise.
41142         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
41143         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
41144         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
41145         * nis/nis_xdr.c (xdr_endpoint): Likewise.
41146         * nis/nss_compat/compat-grp.c (getgrent_next_file)
41147         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
41148         * nis/nss_compat/compat-initgroups.c (add_group)
41149         (internal_getgrent_r): Likewise.
41150         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
41151         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
41152         * nis/nss_compat/compat-spwd.c (getspent_next_file)
41153         (internal_getspnam_r): Likewise.
41154         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
41155         (_nss_nis_getaliasbyname_r): Likewise.
41156         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
41157         (_nss_nis_getntohost_r): Likewise.
41158         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
41159         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
41160         (_nss_nis_getgrgid_r): Likewise.
41161         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
41162         (internal_nis_gethostent_r, internal_gethostbyname2_r)
41163         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
41164         (_nss_nis_gethostbyname4_r): Likewise.
41165         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
41166         (initgroups_netid): Likewise.
41167         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
41168         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
41169         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
41170         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
41171         (_nss_nis_getprotobynumber_r): Likewise.
41172         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
41173         (_nss_nis_getsecretkey): Likewise.
41174         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
41175         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
41176         (_nss_nis_getpwuid_r): Likewise.
41177         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
41178         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
41179         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
41180         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
41181         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
41182         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
41183         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
41184         Likewise.
41185         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
41186         (_nss_nisplus_getntohost_r): Likewise.
41187         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
41188         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
41189         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
41190         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
41191         Likewise.
41192         * nis/nss_nisplus/nisplus-initgroups.c
41193         (_nss_nisplus_initgroups_dyn): Likewise.
41194         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
41195         (_nss_nisplus_getnetbyaddr_r): Likewise.
41196         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
41197         (_nss_nisplus_getprotobynumber_r): Likewise.
41198         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
41199         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
41200         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
41201         Likewise.
41202         * nis/nss_nisplus/nisplus-service.c
41203         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
41204         (_nss_nisplus_getservbyport_r): Likewise.
41205         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
41206         (_nss_nisplus_getspnam_r): Likewise.
41207         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
41208         Likewise.
41209         * nscd/aicache.c (addhstaiX): Likewise.
41210         * nscd/cache.c (cache_search, prune_cache): Likewise.
41211         * nscd/connections.c (register_traced_file, send_ro_fd)
41212         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
41213         (main_loop_epoll): Likewise.
41214         * nscd/grpcache.c (addgrbyX): Likewise.
41215         * nscd/hstcache.c (addhstbyX): Likewise.
41216         * nscd/initgrcache.c (addinitgroupsX): Likewise.
41217         * nscd/mem.c (gc, mempool_alloc): Likewise.
41218         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
41219         (addinnetgrX): Likewise.
41220         * nscd/nscd-client.h (__nscd_acquire_maplock)
41221         (__nscd_drop_map_ref): Likewise.
41222         * nscd/nscd_getai.c (__nscd_getai): Likewise.
41223         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
41224         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
41225         Likewise.
41226         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
41227         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
41228         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
41229         (__nscd_get_map_ref): Likewise.
41230         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
41231         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
41232         Likewise.
41233         * nscd/pwdcache.c (addpwbyX): Likewise.
41234         * nscd/selinux.c (preserve_capabilities): Likewise.
41235         * nscd/servicescache.c (addservbyX): Likewise.
41236         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
41237         * posix/fnmatch.c (fnmatch): Likewise.
41238         * posix/getopt.c (_getopt_internal_r): Likewise.
41239         * posix/glob.c (glob, glob_in_dir): Likewise.
41240         * posix/wordexp.c (exec_comm_child): Likewise.
41241         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
41242         (getanswer_r, gaih_getanswer_slice): Likewise.
41243         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
41244         * resolv/res_init.c: Likewise.
41245         * resolv/res_mkquery.c (res_nmkquery): Likewise.
41246         * resolv/res_query.c (__libc_res_nquery): Likewise.
41247         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
41248         Likewise.
41249         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
41250         * stdio-common/perror.c (perror): Likewise.
41251         * stdio-common/printf_fp.c (___printf_fp): Likewise.
41252         * stdio-common/tmpnam.c (tmpnam): Likewise.
41253         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
41254         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
41255         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
41256         Likewise.
41257         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
41258         * stdlib/putenv.c (putenv): Likewise.
41259         * stdlib/setenv.c (__add_to_environ): Likewise.
41260         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
41261         * stdlib/strtol_l.c (INTERNAL): Likewise.
41262         * string/memmem.c (memmem): Likewise.
41263         * string/strerror.c (strerror): Likewise.
41264         * string/strnlen.c (__strnlen): Likewise.
41265         * string/test-memmem.c (simple_memmem): Likewise.
41266         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
41267         * sunrpc/pm_getport.c (__get_socket): Likewise.
41268         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
41269         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
41270         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
41271         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
41272         Likewise.
41273         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
41274         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
41275         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
41276         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
41277         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
41278         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
41279         Likewise.
41280         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
41281         Likewise.
41282         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
41283         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
41284         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
41285         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
41286         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
41287         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
41288         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
41289         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
41290         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
41291         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
41292         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
41293         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
41294         Likewise.
41295         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
41296         Likewise.
41297         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
41298         Likewise.
41299         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
41300         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
41301         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
41302         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
41303         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
41304         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
41305         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
41306         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
41307         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
41308         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
41309         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
41310         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
41311         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
41312         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
41313         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41314         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
41315         Likewise.
41316         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
41317         Likewise.
41318         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
41319         Likewise.
41320         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
41321         Likewise.
41322         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
41323         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41324         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
41325         Likewise.
41326         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
41327         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
41328         * sysdeps/posix/opendir.c (__opendirat): Likewise.
41329         * sysdeps/posix/sleep.c: Likewise.
41330         * sysdeps/posix/tempname.c: Likewise.
41331         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
41332         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
41333         Likewise.
41334         * sysdeps/powerpc/powerpc32/dl-machine.h
41335         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
41336         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
41337         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
41338         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
41339         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
41340         Likewise.
41341         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
41342         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
41343         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
41344         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
41345         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
41346         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
41347         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
41348         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
41349         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
41350         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
41351         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
41352         (elf_machine_lazy_rel): Likewise.
41353         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
41354         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
41355         (elf_machine_lazy_rel): Likewise.
41356         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
41357         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
41358         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
41359         * sysdeps/unix/grantpt.c (grantpt): Likewise.
41360         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
41361         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
41362         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
41363         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
41364         Likewise.
41365         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
41366         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
41367         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
41368         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
41369         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
41370         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
41371         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
41372         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
41373         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
41374         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
41375         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
41376         Likewise.
41377         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
41378         (__posix_fallocate64_l64): Likewise.
41379         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
41380         (posix_fallocate): Likewise.
41381         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
41382         Likewise.
41383         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
41384         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
41385         (getifaddrs_internal): Likewise.
41386         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
41387         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
41388         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
41389         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
41390         * sysdeps/unix/sysv/linux/posix_fallocate64.c
41391         (__posix_fallocate64_l64): Likewise.
41392         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
41393         Likewise.
41394         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
41395         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
41396         (__get_clockfreq): Likewise.
41397         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
41398         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
41399         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
41400         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
41401         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
41402         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
41403         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
41404         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
41405         Likewise.
41406         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
41407         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
41408         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
41409         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
41410         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
41411         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
41412         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
41413         Likewise.
41414         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
41415         (posix_fallocate): Likewise.
41416         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
41417         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
41418         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
41419         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
41420         (elf_machine_rela, elf_machine_rela_relative)
41421         (elf_machine_lazy_rel): Likewise.
41422         * time/asctime.c (asctime_internal): Likewise.
41423         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
41424         * time/tzset.c (__tzset_parse_tz): Likewise.
41425         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
41426         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
41427         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
41428         * wcsmbs/wcsmbsload.h: Likewise.
41430         [BZ #15894]
41431         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
41433         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
41434         (arena_get2): Remove THREAD_STATS conditionals.
41435         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
41436         (__malloc_stats, int): Likewise.
41438 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
41440         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
41441         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
41443         * manual/setjmp.texi: Fix typos/grammar errors.
41445         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
41446         Only return early when n is <= 0.  Delete unused return statement.
41448         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
41449         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
41450         * debug/tst-longjmp_chk3.c: New file.
41452         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
41453         (test_main): Replace code with set_fortify_handler call.
41454         * debug/test-strcpy_chk.c: Likewise.
41455         * debug/tst-chk1.c: Likewise.
41456         * debug/tst-longjmp_chk.c: Likewise.
41457         * test-skeleton.c: Include fcntl.h & paths.h
41458         (set_fortify_handler): Define.
41460         * debug/tst-longjmp_chk.c: Add header comment and include
41461         ../test-skeleton.c.
41462         (do_test): Mark static.
41463         (TEST_FUNCTION): Define.
41465         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
41466         (IP_PMTUDISC_INTERFACE): Likewise.
41467         (IP_MULTICAST_IF): Likewise.
41468         (IP_MULTICAST_TTL): Likewise.
41469         (IP_MULTICAST_LOOP): Likewise.
41470         (IP_ADD_MEMBERSHIP): Likewise.
41471         (IP_DROP_MEMBERSHIP): Likewise.
41472         (IP_UNBLOCK_SOURCE): Likewise.
41473         (IP_BLOCK_SOURCE): Likewise.
41474         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
41475         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
41476         (IP_MSFILTER): Likewise.
41477         (MCAST_JOIN_GROUP): Likewise.
41478         (MCAST_BLOCK_SOURCE): Likewise.
41479         (MCAST_UNBLOCK_SOURCE): Likewise.
41480         (MCAST_LEAVE_GROUP): Likewise.
41481         (MCAST_JOIN_SOURCE_GROUP): Likewise.
41482         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
41483         (MCAST_MSFILTER): Likewise.
41484         (IP_MULTICAST_ALL): Likewise.
41485         (IP_UNICAST_IF): Likewise.
41487         * timezone/Makefile: Delete $(have-ksh) check.
41488         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
41489         * timezone/tzselect.ksh: Add +x mode bits.
41491         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
41492         (ANON_INODE_FS_MAGIC): Likewise.
41493         (BDEVFS_MAGIC): Likewise.
41494         (BINFMTFS_MAGIC): Likewise.
41495         (BTRFS_TEST_MAGIC): Likewise.
41496         (CRAMFS_MAGIC_WEND): Likewise.
41497         (DEBUGFS_MAGIC): Likewise.
41498         (ECRYPTFS_SUPER_MAGIC): Likewise.
41499         (EXT3_SUPER_MAGIC): Likewise.
41500         (EXT4_SUPER_MAGIC): Likewise.
41501         (FUTEXFS_SUPER_MAGIC): Likewise.
41502         (HOSTFS_SUPER_MAGIC): Likewise.
41503         (HUGETLBFS_MAGIC): Likewise.
41504         (MINIX3_SUPER_MAGIC): Likewise.
41505         (MTD_INODE_FS_MAGIC): Likewise.
41506         (NILFS_SUPER_MAGIC): Likewise.
41507         (OPENPROM_SUPER_MAGIC): Likewise.
41508         (PIPEFS_MAGIC): Likewise.
41509         (PSTOREFS_MAGIC): Likewise.
41510         (QNX6_SUPER_MAGIC): Likewise.
41511         (RAMFS_MAGIC): Likewise.
41512         (REISERFS_SUPER_MAGIC_STRING): Likewise.
41513         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
41514         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
41515         (SECURITYFS_MAGIC): Likewise.
41516         (SELINUX_MAGIC): Likewise.
41517         (SMACK_MAGIC): Likewise.
41518         (SOCKFS_MAGIC): Likewise.
41519         (SQUASHFS_MAGIC): Likewise.
41520         (STACK_END_MAGIC): Likewise.
41521         (TMPFS_MAGIC): Likewise.
41522         (USBDEVICE_SUPER_MAGIC): Likewise.
41523         (V9FS_MAGIC): Likewise.
41524         (XENFS_SUPER_MAGIC): Likewise.
41525         (CRAMFS_MAGIC): Fix typo in comment.
41526         (EXT2_SUPER_MAGIC): Update comment.
41527         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
41529 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
41531         * sysdeps/arm: Move directory from ports/sysdeps/arm.
41532         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
41533         * sysdeps/unix/sysv/linux/arm: Move directory from
41534         ports/sysdeps/unix/sysv/linux/arm.
41535         * README: Update listing for arm-*-linux-gnueabi.
41537         * README: Remove mention of am33.
41539 2014-02-07  Roland McGrath  <roland@hack.frob.com>
41541         * bits/sigset.h (__sigemptyset): Use a statement expression rather
41542         than the comma operator, to avoid "rhs of comma has no effect"
41543         compiler warnings.
41544         (__sigfillset, __sigandset, __sigorset): Likewise.
41545         * include/signal.h (__sigemptyset): Likewise.
41546         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
41548 2014-02-07  Allan McRae  <allan@archlinux.org>
41550         * version.h (RELEASE): Set to "development".
41551         (VERSION): Set to "2.19.90"
41552         * NEWS: Add 2.20 section.
41554 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
41556         [BZ #16529]
41557         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
41559 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
41561         * manual/contrib.texi: Update entry for Carlos O'Donell,
41562         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
41564 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
41566         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
41568         * sysdeps/unix/sysv/linux/kernel-features.h
41569         [__LINUX_KERNEL_VERSION >= 0x020621]
41570         (__ASSUME_PROC_PID_TASK_COMM): Define.
41572 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
41574         [BZ #16398]
41575         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
41576         conversion when destination buffer does not have enough space.
41577         * libio/tst-ftell-partial-wide.c: New test case.
41578         * libio/Makefile (tests): Add tst-ftell-partial-wide.
41580         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
41581         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
41582         Leonard and Allan McRae.
41584 2014-02-04  David S. Miller  <davem@davemloft.net>
41586         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
41587         32-bit.
41589 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
41592         New file
41593         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
41594         New file
41595         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
41596         New file.
41597         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
41598         New file.
41599         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
41600         New file.
41601         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
41602         New file.
41603         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
41604         New file.
41605         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
41606         New file.
41607         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
41608         New file.
41609         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
41610         New file.
41611         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
41612         New file.
41613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
41614         New file.
41615         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
41616         New file.
41618 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41620         * nptl/shlib-versions: Change powerpc*le start to 2.17.
41621         * shlib-versions: Likewise.
41623 2014-02-04  Roland McGrath  <roland@hack.frob.com>
41624             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41626         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
41627         (abilist-pattern): New variable, set to %-le.abilist.
41629         * Makerules (abilist-pattern): New variable.
41630         (vpath): Use $(abilist-pattern) in place of %.abilist.
41631         (check-abi-% pattern rule): Likewise.
41632         (check-abi, update-abi): Likewise.
41634 2014-02-04  Eric Wong  <normalperson@yhbt.net>
41636         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41638 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
41640         * manual/startup.texi: Add next, previous, and top entries for
41641         the `Program Arguments' and `Environment Variables' nodes.
41643 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
41645         * manual/macros.texi: Add comments before MTASC-safety macros.
41647         * manual/users.texi: Document MTASC-safety properties.
41649         * manual/threads.texi (pthread_key_create, pthread_key_delete)
41650         (pthread_getspecific, pthread_setspecific): Format with
41651         @deftypefun, and add @safety note.
41652         * manual/signal.texi: Move comments that analyze the above
41653         functions to their home place.
41655 2014-02-03  Allan McRae  <allan@archlinux.org>
41657         * po/sl.po: Update Slovenian translation from translation project.
41659 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
41661         * manual/time.texi (timegm): Add missing blank after @c.
41662         Reported by Joseph Myers <joseph@codesourcery.com>.
41664 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
41666         * manual/check-safety.sh: New.
41667         * manual/Makefile ($(objpfx)stamp-summary): Run it.
41669         * manual/terminal.texi: Document MTASC-safety properties.
41671         * manual/filesys.texi: Document MTASC-safety properties.
41673         * manual/errno.texi: Document MTASC-safety properties.
41675         * manual/intro.texi: Document safety identifiers and
41676         conditionals.
41678         * manual/string.texi (wcstok): Fix prototype.
41679         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
41681         * manual/time.texi: Document MTASC-safety properties.
41683         * manual/string.texi: Document MTASC-safety properties.
41685         * manual/threads.texi: Document MTASC-safety properties.
41687         * manual/stdio.texi: Document MTASC-safety properties.
41689         * manual/syslog.texi: Document MTASC-safety properties.
41691         * manual/sysinfo.texi: Document MTASC-safety properties.
41693         * manual/startup.texi: Document MTASC-safety properties.
41695         * manual/socket.texi: Document MTASC-safety properties.
41697         * manual/signal.texi: Document MTASC-safety properties.
41699 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
41701         * manual/setjmp.texi: Document MTASC-safety properties.
41703         * manual/search.texi: Document MTASC-safety properties.
41705         * manual/resource.texi: Document MTASC-safety properties.
41707         * manual/process.texi: Document MTASC-safety properties.
41709         * manual/platform.texi: Document MTASC-safety properties.
41711         * manual/pipe.texi: Document MTASC-safety properties.
41713         * manual/pattern.texi: Document MTASC-safety properties.
41715         * manual/message.texi: Document MTASC-safety properties.
41717         [BZ #12751]
41718         * manual/memory.texi: Document MTASC-safety properties.
41720         * manual/math.texi: Document MTASC-safety properties.
41722         * manual/locale.texi: Document MTASC-safety properties.
41724         * manual/llio.texi: Document MTASC-safety properties.
41726         * manual/libdl.texi: New.
41728         * manual/lang.texi: Document MTASC-safety properties.
41730         * manual/job.texi: Document MTASC-safety properties.
41732         * manual/getopt.texi: Document MTASC-safety properties.
41734         * manual/ctype.texi: Document MTASC-safety properties.
41736 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
41738         [BZ #16046]
41739         * csu/libc-tls.c (static_map): Remove variable.
41740         (__libc_setup_tls): Use main executable's link map for TLS data.
41741         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
41742         casing for LM_ID_BASE and GL(dl_nns).
41743         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
41744         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
41745         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
41746         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
41747         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
41748         member.
41749         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
41750         l_phnum members.
41752 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
41754         * manual/debug.texi: Document MTASC-safety properties.
41756 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
41758         [BZ #16510]
41759         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
41760         of __x86_64__ when disabling x87 inline functions.
41762 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
41764         * manual/charset.texi: Document MTASC-safety properties.
41766         * manual/crypt.texi: Document MTASC-safety properties.
41768         * manual/conf.texi: Document MTASC-safety properties.
41770         * manual/arith.texi: Document MTASC-safety properties.
41772         * manual/argp.texi: Document MTASC-safety properties.
41774         * manual/macros.texi: Introduce macros to document multi
41775         thread, asynchronous signal and asynchronous cancellation
41776         safety properties.
41777         * manual/intro.texi: Introduce the properties themselves.
41779 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41781         * sysdeps/sh/sh4/Makefile: New file.
41783 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
41785         * math/gen-libm-test.pl ($srcdir): New variable.
41786         ($auto_input): Use it.
41788 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
41790         [BZ #16506]
41791         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
41792         access beyond array bounds when parsing netgroups file.
41794         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
41795         the old buffer before realloc.
41797 2014-01-27  Allan McRae  <allan@archlinux.org>
41799         * po/fr.po: Update French translation from translation project.
41801 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41803         * sysdeps/sh/libm-test-ulps: Regenerate.
41805 2014-01-24  David S. Miller  <davem@davemloft.net>
41807         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
41809 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41811         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
41812         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
41814 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
41816         [BZ #16474]
41817         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
41818         string pointers after reallocation.
41820 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41822         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
41823         __SH4A__ instead of __SH_FPU_ANY__.
41825 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41827         * sysdeps/sh/fpu_control.h: New file.
41828         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
41829         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
41830         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
41831         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
41832         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
41833         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
41834         * sysdeps/sh/sys/ucontext.h: Remove.
41835         * sysdeps/sh/sys: Remove directory.
41837 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41839         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
41840         s390/sys/ucontext.h.
41841         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
41842         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
41844 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
41846         [BZ #15605]
41847         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
41849 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41851         [BZ#16431]
41852         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
41853         Adjust the vDSO correctly for internal calls.
41854         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
41856 2014-01-20  Allan McRae  <allan@archlinux.org>
41858         * po/ca.po: Update Catalan translation from translation project.
41860 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
41862         * sysdeps/s390/sotruss-lib.c: New file.
41864 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41866         [BZ#16430]
41867         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
41868         (__GI___gettimeofday): Alias for a different internal symbol to avoid
41869         local calls issues by not having a PLT stub required for IFUNC calls.
41870         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
41872 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
41874         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
41875         * math/test-fpucw-static.c: Likewise.
41877 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
41879         [BZ #16453]
41880         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
41882 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41884         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
41885         implementation for powerpc.
41887 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
41889         [BZ #14782]
41890         * sysdeps/posix/system.c (__libc_system): Do not enable
41891         asynchronous cancellation.
41893 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41895         [BZ #16427]
41896         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
41897         handling only for numbers special also in the IEEE case.
41899 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41901         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
41903 2014-01-11  Allan McRae  <allan@archlinux.org>
41905         * po/bg.po: Update Bulgarian translation from translation project.
41907         * po/de.po: Update German translation from translation project.
41909 2014-01-10  Roland McGrath  <roland@hack.frob.com>
41911         * sysdeps/generic/gcc-compat.h: New file.
41913 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
41915         * benchtests/asin-inputs: Correct slow inputs.
41916         * benchtests/acos-inputs: Likewise.
41918 2014-01-10  Allan McRae  <allan@archlinux.org>
41920         * po:sv.po: Update Swedish translation from translation project.
41922         * po/vi.po: Update Vietnamese translation from translation project.
41924         * po/eo.po: Update Esperanto translation from translation project.
41926         * po/cs.po: Update Czech translation from translation project.
41928         * po/nl.po: Update Dutch translation from translation project.
41930         * po/pl.po: Update Polish translation from translation project.
41932         * po/ru.po: Update Russian translation from translation project.
41934         * po/uk.po: Update Ukrainian translation from translation project.
41936 2014-01-08  Brooks Moses  <bmoses@google.com>
41938         * elf/dl-load.c: Fix comment typo.
41940 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
41942         * po/header.pot: Rename to...
41943         * po/pot.header: ... this.
41944         * po/Makefile: Use pot.header.
41946 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
41947             Maxim Kuvyrkov  <maxim@kugelworks.com>
41949         [BZ #16394]
41950         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
41951         SRC and DEST against LEN.
41953 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41955         [BZ #16414]
41956         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
41957         implementation.
41958         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
41960 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41962         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41964 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
41966         [BZ #16408]
41967         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
41968         for large positive arguments.
41970 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
41972         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
41974         * math/auto-libm-test-in: Mark various tests with
41975         xfail-rounding:ldbl-128ibm.
41976         * math/auto-libm-test-out: Regenerated.
41978         [BZ #16407]
41979         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
41980         Increase overflow threshold.
41982 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
41984         [BZ #14286]
41985         * stdio-common/vfprintf.c: Check for integer overflow.
41987 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41989         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
41990         the first argument and return value of __tls_get_addr_internal.
41992 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41994         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
41995         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
41997 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41999         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
42000         * sysdeps/s390/rtld-global-offsets.sym: New file.
42001         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
42002         GLIBC_2.19 symbol.
42003         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
42004         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
42005         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
42006         ... this.
42007         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
42008         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
42009         ... this.
42010         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
42011         Regenerate.
42012         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
42013         Regenerate.
42014         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
42015         halfs of GPRs for high_gprs contexts.
42016         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
42017         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
42018         field.
42019         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
42020         uc_flags field.
42021         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
42022         64 bit versions:
42023         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
42024         for high GPRs (uc_high_gprs) and for future extensions
42025         (__reserved).
42026         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
42027         for future extensions (__reserved).
42028         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
42029         64 bit versions:
42030         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
42031         SC_HIGHGPRS offset definition.
42032         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
42033         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
42035         * Versions.def: Add GLIBC_2.19 for libpthread.
42036         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
42037         siglongjmp for libpthread with GLIBC_2.19 symver.
42038         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
42039         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
42040         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
42041         * sysdeps/s390/__longjmp.c: New file.
42042         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
42043         * sysdeps/s390/longjmp.c: New file.
42044         * sysdeps/s390/setjmp.S: New file.
42045         * sysdeps/s390/sigjmp.S: New file.
42046         * sysdeps/s390/v1-longjmp.c: New file.
42047         * sysdeps/s390/v1-setjmp.h: New file.
42048         * sysdeps/s390/v1-sigjmp.c: New file.
42049         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
42050         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
42051         GLIBC_2.19 version.
42052         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
42053         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
42054         versioned symbols for ____longjmp_chk.
42055         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
42056         Likewise.
42057         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
42058         Regenerate.
42059         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
42060         Regenerate.
42061         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
42062         Regenerate.
42063         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
42064         Regenerate.
42065         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
42066         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
42067         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
42068         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
42069         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
42070         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
42071         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
42072         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
42073         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
42074         * sysdeps/s390/rtld-__longjmp.c: New file.
42075         * sysdeps/s390/rtld-setjmp.S: New file.
42077 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
42079         [BZ #16400]
42080         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
42081         Return -__logl (x) for small positive arguments without evaluating
42082         a polynomial.
42084 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
42086         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
42087         Rename to ...
42088         (__ptrace_peeksiginfo_args): ... this.
42089         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
42090         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
42091         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
42093 2014-01-06  Allan McRae  <allan@archlinux.org>
42095         * inet/netinet/in.h: Fix typo in comment.
42097 2014-01-05  Andreas Jaeger  <aj@suse.de>
42099         * sysdeps/i386/fpu/libm-test-ulps: Update.
42101 2014-01-05  Allan McRae  <allan@archlinux.org>
42103         * po/libc.pot: Regenerated.
42105         * malloc/memusagestat.c: Fix gettext call formatting.
42107 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
42109         * nscd/nscd.c: Improve usage() output.
42111 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
42113         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
42114         * sysdeps/unix/sysv/linux/configure: Regenerated.
42115         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
42116         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
42118 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
42120         [BZ #16390]
42121         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
42122         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
42124 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42126         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
42127         extra tokens at end of #undef directive.
42128         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
42129         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
42130         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
42132 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
42134         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
42136         * math/auto-libm-test-in: Mark various tests with
42137         xfail-rounding:ldbl-128ibm.
42138         * math/auto-libm-test-out: Regenerated.
42140 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
42142         [BZ #16386]
42143         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
42144         numbers with subnormal high part when calculating exponent.
42146         [BZ #16385]
42147         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
42148         fabs.
42150         [BZ #16384]
42151         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
42152         M_LN2l.
42153         (__ieee754_acoshl): Use __log1pl not __log1p.
42155 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
42157         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
42158         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
42159         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
42160         (grow_heap, heap_trim, _int_new_arena, get_free_list)
42161         (reused_arena, arena_get2): Convert to GNU style.
42162         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
42163         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
42164         (memalign_check, __malloc_set_state): Likewise.
42165         * malloc/mallocbug.c (main): Likewise.
42166         * malloc/malloc.c (__malloc_assert, malloc_init_state)
42167         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
42168         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
42169         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
42170         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
42171         (__posix_memalign, malloc_info): Likewise.
42172         * malloc/malloc.h: Likewise.
42173         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
42174         (mallochook, memalignhook, reallochook, mabort): Likewise.
42175         * malloc/mcheck.h: Likewise.
42176         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
42177         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
42178         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
42179         * malloc/morecore.c (__default_morecore): Likewise.
42180         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
42181         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
42182         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
42183         (print_and_abort): Likewise.
42184         * malloc/obstack.h: Likewise.
42185         * malloc/set-freeres.c (__libc_freeres): Likewise.
42186         * malloc/tst-mallocstate.c (main): Likewise.
42187         * malloc/tst-mtrace.c (main): Likewise.
42188         * malloc/tst-realloc.c (do_test): Likewise.
42190 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
42192         [BZ #16366]
42193         * nscd/netgroupcache.c (do_notfound): New function.
42194         (addgetnetgrentX): Use it.
42196         [BZ # 16365]
42197         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
42198         NSS_STATUS_NOTFOUND.
42200 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
42202         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
42203         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42205 2014-01-01  Allan McRae  <allan@archlinux.org>
42207         * scripts/update-copyrights: Update configure input file suffix.
42209         * NEWS: Update copyright year.
42210         * catgets/gencat.c: Likewise.
42211         * csu/version.c: Likewise.
42212         * debug/catchsegv.sh: Likewise.
42213         * debug/pcprofiledump.c: Likewise.
42214         * debug/xtrace.sh: Likewise.
42215         * elf/ldconfig.c: Likewise.
42216         * elf/ldd.bash.in: Likewise.
42217         * elf/pldd.c: Likewise.
42218         * elf/sotruss.ksh: Likewise.
42219         * elf/sprof.c: Likewise.
42220         * iconv/iconv_prog.c: Likewise.
42221         * iconv/iconvconfig.c: Likewise.
42222         * locale/programs/locale.c: Likewise.
42223         * locale/programs/localedef.c: Likewise.
42224         * login/programs/pt_chown.c: Likewise.
42225         * malloc/memusage.sh: Likewise.
42226         * malloc/memusagestat.c: Likewise.
42227         * malloc/mtrace.pl: Likewise.
42228         * manual/libc.texinfo: Likewise.
42229         * nscd/nscd.c: Likewise.
42230         * nss/getent.c: Likewise.
42231         * nss/makedb.c: Likewise.
42232         * posix/getconf.c: Likewise.
42233         * scripts/test-installation.pl: Likewise.
42235         * All files with FSF copyright notices: Update copyright dates
42236         using scripts/update-copyrights.
42237         * intl/plural.c: Regenerated.
42238         * locale/programs/charmap-kw.h: Likewise.
42239         * locale/programs/locfile-kw.h: Likewise.
42241 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
42243         * sysdeps/unix/sysv/linux/configure: Regenerated.
42244         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
42245         the linux/fanotify.h header.
42246         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
42247         HAVE_LINUX_FANOTIFY_H is defined.
42249 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
42251         * benchtests/cos-inputs: New inputs.
42252         * benchtests/sin-inputs: Likewise.
42254         * benchtests/atan-inputs: New inputs. Fix name of multiple
42255         precision fallback inputs.
42257         * benchtests/atanh-inputs: New inputs.
42258         * benchtests/tanh-inputs: Likewise.
42260         * benchtests/acosh-inputs: New inputs.
42261         * benchtests/asinh-inputs: Likewise.
42263         * benchtests/cosh-inputs: New inputs.
42264         * benchtests/sinh-inputs: Likewise.
42266         * benchtests/acos-inputs: Add more inputs.
42267         * benchtests/asin-inputs: Likewise.
42269 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
42271         [BZ #16375]
42272         * manual/arith.texi: Fix spelling.
42273         * manual/charset.texi: Likewise.
42274         * manual/errno.texi: Likewise.
42275         * manual/filesys.texi: Likewise.
42276         * manual/lang.texi: Likewise.
42277         * manual/llio.texi: Likewise.
42278         * manual/locale.texi: Likewise.
42279         * manual/message.texi: Likewise.
42280         * manual/resource.texi: Likewise.
42281         * manual/search.texi: Likewise.
42282         * manual/setjmp.texi: Likewise.
42283         * manual/stdio.texi: Likewise.
42284         * manual/string.texi: Likewise.
42285         * manual/sysinfo.texi: Likewise.
42286         * manual/time.texi: Likewise.
42288 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
42290         * po/sl.po: New file.
42292 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
42294         * .gitignore: Add core/.gdbinit/.gdb_history.
42296 2013-12-27  Allan McRae  <allan@archlinux.org>
42298         [BZ #16369]
42299         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
42300         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
42302 2013-12-24  Brooks Moses  <bmoses@google.com>
42304         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
42305         all compilers that claim C++98 compliance, not just GCC.
42306         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
42307         Likewise.
42309 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
42311         * NEWS: Restore accidentally deleted bug-fix entries.
42313 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
42314             Ondřej Bílka  <neleai@seznam.cz>
42316         [BZ #15073]
42317         * malloc/malloc.c (_int_free): Perform sanity check only if we
42318         have_lock.
42320 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
42322         [BZ #12986]
42323         * manual/stdio.texi (String Input Conversions): Clarify that character
42324         classes are not supported.
42326 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42328         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42330 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
42332         [BZ #16337]
42333         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
42334         Calculate results for small negative arguments directly rather
42335         than using reflection formula with special underflow handling.
42337         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
42338         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
42339         sysdeps/unix/bsd/bsd4.4/syscalls.list.
42340         (fchflags): Likewise.
42341         (revoke): Likewise.
42342         (setlogin): Likewise.
42343         (sigaltstack): Likewise.
42344         (wait4): Likewise.
42345         (sigblock): Remove.
42346         (sigsetmask): Likewise.
42347         (wait3): Likewise.
42348         (waitpid): Likewise.
42349         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
42350         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
42351         file.
42352         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
42353         * sysdeps/unix/bsd/Makefile: ... here.
42354         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
42355         * sysdeps/unix/bsd/Versions: ... here.
42356         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
42357         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
42358         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
42359         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
42360         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
42361         * sysdeps/unix/bsd/sigblock.c: ... here.
42362         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
42363         * sysdeps/unix/bsd/sigsetmask.c: ... here.
42364         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
42365         * sysdeps/unix/bsd/sigvec.c: ... here.
42366         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
42367         * sysdeps/unix/bsd/tcdrain.c: ... here.
42368         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
42369         * sysdeps/unix/bsd/tcgetattr.c: ... here.
42370         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
42371         * sysdeps/unix/bsd/tcsetattr.c: ... here.
42372         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
42373         * sysdeps/unix/bsd/wait.c: ... here.
42374         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
42375         * sysdeps/unix/bsd/wait3.c: ... here.
42376         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
42377         * sysdeps/unix/bsd/waitpid.c: ... here.
42379 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
42381         [BZ #16356]
42382         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
42383         round-to-nearest for [!USE_AS_EXPM1L].
42384         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
42385         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
42386         more tests of exp and exp10.  Expect some exp10 tests to miss
42387         exceptions or fail in directed rounding modes.
42388         * math/auto-libm-test-out: Regenerated.
42389         * math/libm-test.inc (exp10_tonearest_test_data): New array.
42390         (exp10_test_tonearest): New function.
42391         (exp10_towardzero_test_data): New array.
42392         (exp10_test_towardzero): New function.
42393         (exp10_downward_test_data): New array.
42394         (exp10_test_downward): New function.
42395         (exp10_upward_test_data): New array.
42396         (exp10_test_upward): New function.
42397         (main): Call the new functions.
42398         * sysdeps/i386/fpu/libm-test-ulps: Update.
42399         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42401 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
42403         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
42404         asinh, atan, atan2, atanh, cbrt, cos and cosh.
42405         * math/auto-libm-test-out: Regenerated.
42406         * math/libm-test.inc (acosh_test_data): Add more tests.
42407         (atanh_test_data): Likewise.
42408         (ceil_test_data): Likewise.
42409         (copysign_test_data): Likewise.
42410         * sysdeps/i386/fpu/libm-test-ulps: Update.
42411         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42413         * timezone/checktab.awk: Update from tzcode 2013i.
42414         * timezone/private.h: Likewise.
42415         * timezone/scheck.c: Likewise.
42416         * timezone/tzfile.h: Likewise.
42417         * timezone/tzselect.ksh: Likewise.
42418         * timezone/zdump.c: Likewise.
42419         * timezone/zic.c: Likewise.
42421         * math/auto-libm-test-in: Add tests of cpow.
42422         * math/auto-libm-test-out: Regenerated.
42423         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
42424         * math/gen-auto-libm-tests.c (func_calc_method): Add value
42425         mpc_cc_c.
42426         (func_calc_desc): Add mpc_cc_c union field.
42427         (test_functions): Add cpow.
42428         (special_fill_2pi): New function.
42429         (special_real_inputs): Add 2pi.
42430         (calc_generic_results): Handle mpc_cc_c.
42431         * sysdeps/i386/fpu/libm-test-ulps: Update.
42432         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42434         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
42435         csqrt, ctan and ctanh.
42436         * math/auto-libm-test-out: Regenerated.
42437         * math/libm-test.inc (TEST_COND_x86_64): New macro.
42438         (TEST_COND_x86): Likewise.
42439         (ccos_test_data): Use AUTO_TESTS_c_c.
42440         (ccosh_test_data): Likewise.
42441         (cexp_test_data): Likewise.
42442         (clog_test_data): Likewise.
42443         (csqrt_test_data): Likewise.
42444         (ctan_test_data): Likewise.
42445         (ctan_tonearest_test_data): Likewise.
42446         (ctan_towardzero_test_data): Likewise.
42447         (ctan_downward_test_data): Likewise.
42448         (ctan_upward_test_data): Likewise.
42449         (ctanh_test_data): Likewise.
42450         (ctanh_tonearest_test_data): Likewise.
42451         (ctanh_towardzero_test_data): Likewise.
42452         (ctanh_downward_test_data): Likewise.
42453         (ctanh_upward_test_data): Likewise.
42454         * math/gen-auto-libm-tests.c (func_calc_method): Add value
42455         mpc_c_c.
42456         (func_calc_desc): Add mpc_c_c union field.
42457         (FUNC_mpc_c_c): New macro.
42458         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
42459         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
42460         ctanh.
42461         (special_fill_min_subnorm_p120): New function.
42462         (special_real_inputs): Add min_subnorm_p120.
42463         (calc_generic_results): Handle mpc_c_c.
42464         * sysdeps/i386/fpu/libm-test-ulps: Update.
42465         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42467 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
42469         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
42470         (do_sin_slow): New functions.
42471         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
42472         (cslow2, csloww1, csloww2): Use the new functions.
42474         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
42475         Use M to change sign of result instead of X.  Assume X is
42476         positive.
42477         (csloww1): Likewise.
42478         (__sin): Adjust.
42479         (__cos): Adjust.
42481         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
42482         arguments A and DA.
42483         (__sin): Adjust.
42484         (__cos): Likewise.
42486         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
42487         (__cos): Likewise.
42488         (sloww1): Don't adjust sign of DX.
42489         (csloww1): Likewise.
42490         (sloww2): Use X directly and don't adjust sign of DX.
42491         (csloww2): Likewise.
42493 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
42495         * math/auto-libm-test-in: Add tests of cabs and carg.
42496         * math/auto-libm-test-out: Regenerated.
42497         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
42498         (carg_test_data): Likewise.
42499         * math/gen-auto-libm-tests.c (func_calc_method): Add value
42500         mpc_c_f.
42501         (func_calc_desc): Add mpc_c_f union field.
42502         (test_functions): Add cabs and carg.
42503         (calc_generic_results): Handle mpc_c_f.
42505         * sysdeps/powerpc/powerpc32/libgcc-compat.S
42506         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
42507         as a macro and a compat symbol.
42508         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
42509         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
42510         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
42511         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
42512         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
42513         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
42514         not use .hidden.
42515         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
42516         Likewise.
42517         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
42518         Likewise.
42519         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
42520         Likewise.
42521         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
42522         Likewise.
42523         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
42524         Likewise.
42525         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
42526         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
42527         from GLIBC_2.3.2.
42529 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42531         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42533 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
42535         * manual/texinfo.tex: Update to version 2013-11-26.10 with
42536         trailing whitespace removed.
42537         * scripts/config.guess: Update to version 2013-11-29.
42538         * scripts/config.sub: Update to version 2013-10-01.
42540         * math/auto-libm-test-in: Add tests of sincos.
42541         * math/auto-libm-test-out: Regenerated.
42542         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
42543         * math/gen-auto-libm-tests.c (func_calc_method): Add value
42544         mpfr_f_11.
42545         (func_calc_desc): Add mpfr_f_11 union field.
42546         (test_functions): Add sincos.
42547         (calc_generic_results): Handle mpfr_f_11.
42548         * sysdeps/i386/fpu/libm-test-ulps: Update.
42549         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42551 2013-12-19  Andreas Schwab  <schwab@suse.de>
42553         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
42554         CALL_MCOUNT.
42555         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
42556         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
42557         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
42559 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
42561         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
42562         * sysdeps/i386/fpu/libm-test-ulps: Update.
42563         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42565         [BZ #16293]
42566         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
42567         round-to-nearest mode when using frndint.
42568         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
42569         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
42570         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
42571         Likewise.
42572         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
42573         sinh test to fail.
42574         * math/auto-libm-test-out: Regenerated.
42575         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
42576         (TEST_COND_x86): Likewise.
42577         (expm1_tonearest_test_data): New array.
42578         (expm1_test_tonearest): New function.
42579         (expm1_towardzero_test_data): New array.
42580         (expm1_test_towardzero): New function.
42581         (expm1_downward_test_data): New array.
42582         (expm1_test_downward): New function.
42583         (expm1_upward_test_data): New array.
42584         (expm1_test_upward): New function.
42585         (main): Run the new test functions.
42586         * sysdeps/i386/fpu/libm-test-ulps: Update.
42587         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42589         * include/features.h: Update comment documenting feature test
42590         macros.  Mention _DEFAULT_SOURCE in comment.
42591         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
42592         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
42593         _BSD_SOURCE and _SVID_SOURCE.
42594         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
42595         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
42596         !_SVID_SOURCE]: Likewise.
42597         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
42598         (__USE_POSIX_IMPLICITLY): Define.
42599         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
42600         (_POSIX_SOURCE): Undefine and redefine.
42601         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
42602         (_POSIX_C_SOURCE): Likewise.
42603         * manual/creature.texi (_DEFAULT_SOURCE): Document.
42604         (Feature Test Macros): Update documentation of default features.
42606 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
42608         * benchtests/Makefile: Add bench-strtok.
42609         * benchtests/bench-strtok.c: New file: strtok benchtest.
42611 2013-12-19  Allan McRae  <allan@archlinux.org>
42613         * manual/install.texi: Suppress menu for plain text output.
42614         * INSTALL: Regenerated.
42616 2013-12-18  Brooks Moses  <bmoses@google.com>
42618         [BZ #15846]
42619         * misc/getauxval.c: Include errno.h.
42620         (__getauxval): Set errno to ENOENT if the requested type is not
42621         found.
42622         * misc/sys/auxv.h (getauxval): Document that it may set errno;
42623         don't declare with __attribute_const__.
42624         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
42625         * manual/startup.texi: Document that getauxval sets errno.
42627 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
42629         * math/auto-libm-test-in: Add tests of jn and yn.
42630         * math/auto-libm-test-out: Regenerated.
42631         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
42632         (yn_test_data): Likewise.
42633         * math/gen-auto-libm-tests.c (func_calc_method): Add value
42634         mpfr_if_f.
42635         (func_calc_desc): Add mpfr_if_f union field.
42636         (FUNC_mpfr_if_f): New macro.
42637         (test_functions): Add jn and yn.
42638         (calc_generic_results): Assert type of second input for
42639         mpfr_ff_f.  Handle mpfr_if_f.
42640         (output_for_one_input_case): Disable all checking for arguments
42641         fitting floating-point types in case of an integer argument.
42642         * sysdeps/i386/fpu/libm-test-ulps: Update.
42643         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42645         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
42646         Don't expect fegetround reference in libm.so.
42648 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
42650         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
42651         $(config-cflags-nofma).
42653 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
42655         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
42656         * math/auto-libm-test-out: Regenerated.
42658         [BZ #16338]
42659         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
42660         to determine exponent and adjust argument to have exponent of -1.
42661         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
42662         log2.
42663         * math/auto-libm-test-out: Regenerated.
42664         * sysdeps/i386/fpu/libm-test-ulps: Update.
42665         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42667 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
42669         * manual/probes.texi: Remove cases when per-thread arenas are
42670         disabled.
42672 2013-12-18  Andreas Schwab  <schwab@suse.de>
42674         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
42675         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
42676         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
42677         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
42678         * sysdeps/i386/i686/multiarch/Makefile: Update.
42679         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
42681 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
42683         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
42684         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
42686 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
42688         [BZ #15968]
42689         Support TZ transition times < 00:00:00.
42690         This is needed for version-3 tz-format files; it supports time
42691         stamps past 2037 for America/Godthab (the only entry in the tz
42692         database for which this change is relevant).
42693         * manual/time.texi (TZ Variable): Document transition times
42694         from -167:59:59 through -00:00:01.
42695         * time/tzset.c (tz_rule): Time of day is now signed.
42696         (__tzset_parse_tz): Parse negative time of day.
42698         Document TZ transition times >= 25:00:00.
42699         * manual/time.texi (TZ Variable): Document transition times from
42700         25:00:00 through 167:59:59.  These are already supported, and this
42701         support will help with version-3 tz-format files.
42703         * manual/time.texi (TZ Variable): Modernize North America example
42704         to reflect current (i.e., 2007-and-later) daylight saving rules.
42706         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
42708 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
42710         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
42711         * sysdeps/unix/bsd/bits/stat.h: Likewise.
42712         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
42713         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
42714         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
42715         * sysdeps/unix/bsd/bsdstat.h: Likewise.
42716         * sysdeps/unix/bsd/clock.c: Likewise.
42717         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
42718         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
42719         * sysdeps/unix/bsd/init-posix.c: Likewise.
42720         * sysdeps/unix/bsd/poll.c: Likewise.
42721         * sysdeps/unix/bsd/ptsname.c: Likewise.
42722         * sysdeps/unix/bsd/seekdir.c: Likewise.
42723         * sysdeps/unix/bsd/setegid.c: Likewise.
42724         * sysdeps/unix/bsd/seteuid.c: Likewise.
42725         * sysdeps/unix/bsd/setgid.c: Likewise.
42726         * sysdeps/unix/bsd/setrgid.c: Likewise.
42727         * sysdeps/unix/bsd/setruid.c: Likewise.
42728         * sysdeps/unix/bsd/setsid.c: Likewise.
42729         * sysdeps/unix/bsd/setuid.c: Likewise.
42730         * sysdeps/unix/bsd/sigaction.c: Likewise.
42731         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
42732         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
42733         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
42734         * sysdeps/unix/bsd/telldir.c: Likewise.
42735         * sysdeps/unix/bsd/times.c: Likewise.
42736         * sysdeps/unix/bsd/usleep.c: Likewise.
42738         * misc/Makefile (install-lib): Remove libbsd-compat.a.
42739         ($(objpfx)libbsd-compat.a): Remove rule.
42741         * include/features.h (__FAVOR_BSD): Do not define.
42742         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
42743         features conflicting with POSIX.
42744         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
42745         (_BSD_SOURCE): Remove description of not being a subset of other
42746         feature test macros.
42747         * manual/job.texi (getpgrp): Do not document BSD version.
42748         (getpgid): Do not document by reference to BSD getpgrp.
42749         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
42750         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
42751         * signal/signal.h [__FAVOR_BSD]: Likewise.
42752         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
42753         instead of making contents conditional on [__FAVOR_BSD].
42754         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
42756 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42758         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42760 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
42762         [BZ #16314]
42763         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
42764         values below 2**-450, not 2**-500.
42765         * math/auto-libm-test-in: Don't allow spurious underflow from
42766         hypot.
42767         * math/auto-libm-test-out: Regenerated.
42769         [BZ #16316]
42770         [BZ #16330]
42771         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
42772         values of ha and hb and sort them after adjusting subnormal
42773         arguments.
42774         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
42775         Likewise.
42776         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
42777         values of ea and eb and sort them after adjusting subnormal
42778         arguments.
42779         * math/auto-libm-test-in: Do not expect some hypot tests of
42780         subnormals to fail.  Add more hypot tests.
42781         * math/auto-libm-test-out: Regenerated.
42783 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42785         [BZ #13304]
42786         * sysdeps/sh/s_fma.c: New file.
42787         * sysdeps/sh/s_fmaf.c: New file.
42788         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
42789         version.
42790         * sysdeps/sh/Implies: Add sh/soft-fp.
42792 2013-12-16  Roland McGrath  <roland@hack.frob.com>
42794         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
42795         level of indirection to members `objname', `errstring', `malloced'.
42796         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
42797         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
42798         it as the __longjmp argument (just pass 1 instead).
42799         (_dl_catch_error): Initialize C with argument pointers and address of
42800         volatile local ERRCODE rather than copying values out of C at return.
42802 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
42804         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
42805         * math/auto-libm-test-out: Regenerated.
42806         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
42807         (hypot_test_data): Likewise.
42808         (pow_test_data): Likewise.
42809         (pow_tonearest_test_data): Likewise.
42810         * math/gen-auto-libm-tests.c (func_calc_method): Add value
42811         mpfr_ff_f.
42812         (func_calc_desc): Add mpfr_ff_f union field.
42813         (FUNC_mpfr_ff_f): New macro.
42814         (test_functions): Add atan2, hypot and pow.
42815         (special_fill_min): New function.
42816         (special_fill_minus_min): Likewise.
42817         (special_fill_min_subnorm): Likewise.
42818         (special_fill_minus_min_subnorm): Likewise.
42819         (special_real_inputs): Add min, -min, min_subnorm and
42820         -min_subnorm.
42821         (calc_generic_results): Handle mpfr_ff_f.
42822         * sysdeps/i386/fpu/libm-test-ulps: Update.
42823         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42825 2013-12-16  Will Newton  <will.newton@linaro.org>
42827         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
42828         (Aligned Memory Blocks): Add documentation for aligned_alloc
42829         and suggest it as an alternative to posix_memalign.
42830         (Hooks for Malloc): Document __memalign_hook is also called
42831         for aligned_alloc.  (Summary of Malloc): Add summary for
42832         aligned alloc.  Document __memalign_hook is also called
42833         for aligned_alloc.
42835 2013-12-16  Will Newton  <will.newton@linaro.org>
42837         * manual/memory.texi (Malloc Examples): Clarify default
42838         alignment documentation.  Suggest posix_memalign rather
42839         than memalign or valloc.
42840         (Aligned Memory Blocks): Remove suggestion to use memalign
42841         or valloc.  Remove obsolete comment about BSD.
42842         Document memalign errno values and mark the function obsolete.
42843         Document posix_memalign returned error codes.  Mark valloc
42844         as obsolete.  (Hooks for Malloc): __memalign_hook is also
42845         called for posix_memalign and valloc.
42846         (Summary of Malloc): Add posix_memalign to function summary.
42847         __memalign_hook is also called for posix_memalign and valloc.
42849 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
42851         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
42852         TAYLOR_SIN.
42853         (__sin): Adjust.
42854         (__cos): Likewise.
42855         (sloww): Use mynumber union.  Expand ternary operator into
42856         if-else statements.
42857         (cslow): use mynumber union.
42859 2013-12-16  Allan McRae  <allan@archlinux.org>
42861         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
42862         * configure: Regenerated.
42864         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
42866         [BZ #14120]
42867         * configure.ac: Added --enable-maintainer-mode. Check for
42868         autoconf when enabled.
42869         * configure: Regenerated.
42871         * nscd/nscd.service: New file.
42872         * nscd/nscd.tmpfiles: New file.
42874 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
42876         [BZ #12100]
42877         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
42878         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
42879         * sysdeps/x86_64/multiarch/strstr.c: ... here.
42880         (strstr): Add __strstr_sse2_unaligned ifunc.
42881         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
42882         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
42883         (strcasestr): Remove __strcasestr_sse42 ifunc.
42884         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
42885         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
42886         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
42888 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42890         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
42891         * sysdeps/sh/bits/fenv.h: ... here.
42892         * sysdeps/sh/sh4/fpu/bits: Remove directory.
42894 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42896         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
42898         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
42899         hypotf multiarch implementations.
42900         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
42901         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
42902         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
42903         multiarch hypot for PPC64.
42904         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
42905         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
42906         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
42907         multiarch hypotf for PPC64.
42909         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
42910         modff multiarch implementations.
42911         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
42912         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
42913         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
42914         multiarch modf for PPC64.
42915         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
42916         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
42917         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
42918         multiarch modff for PPC64.
42920         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
42921         and logl multiarch implementations.
42922         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
42923         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
42924         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
42925         multiarch logb for PPC64.
42926         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
42927         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
42928         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
42929         multiarch logb for PPC64.
42930         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
42931         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
42932         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
42933         multiarch logb for PPC64.
42935         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
42936         isinff multiarch implementation.
42937         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
42938         file.
42939         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
42940         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
42941         multiarch isinf for PPC64.
42942         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
42943         file.
42944         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
42945         multiarch isinff for PPC64.
42947         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
42948         finitef multiarch implementation.
42949         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
42950         file.
42951         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
42952         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
42953         multiarch finite for PPC64.
42954         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
42955         file.
42956         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
42957         multiarch finitef for PPC64.
42959         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
42960         lrint multiarch implementation.
42961         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
42962         file.
42963         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
42964         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
42965         multiarch llrint for PPC64.
42966         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
42967         multiarch lrint for PPC64.
42969         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
42970         copysignf multiarch implementation.
42971         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
42972         file.
42973         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
42974         file.
42975         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
42976         multiarch copysign for PPC64.
42977         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
42978         multiarch copysignf for PPC64.
42980         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
42981         multiarch implementation.
42982         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
42983         file.
42984         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
42985         file.
42986         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
42987         file.
42988         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
42989         file.
42990         multiarch llround for PPC64.
42991         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
42992         multiarch trunc for PPC64.
42993         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
42994         multiarch truncf for PPC64.
42996         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
42997         multiarch implementation.
42998         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
42999         file.
43000         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
43001         file.
43002         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
43003         file.
43004         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
43005         file.
43006         multiarch llround for PPC64.
43007         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
43008         multiarch round for PPC64.
43009         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
43010         multiarch roundf for PPC64.
43012         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
43013         multiarch implementation.
43014         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
43015         file.
43016         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
43017         file.
43018         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
43019         file.
43020         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
43021         file.
43022         multiarch llround for PPC64.
43023         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
43024         multiarch floor for PPC64.
43025         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
43026         multiarch floorf for PPC64.
43028         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
43029         multiarch implementation.
43030         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
43031         file.
43032         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
43033         file.
43034         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
43035         file.
43036         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
43037         file.
43038         multiarch llround for PPC64.
43039         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
43040         multiarch ceil for PPC64.
43041         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
43042         multiarch ceilf for PPC64.
43044         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
43045         multiarch implementation.
43046         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
43047         file.
43048         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
43049         file.
43050         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
43051         file.
43052         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
43053         multiarch llround for PPC64.
43054         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
43055         multiarch lround for PPC64.
43057         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
43058         multiarch implementation.
43059         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
43060         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
43061         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
43062         file.
43063         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
43064         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
43065         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
43066         multiarch isnan for PPC64.
43067         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
43068         multiarch isnanf for PPC64.
43070         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
43071         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
43072         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
43073         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
43074         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
43075         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
43077         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
43078         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
43079         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
43080         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
43082         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
43083         multiarch implementations.
43084         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43085         (__libc_ifunc_impl_list): Likewise.
43086         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
43087         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
43088         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
43089         multiarch stpcpy for PPC64.
43091         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
43092         multiarch implementations.
43093         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43094         (__libc_ifunc_impl_list): Likewise.
43095         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
43096         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
43097         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
43098         multiarch strcpy for PPC64.
43100         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
43101         redefine function name.
43102         (_wordcopy_fwd_dest_aligned): Likewise.
43103         (_wordcopy_bwd_aligned): Likewise.
43104         (_wordcopy_bwd_dest_aligned): Likewise.
43105         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
43106         multiarch implementations.
43107         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43108         (__libc_ifunc_impl_list): Likewise.
43109         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
43110         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
43111         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
43112         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
43113         multiarch wcscpy for PPC64.
43115         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
43116         multiarch implementations.
43117         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43118         (__libc_ifunc_impl_list): Likewise.
43119         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
43120         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
43121         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
43122         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
43123         multiarch wcscpy for PPC64.
43125         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
43126         multiarch implementations.
43127         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43128         (__libc_ifunc_impl_list): Likewise.
43129         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
43130         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
43131         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
43132         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
43133         multiarch wcsrchr for PPC64.
43135         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
43136         multiarch implementations.
43137         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43138         (__libc_ifunc_impl_list): Likewise.
43139         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
43140         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
43141         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
43142         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
43143         multiarch wcschr for PPC64.
43145         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
43146         multiarch implementations.
43147         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43148         (__libc_ifunc_impl_list): Likewise.
43149         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
43150         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
43151         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
43152         multiarch strchrnul for PPC64.
43154         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
43155         implementations.
43156         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43157         (__libc_ifunc_impl_list): Likewise.
43158         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
43159         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
43160         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
43161         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
43162         strchr for PPC64.
43164         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
43165         implementations.
43166         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43167         (__libc_ifunc_impl_list): Likewise.
43168         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
43169         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
43170         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
43171         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
43172         strncmp for PPC64.
43174         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
43175         multiarch implementations.
43176         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43177         (__libc_ifunc_impl_list): Likewise.
43178         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
43179         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
43180         strncasecmp for PPC64.
43181         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
43182         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
43183         multiarch strncasecmp_l for PPC64.
43185         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
43186         multiarch implementations.
43187         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
43188         (__libc_ifunc_impl_list): Likewise.
43189         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
43190         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
43191         multiarch strcasecmp for PPC64.
43192         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
43193         file.
43194         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
43195         multiarch strcasecmp_l for PPC64.
43197         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
43198         implementations.
43199         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43200         (__libc_ifunc_impl_list): Likewise.
43201         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
43202         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
43203         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
43204         strnlen for PPC64.
43206         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
43207         implementations.
43208         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43209         (__libc_ifunc_impl_list): Likewise.
43210         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
43211         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
43212         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
43213         strlen for PPC64.
43215         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
43216         implementations.
43217         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43218         (__libc_ifunc_impl_list): Likewise.
43219         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
43220         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
43221         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
43222         rawmemrchr for PPC64.
43224         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
43225         implementation.
43226         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43227         (__libc_ifunc_impl_list): Likewise.
43228         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
43229         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
43230         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
43231         memrchr for PPC64.
43233         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
43234         implementation.
43235         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43236         (__libc_ifunc_impl_list): Likewise.
43237         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
43238         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
43239         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
43240         memchr for PPC64.
43242         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
43243         implementation.
43244         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43245         (__libc_ifunc_impl_list): Likewise.
43246         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
43247         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
43248         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
43249         mempcpy for PPC64.
43251         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
43252         avoid cretion of __bzero symbol.
43253         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
43254         Likewise.
43255         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
43256         Likewise.
43257         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
43258         Likewise.
43259         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
43260         multiarch implementations.
43261         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43262         (__libc_ifunc_impl_list): Likewise.
43263         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
43264         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
43265         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
43266         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
43267         bzero for PPC32.
43268         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
43269         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
43270         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
43271         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
43272         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
43273         memset for PPC64.
43274         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
43276         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
43277         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
43278         implementations.
43279         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43280         (__libc_ifunc_impl_list): Likewise.
43281         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
43282         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
43283         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
43284         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
43285         memcmp for PPC64.
43287         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
43288         multiarch for POWER/PPC64.
43289         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
43290         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
43291         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
43292         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
43293         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
43294         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
43295         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
43296         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
43297         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
43298         memcpy for PPC64.
43300         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
43301         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
43302         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
43303         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
43304         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
43305         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
43306         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
43307         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
43308         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
43309         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
43310         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
43311         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
43312         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
43313         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
43314         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
43315         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
43316         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
43317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
43318         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
43319         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
43320         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
43321         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
43323 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43325         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
43327 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
43329         * benchtests/Makefile (bench): Add exp2 and log2.
43330         (LDLIBS-bench-exp2): Add -lm.
43331         (LDLIBS-bench-log2): Likewise.
43332         * benchtests/exp2-inputs: New inputs file.
43333         * benchtests/log2-inputs: New inputs file.
43334         * benchtests/log-inputs: Add new inputs.
43335         * benchtests/tan-inputs: Likewise.
43337 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
43339         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
43340         definition...
43341         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
43342         (csloww2): ... from here.
43344         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
43345         instead of structures.
43346         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
43347         (POLYNOMIAL): Likewise.
43348         (TAYLOR_SLOW): Likewise.
43349         (__sin): Likewise.
43350         (__cos): Likewise.
43351         (slow1): Likewise.
43352         (slow2): Likewise.
43353         (sloww): Likewise.
43354         (sloww1); Likewise.
43355         (sloww2): Likewise.
43356         (bsloww1): Likewise.
43357         (bsloww2): Likewise.
43358         (cslow2): Likewise.
43359         (csloww): Likewise.
43360         (csloww1): Likewise.
43361         (csloww2): Likewise.
43363 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
43365         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
43366         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
43367         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
43368         * malloc/hooks.c (realloc_check): Likewise.
43370         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
43371         * malloc/arena.c: Remove PER_THREAD conditional.
43372         [!PER_THREAD]: Remove code.
43373         (ptmalloc_unlock_all2): Likewise.
43374         (ptmalloc_init): Likewise.
43375         (_int_new_arena): Likewise.
43376         (arena_get2): Likewise.
43377         * malloc/hooks.c (__malloc_get_state): Likewise.
43378         (__malloc_set_state): Likewise.
43379         * malloc/malloc.c: Likewise.
43380         (struct malloc_state): Likewise.
43381         (struct malloc_par): Likewise.
43382         (__libc_realloc): Likewise.
43383         (__libc_mallopt): Likewise.
43385 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43387         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
43389 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
43391         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
43392         macro to a function.  Check for zero perturb_byte.
43393         (_int_malloc, _int_free): Remove zero perturb_byte checks.
43395         * malloc/malloc.c: (force_reg): Remove.
43396         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
43397         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
43398         force_reg by atomic_forced_read.
43399         * malloc/arena.c (ptmalloc_init): Likewise.
43400         * malloc/hooks.c (top_check): Likewise.
43402 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43404         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43406 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
43408         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43410 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
43412         * math/auto-libm-test-in: Add tests of lgamma.
43413         * math/auto-libm-test-out: Regenerated.
43414         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
43415         (M_LOG_2_SQRT_PIl): Likewise.
43416         (lgamma_test_data): Use AUTO_TESTS_f_f1.
43417         * math/gen-auto-libm-tests.c (func_calc_method): Add value
43418         mpfr_f_f1.
43419         (func_calc_desc): Add mpfr_f_f1 union field.
43420         (ARGS1): New macro.
43421         (ARGS2): Likewise.
43422         (ARGS3): Likewise.
43423         (ARGS4): Likewise.
43424         (RET1): Likewise.
43425         (RET2): Likewise.
43426         (CALC): Likewise.
43427         (FUNC): Likewise.
43428         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
43429         (test_functions): Add lgamma.
43430         (calc_generic_results): Handle mpfr_f_f1.
43431         * sysdeps/i386/fpu/libm-test-ulps: Update.
43432         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43434 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43436         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
43437         __mpn_add_n for PowerPC64/POWER7.
43438         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
43439         __mpn_sub_n for PowerPC64/POWER7.
43441         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
43442         __mpn_addmul_1 for PowerPC64.
43443         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
43444         __mpn_submul_1 for PowerPC64.
43445         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
43446         for PowerPC64.
43447         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
43448         for PowerPC64.
43450 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
43452         [BZ #15089]
43453         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
43455 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43457         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
43459         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
43460         add multiarch folders.
43461         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
43462         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
43463         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
43464         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
43465         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
43466         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
43467         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
43468         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
43469         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
43470         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
43471         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
43472         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
43473         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
43474         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
43475         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
43476         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
43477         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
43479         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
43480         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
43481         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
43482         New file.
43483         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
43484         New file.
43485         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
43486         multiarch __ieee754_hypot for PowerPC32.
43487         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
43488         New file.
43489         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
43490         New file.
43491         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
43492         multiarch __ieee754_hypotf for PowerPC32.
43494         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
43495         long_double_symbol only if __logbl is defined.
43496         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
43497         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
43498         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
43499         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
43500         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
43501         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
43502         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
43503         path for implementation.
43504         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
43505         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
43506         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
43507         logb, and logbl multiarch implementations for PowerPC32.
43508         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
43509         file.
43510         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
43511         file.
43512         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
43513         multiarch logb for PowerPC32.
43514         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
43515         file.
43516         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
43517         file.
43518         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
43519         multiarch logbf for PowerPC32.
43520         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
43521         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
43522         file.
43523         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
43524         multiarch logbl implementation for PowerPC32.
43526         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
43527         and modff multiarch implementations.
43528         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
43529         New file.
43530         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
43531         New file.
43532         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
43533         multiarch modf for PowerPC32.
43534         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
43535         New file.
43536         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
43537         New file.
43538         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
43539         multiarch modff for PowerPC32.
43541         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
43542         and lrintf multiarch implementations.
43543         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
43544         New file.
43545         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
43546         New file.
43547         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
43548         multiarch lrint for PowerPC32.
43549         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
43550         file: multiarch lrintf for PowerPC32.
43552         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
43553         and lroundf multiarch implementations.
43554         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
43555         New file.
43556         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
43557         New file.
43558         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
43559         New file.
43560         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
43561         multiarch lround for PowerPC32.
43562         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
43563         file: multiarch lroundf for PowerPC32.
43565         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
43566         copysign and copysignf multiarch implementations.
43567         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
43568         New file.
43569         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
43570         New file.
43571         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
43572         file: multiarch copysign for PowerPC32.
43573         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
43574         file: multiarch copysignf for PowerPC32.
43576         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
43577         and truncf multiarch implementations.
43578         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
43579         New file.
43580         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
43581         file.
43582         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
43583         multiarch trunc for PowerPC32.
43584         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
43585         New file.
43586         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
43587         New file.
43588         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
43589         multiarch truncf for PowerPC32.
43591         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
43592         and roundf multiarch implementations.
43593         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
43594         New file.
43595         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
43596         file.
43597         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
43598         multiarch round for PowerPC32.
43599         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
43600         New file.
43601         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
43602         New file.
43603         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
43604         multiarch roundf for PowerPC32.
43606         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
43607         and floorf multiarch implementations.
43608         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
43609         New file.
43610         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
43611         file.
43612         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
43613         multiarch floor for PowerPC32.
43614         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
43615         New file.
43616         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
43617         New file.
43618         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
43619         multiarch floorf for PowerPC32.
43621         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
43622         and ceilf multiarch implementations.
43623         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
43624         New file.
43625         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
43626         file.
43627         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
43628         multiarch ceil for PowerPC32.
43629         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
43630         New file.
43631         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
43632         file.
43633         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
43634         multiarch ceilf for PowerPC32.
43636         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
43637         is defined.
43638         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
43639         FINITEF is defined.
43640         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
43641         and finitef multiarch implementations.
43642         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
43643         New file.
43644         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
43645         file.
43646         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
43647         multiarch finite for PowerPC32.
43648         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
43649         New file.
43650         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
43651         file: multiarch finitef for PowerPC32.
43653         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
43654         and isinff multiarch implementations.
43655         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
43656         file.
43657         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
43658         file.
43659         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
43660         multiarch isinf for PowerPC32.
43661         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
43662         New file.
43663         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
43664         multiarch isinff for PowerPC32.
43666         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
43667         alias when __isnan is defined.
43668         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
43669         and isnanf multiarch implementations.
43670         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
43671         file.
43672         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
43673         file.
43674         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
43675         file.
43676         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
43677         file.
43678         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
43679         multiarch isnan for PowerPC32.
43680         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
43681         New file.
43682         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
43683         New file.
43684         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
43685         multiarch isnanf for PowerPC32.
43687         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
43688         and sqrtf multiarch implementations.
43689         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
43690         file.
43691         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
43692         file.
43693         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
43694         multiarch sqrt for PowerPC32.
43695         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
43696         file.
43697         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
43698         file.
43699         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
43700         multiarch sqrtf for PowerPC32.
43702         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
43703         and llroundf multiarch implementations.
43704         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
43705         New file.
43706         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
43707         New file.
43708         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
43709         New file.
43710         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
43711         file: multiarch llround for PowerPC32.
43712         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
43713         file: multiarch llroundf for PowerPC32.
43715         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
43716         multiarch PowerPC32 fpu implementations.
43717         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
43718         New file.
43719         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
43720         New file.
43721         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
43722         multiarch llrint for PowerPC32.
43723         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
43724         New file.
43725         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
43726         New file.
43727         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
43728         file.
43730         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
43732         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
43733         file.
43734         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
43735         file.
43736         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
43737         file.
43738         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
43739         multiarch wordcopy for PPC32.
43740         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
43741         wordcopy objects.
43742         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43743         (__libc_ifunc_impl_list): Likewise.
43744         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
43745         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
43746         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
43747         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
43748         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
43749         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
43751         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
43752         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
43753         file.
43754         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
43755         file.
43756         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
43757         file.
43758         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
43759         multiarch wcscpy for PPC32.
43760         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
43761         multiarch objects.
43762         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43763         (__libc_ifunc_impl_list): Likewise.
43764         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
43765         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
43766         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
43767         sysdeps/powerpc/power6/wcscpy.c.
43769         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
43770         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
43771         file.
43772         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
43773         file.
43774         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
43775         file.
43776         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
43777         multiarch wcsrchr for PPC32.
43778         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
43779         multiarch objects.
43780         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43781         (__libc_ifunc_impl_list): Likewise.
43782         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
43783         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
43784         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
43785         sysdeps/powerpc/power6/wcsrchr.c.
43787         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
43788         file.
43789         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
43790         file.
43791         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
43792         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
43793         multiarch wcschr for PPc32.
43794         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
43795         multiarch objects.
43796         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43797         (__libc_ifunc_impl_list): Likewise.
43798         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
43799         * sysdeps/powerpc/power6/wcschr.c: ... to here.
43800         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
43801         sysdeps/powerpc/power6/wcschr.c.
43803         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
43804         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
43805         file.
43806         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
43807         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
43808         file: multiarch strchr for PPC32.
43809         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
43810         multiarch objects.
43811         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43812         (__libc_ifunc_impl_list): Likewise.
43814         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
43815         name.
43816         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
43817         file.
43818         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
43819         file.
43820         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
43821         multiarch strchrnul for PPC32.
43822         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
43823         multiarch objects.
43824         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43825         (__libc_ifunc_impl_list): Likewise.
43827         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
43828         file.
43829         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
43830         multiarch strncasecmp for PPC32.
43831         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
43832         file.
43833         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
43834         multiarch strncasecmp_l for PPC32.
43835         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
43836         strncasecmp multiarch objects.
43837         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43838         (__libc_ifunc_impl_list): Likewise.
43840         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
43841         file.
43842         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
43843         multiarch strncasecmp for PPC32.
43844         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
43845         New file.
43846         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
43847         multiarch strcasecmp_l for PPC32.
43848         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
43849         multiarch objects.
43850         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43851         (__libc_ifunc_impl_list): Likewise.
43853         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
43854         file.
43855         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
43856         file.
43857         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
43858         multiarch strncmp for PPC32.
43859         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
43860         multiarch objects.
43861         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43862         (__libc_ifunc_impl_list): Likewise.
43864         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
43865         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
43866         file.
43867         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
43868         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
43869         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
43870         multiarch objects.
43871         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43872         (__libc_ifunc_impl_list): Likewise.
43874         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
43875         file.
43876         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
43877         file.
43878         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
43879         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
43880         multiarch objects.
43881         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43882         (__libc_ifunc_impl_list): Likewise.
43884         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
43885         file.
43886         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
43887         file.
43888         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
43889         multiarch rawmemchr for PPC32.
43890         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
43891         multiarch objects.
43892         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43893         (__libc_ifunc_impl_list): Likewise.
43895         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
43896         file.
43897         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
43898         file.
43899         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
43900         file: memrchr multiarch for PPC32.
43901         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
43902         multiarch objects.
43903         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43904         (__libc_ifunc_impl_list): Likewise.
43906         * string/memchr.c (__memchr): Using macro to redefine symbol name.
43907         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
43908         file.
43909         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
43910         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
43911         multiarch memchr for PPC32.
43912         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
43913         multiarch objects.
43914         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
43915         (__libc_ifunc_impl_list): Likewise.
43917         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
43918         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
43919         file.
43920         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
43921         file.
43922         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
43923         file: multiarch mempcpy for PPC32.
43924         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
43925         multiarch objects.
43926         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
43927         (__libc_ifunc_impl_list): Likewise.
43929         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
43930         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
43931         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
43932         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
43933         multiarch bzero for PPC32.
43934         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
43935         file.
43936         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
43937         file.
43938         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
43939         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
43940         file: multiarch memset for PPC32.
43941         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
43942         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
43943         memset multiarch objects.
43944         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
43945         (__libc_ifunc_impl_list): Likewise.
43947         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
43948         file.
43949         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
43950         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
43951         memcmp for PPC32.
43952         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
43953         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
43954         multiarch objects.
43955         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
43956         (__libc_ifunc_impl_list): Likewise.
43958         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
43959         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
43960         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
43961         file.
43962         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
43963         file.
43964         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
43965         file.
43966         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
43967         multiarch memcpy for PPC32.
43968         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
43969         multiarch objects.
43970         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
43971         (__libc_ifunc_impl_list): Likewise.
43973         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
43974         support multiarch for POWER/PPC32.
43975         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
43976         Likewise.
43977         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
43978         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
43979         Implies file to make multiarch folder appers before the fpu and
43980         default folder for power4 configuration.
43982 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
43984         * scripts/bench.pl: Append volatile keyword to type.
43986 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43988         * sysdeps/sh/sotruss-lib.c: New file.
43989         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
43991 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43993         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43995 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
43997         [BZ #6810]
43998         * math/w_tgamma.c: Include <errno.h>.
43999         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
44000         * math/w_tgammaf.c: Include <errno.h>.
44001         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
44002         * math/w_tgammal.c: Include <errno.h>.
44003         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
44004         * math/auto-libm-test-in: Do not allow missing errno on tgamma
44005         underflow.  Add more tgamma tests.
44006         * math/auto-libm-test-out: Regenerated.
44007         * sysdeps/i386/fpu/libm-test-ulps: Update.
44008         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44010         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
44011         sin, sinh, tan, tanh, tgamma, y0 and y1.
44012         * math/auto-libm-test-out: Regenerated.
44013         * math/libm-test.inc (TEST_COND_x86_64): New macro.
44014         (TEST_COND_x86): Likewise.
44015         (M_E2l): Remove macro.
44016         (M_E3l): Likewise.
44017         (M_2_SQRT_PIl): Likewise.
44018         (M_SQRT_PIl): Likewise.
44019         (M_1_DIV_El): Likewise.
44020         (log_test_data): Use AUTO_TESTS_f_f.
44021         (log10_test_data): Likewise.
44022         (log1p_test_data): Likewise.
44023         (log2_test_data): Likewise.
44024         (sin_test_data): Likewise.
44025         (sin_tonearest_test_data): Likewise.
44026         (sin_towardzero_test_data): Likewise.
44027         (sin_downward_test_data): Likewise.
44028         (sin_upward_test_data): Likewise.
44029         (sinh_test_data): Likewise.
44030         (sinh_tonearest_test_data): Likewise.
44031         (sinh_towardzero_test_data): Likewise.
44032         (sinh_downward_test_data): Likewise.
44033         (sinh_upward_test_data): Likewise.
44034         (tan_test_data): Likewise.
44035         (tan_tonearest_test_data): Likewise.
44036         (tan_towardzero_test_data): Likewise.
44037         (tan_downward_test_data): Likewise.
44038         (tan_upward_test_data): Likewise.
44039         (tanh_test_data): Likewise.
44040         (tgamma_test_data): Likewise.
44041         (y0_test_data): Likewise.
44042         (y1_test_data): Likewise.
44043         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
44044         (special_real_inputs): Add pi/4.
44045         * sysdeps/i386/fpu/libm-test-ulps: Update.
44046         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44048 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44050         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
44051         "longjmp_target" static probes.
44052         (__longjmp): Rename to __longjmp_symbol.
44053         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
44054         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
44055         on which longjmp to generate.
44056         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
44057         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
44058         probe.
44059         (__sigsetjmp): Rename to __sigsetjmp_symbol.
44060         (__sigjmp_save): Rename to __sigjmp_save_symbol.
44061         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
44062         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
44063         and __sigjmp_save_symbol based on which sigsetjmp to generated.
44064         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
44065         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
44066         __longjmp_symbol based on which __longjmp to generate.
44067         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
44068         probe.
44069         (setjmp): Rename to setjmp_symbol.
44070         (__sigsetjmp): Rename to __sigsetjmp_symbol.
44071         (_setjmp): Rename to _setjmp_symbol.
44072         (__sigsetjmp): Rename to __sigsetjmp_symbol.
44073         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
44074         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
44075         which setjmp to generate.
44076         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
44077         "longjmp_target" static probes.
44079 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
44081         * benchtests/README: Add note about output arguments.
44082         * benchtests/bench-sincos.c: Remove file.
44083         * benchtests/sincos-inputs: New file.
44084         * scripts/bench.pl: Identify output arguments and define
44085         static variables for them.
44087         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
44089         [BZ #15941]
44090         * Makefile (INSTALL): Add install-plain.texi as the primary
44091         dependency.
44092         * manual/install-plain.texi: New file.
44093         * manual/install.texi: Include node directive only for
44094         non-plaintext output.
44096 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
44098         * stdlib/longlong.h: Update from GCC.
44100         [BZ #6807]
44101         [BZ #15901]
44102         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
44103         * math/w_j0f.c (y0f): Likewise.
44104         * math/w_j0l.c (__y0l): Likewise.
44105         * math/w_j1.c (y1): Likewise.
44106         * math/w_j1f.c (y1f): Likewise.
44107         * math/w_j1l.c (__y1l): Likewise.
44108         * math/w_jn.c (yn): Likewise.
44109         * math/w_jnf.c (ynf): Likewise.
44110         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
44111         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
44112         value for Bessel function domain errors outside _SVID_ mode.
44113         Adjust sign of return value for yn (negative integer, 0).
44114         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
44115         by zero in return for negative x and set sign appropriately for
44116         negative n.
44117         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
44118         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
44119         * math/libm-test.inc (y0_test_data): Add more tests and adjust
44120         expectations in error cases.
44121         (y1_test_data): Likewise.
44122         (yn_test_data): Likewise.
44123         * sysdeps/i386/fpu/libm-test-ulps: Update.
44124         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44126 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
44128         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
44129         "64" to "64-v1".  Add "64-v2".
44130         (abi-64-options): Rename to ...
44131         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
44132         (abi-64-condition): Rename to ...
44133         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
44134         (abi-64-ld-soname): Rename to ...
44135         (abi-64-v1-ld-soname): ... this.
44136         (abi-64-v2-options): Define.
44137         (abi-64-v2-condition): Likewise.
44138         (abi-64-v2-ld-soname): Likewise.
44139         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
44140         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
44141         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
44142         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
44143         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
44145 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
44146             Alan Modra  <amodra@gmail.com>
44148         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
44149         New versions for use with the ELFv2 ABI.
44150         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
44151         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
44152         declaration.
44153         (struct La_ppc64v2_retval): Likewise.
44154         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
44155         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
44156         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
44157         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
44158         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
44159         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
44160         Do not save or restore CR.
44161         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
44162         (_dl_profile_resolve): Do no save or restore CR.  Support extended
44163         return values for ELFv2 ABI.  Fix location of FPR return registers.
44164         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
44165         updated values for _CALL_ELF == 2.
44166         (La_regs, La_retval, int_retval): Likewise.
44168 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
44170         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
44171         (FRAME_MIN_SIZE_PARM): Likewise.
44172         (FRAME_BACKCHAIN): Likewise.
44173         (FRAME_CR_SAVE): Likewise.
44174         (FRAME_LR_SAVE): Likewise.
44175         (FRAME_TOC_SAVE): Likewise.
44176         (FRAME_PARM_SAVE): Likewise.
44177         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
44178         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
44179         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
44180         (call_mcount_parm_offset): New macro.
44181         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
44182         (PROF): Use symbolic stack frame offsets.
44183         (TAIL_CALL_SYSCALL_ERROR): Likewise.
44184         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
44185         Redefine in terms of FRAME_MIN_SIZE.
44186         (_dl_runtime_resolve): Use symbolic stack frame offsets.
44187         (_dl_profile_resolve): Likewise.  Update comment.
44188         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
44189         symbols stack frame offsets.
44190         (__sigsetjmp): Likewise.
44191         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
44192         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
44193         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
44194         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
44196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
44197         (FRAME_BACKCHAIN): Remove.
44198         (FRAME_CR_SAVE): Likewise.
44199         (FRAME_LR_SAVE): Likewise.
44200         (FRAME_COMPILER_DW): Likewise.
44201         (FRAME_LINKER_DW): Likewise.
44202         (FRAME_TOC_SAVE): Likewise.
44203         (FRAME_PARM_SAVE): Likewise.
44204         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
44205         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
44206         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
44207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
44208         (CHECK_SP): Use symbolic stack frame offsets.
44209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
44210         zone" instead of caller's parameter save area for temp storage.
44211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
44212         Likewise.  Also, use symbolic stack frame offsets.
44213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
44214         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
44215         our own stack frame instead of the caller's.
44216         (__socket): Use symbolic stack frame offsets.
44218 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
44219             Alan Modra  <amodra@gmail.com>
44221         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
44222         Define.
44223         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
44224         (PPC64_LOCAL_ENTRY_OFFSET): Define.
44225         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
44226         New function.
44227         (elf_machine_fixup_plt): Call it.
44228         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
44229         reloc arguments.
44230         (elf_machine_rela): Update call to elf_machine_plt_conflict.
44231         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
44232         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
44233         r2 before calling target.
44235 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
44236             Alan Modra  <amodra@gmail.com>
44238         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
44239         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
44240         versions of macros to support ELFv2 ABI.
44241         (LOCALENTRY): New macro.
44242         (ENTRY, EALIGN): Use it.
44243         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
44244         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
44245         fall through into ENTRY entry point.
44246         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
44247         Only define if _CALL_ELF != 2.
44249         (elf_machine_matches_host): Verify ABI version matches.
44250         (RTLD_START): Use LOCALENTRY.
44251         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
44252         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
44253         (PLT_ENTRY_WORDS): New macro.
44254         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
44255         (elf_machine_runtime_setup): Support ELFv2 ABI.
44256         (elf_machine_fixup_plt): Likewise.
44257         (elf_machine_plt_conflict): Likewise.
44258         (resolve_ifunc): Likewise.
44259         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
44260         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
44261         Likewise.
44262         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
44263         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
44264         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
44265         (makecontext): Support ELFv2 ABI.
44266         * elf/elf.h (EF_PPC64_ABI): Define.
44268 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
44270         * sysdeps/powerpc/powerpc64/sysdep.h
44271         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
44272         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
44273         (ENTRY) [ASSEMBLER]: ... but instead here ...
44274         (EALIGN) [ASSEMBLER]: ... and here.
44275         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
44276         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
44277         (ENTRY_2) [!ASSEMBLER]: Use it.
44278         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
44279         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
44280         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
44281         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
44282         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
44283         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
44284         Use PPC64_LOAD_FUNCPTR.
44286         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
44288 2013-12-04  Alan Modra  <amodra@gmail.com>
44290         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
44291         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
44292         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
44293         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
44295         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
44296         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
44297         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
44298         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
44299         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
44300         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
44302 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
44304         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
44305         (__makecontext): Fix incorrect CFI when backtracing out of
44306         context created via makecontext.
44307         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
44308         (__setcontext): Fix incorrect CFI during switch to new context.
44309         (__novec_setcontext): Likewise.
44311 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
44313         [BZ #4772]
44314         * time/strptime_l.c (__strptime_internal): Allow modifiers
44315         in strptime.
44316         * time/tst-strptime.c (day_tests): Add testcase.
44318 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
44320         * scripts/bench.pl: Skip over blank lines.
44322 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
44324         [BZ #926]
44325         * manual/time.texi (Calendar Time): Clarify what timezone functions
44326         use.
44328 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44330         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44332 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
44334         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
44335         implementation.
44336         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
44337         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
44338         * debug/memset_chk.c (__memset_chk): Likewise.
44339         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
44340         * debug/strncpy_chk.c: Likewise.
44342 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
44344         [BZ #15268]
44345         [BZ #15425]
44346         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
44347         (__ieee754_exp): For possibly underflowing results, check size of
44348         result and force underflow exception if required.
44349         * math/auto-libm-test-in: Add more tests of exp.
44350         * math/auto-libm-test-out: Regenerated.
44351         * sysdeps/i386/fpu/libm-test-ulps: Update.
44352         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44354         [BZ #16283]
44355         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
44356         * math/w_exp2f.c (__exp2f): Likewise.
44357         * math/w_exp2l.c (__exp2l): Likewise.
44358         * math/auto-libm-test-in: Do not allow missing errno on exp2
44359         underflow.
44360         * math/auto-libm-test-out: Regenerated.
44362 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
44364         [BZ #16274]
44365         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
44366         handle filename validation.
44367         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
44368         (do_open): Delete.
44370 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
44372         [BZ #6786]
44373         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
44374         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
44375         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
44376         <float.h>.
44377         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
44378         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
44379         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
44380         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
44381         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
44382         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
44383         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
44384         * math/auto-libm-test-in: Don't allow missing errno from erfc.
44385         Add more erfc tests.
44386         * math/auto-libm-test-out: Regenerated.
44387         * sysdeps/i386/fpu/libm-test-ulps: Update.
44388         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44390         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
44391         exp2, expm1, j0 and j1.
44392         * math/auto-libm-test-out: Regenerated.
44393         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
44394         (erfc_test_data): Likewise.
44395         (exp_test_data): Likewise.
44396         (exp_tonearest_test_data): Likewise.
44397         (exp_towardzero_test_data): Likewise.
44398         (exp_downward_test_data): Likewise.
44399         (exp_upward_test_data): Likewise.
44400         (exp10_test_data): Likewise.
44401         (exp2_test_data): Likewise.
44402         (expm1_test_data): Likewise.
44403         (j0_test_data): Likewise.
44404         (j1_test_data): Likewise.
44405         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
44406         (input_flag_type): Add flag_xfail_rounding.
44407         (input_flags): Add xfail-rounding.
44408         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
44409         (output_for_one_input_case): Handle flag_xfail_rounding.
44410         * sysdeps/i386/fpu/libm-test-ulps: Update.
44411         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44413 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
44415         [BZ #16289]
44416         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
44417         division by 0.
44419 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
44421         [BZ #16195]
44422         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
44423         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
44424         (STAP_PROBE0): New macro.
44425         (STAP_PROBE1): Likewise.
44426         (STAP_PROBE2): Likewise.
44427         (STAP_PROBE3): Likewise.
44428         (STAP_PROBE4): Likewise.
44430 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
44432         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
44434 2013-12-02  Steve Ellcey  <sellcey@mips.com>
44436         * benchtests/Makefile (bench): Add sqrt.
44437         (LDLIBS-bench-sqrt): New.
44438         * benchtests/sqrt-input: New.
44440 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
44442         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
44443         (GAIH_EAI): Likewise.
44444         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
44445         (gaih_inet): Likewise.
44446         (getaddrinfo): Don't use GAIH_EAI.
44448         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
44449         (struct gaih): Remove definition.
44451 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
44453         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
44454         Use HERRNOP directly.
44456 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44458         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44460 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
44462         * math/gen-auto-libm-tests.c (test_functions): Add more
44463         single-argument functions.
44464         (special_fill_pi_2): New function.
44465         (special_fill_minus_pi_2): Likewise.
44466         (special_fill_pi_6): Likewise.
44467         (special_fill_minus_pi_6): Likewise.
44468         (special_fill_pi_3): Likewise.
44469         (special_fill_2pi_3): Likewise.
44470         (special_fill_e): Likewise.
44471         (special_fill_1_e): Likewise.
44472         (special_fill_e_minus_1): Likewise.
44473         (special_real_inputs): Add more special inputs.
44474         (output_for_one_input_case): Do not require ERANGE on underflow to
44475         zero if round-to-nearest result does not underflow to zero, unless
44476         exact results required.
44477         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
44478         atan, atanh, cbrt, cos and cosh.
44479         * math/auto-libm-test-out: Regenerated.
44480         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
44481         (acos_tonearest_test_data): Likewise.
44482         (acos_towardzero_test_data): Likewise.
44483         (acos_downward_test_data): Likewise.
44484         (acos_upward_test_data): Likewise.
44485         (acosh_test_data): Likewise.
44486         (asin_test_data): Likewise.
44487         (asin_tonearest_test_data): Likewise.
44488         (asin_towardzero_test_data): Likewise.
44489         (asin_upward_test_data): Likewise.
44490         (asinh_test_data): Likewise.
44491         (atan_test_data): Likewise.
44492         (atanh_test_data): Likewise.
44493         (cbrt_test_data): Likewise.
44494         (cos_test_data): Likewise.
44495         (cos_tonearest_test_data): Likewise.
44496         (cos_towardzero_test_data): Likewise.
44497         (cos_downward_test_data): Likewise.
44498         (cos_upward_test_data): Likewise.
44499         (cosh_test_data): Likewise.
44500         (cosh_tonearest_test_data): Likewise.
44501         (cosh_towardzero_test_data): Likewise.
44502         (cosh_downward_test_data): Likewise.
44503         (cosh_upward_test_data): Likewise.
44504         * sysdeps/i386/fpu/libm-test-ulps: Update.
44505         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44507 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
44509         [BZ #6787]
44510         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
44511         * math/w_exp10f.c (__exp10f): Likewise.
44512         * math/w_exp10l.c (__exp10l): Likewise.
44513         * math/libm-test.inc (exp10_test_data): Add more tests and expect
44514         errno settings in existing tests.
44516         [BZ #14032]
44517         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
44518         precision control set to double precision.
44519         * sysdeps/i386/fpu/w_sqrt.c: New file.
44520         * math/auto-libm-test-in: Add more tests.
44521         * math/auto-libm-test-out: Update.
44523         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
44524         (sqrt_test_tonearest): New function.
44525         (sqrt_towardzero_test_data): New variable.
44526         (sqrt_test_towardzero): New function.
44527         (sqrt_downward_test_data): New variable.
44528         (sqrt_test_downward): New function.
44529         (sqrt_upward_test_data): New variable.
44530         (sqrt_test_upward): New function.
44531         (main): Call the new functions.
44533         * math/gen-auto-libm-tests.c: New file.
44534         * math/auto-libm-test-in: Likewise.
44535         * math/auto-libm-test-out: New generated file.
44536         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
44537         variables.
44538         (%beautify): Add generated representations of zero.
44539         (top level): Set $auto_input and call parse_auto_input.
44540         (beautify): Remove trailing "f" from hex float constants.
44541         (parse_args): Handle XFAIL_TEST.
44542         (convert_condition): New function.
44543         (or_value): Likewise.
44544         (or_cond_value): Likewise.
44545         (generate_testfile): Handle AUTO_TESTS_* lines.
44546         (parse_auto_input): New function.
44547         * math/libm-test.inc (XFAIL_TEST): New macro.
44548         (ERRNO_UNCHANGED): Update value.
44549         (ERRNO_EDOM): Likewise.
44550         (ERRNO_ERANGE): Likewise.
44551         (IGNORE_RESULT): Likewise.
44552         (TEST_COND_flt_32): New macro.
44553         (TEST_COND_dbl_64): Likewise.
44554         (TEST_COND_ldbl_96_intel): Likewise.
44555         (TEST_COND_ldbl_96_m68k): Likewise.
44556         (TEST_COND_ldbl_128): Likewise.
44557         (TEST_COND_ldbl_128ibm): Likewise.
44558         (TEST_COND_long32): Likewise.
44559         (TEST_COND_long64): Likewise.
44560         (TEST_COND_before_rounding): Likewise.
44561         (TEST_COND_after_rounding): Likewise.
44562         (enable_test): Handle XFAIL_TEST flag.
44563         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
44564         with finite results.
44565         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
44566         auto-libm-test-out.
44568 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
44569             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44571         [BZ #16214]
44572         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
44573         __tls_get_addr_internal instead of __tls_get_offset in order to
44574         avoid GOT pointer dependency.  Make rtld export
44575         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
44576         __tls_get_addr since we are a __tls_get_offset platform.
44577         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
44578         GOT pointer being set up before.
44579         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
44581 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
44583         * manual/math.texi (Errors in Math Functions): Document accuracy
44584         goals.
44586         [BZ #15004]
44587         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
44588         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
44589         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
44590         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
44591         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
44592         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
44593         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
44594         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
44595         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
44596         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
44597         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
44598         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
44599         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
44600         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
44601         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
44602         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
44604         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
44605         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
44606         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
44607         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
44608         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
44609         Likewise.
44610         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
44611         Likewise.
44612         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
44613         Likewise.
44614         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
44615         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
44616         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
44617         atomic-feupdateenv and flt-rounds.
44618         * sysdeps/powerpc/nofpu/Versions (libc): Add
44619         __atomic_feholdexcept, __atomic_feclearexcept,
44620         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
44621         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
44622         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
44623         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
44624         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
44625         here.
44626         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
44627         Update.
44629         * manual/arith.texi (FP Exceptions): Document that exceptions may
44630         not be raised when matherr is used.
44631         (Math Error Reporting): Document overflow in directed rounding
44632         modes.  Document that errno may not be set when finite values are
44633         returned on overflow.  Document intent to set errno on underflow
44634         only for underflow to zero.
44636         [BZ #16271]
44637         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
44638         round-to-nearest then adjust result for other rounding modes.
44639         * include/fenv.h (fegetround): Use libm_hidden_proto.
44640         * math/fegetround.c (fegetround): Use libm_hidden_def.
44641         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
44642         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
44643         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
44644         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
44645         Likewise.
44646         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
44647         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
44648         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
44649         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
44651 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
44653         [BZ #16077]
44654         * nss/Versions (libnss_files): Add
44655         _nss_files_gethostbyname3_r.
44656         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
44657         New function.
44658         (HOST_DB_LOOKUP): Remove macro.
44659         (_nss_files_gethostbyname_r): Implement function without the
44660         HOST_DB_LOOKUP macro.
44661         (_nss_files_gethostbyname2_r): Likewise.
44663 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
44665         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
44667 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
44669         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
44670         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
44671         warning.
44673 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44675         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
44676         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
44677         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
44678         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
44679         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
44680         __fe_nomask_env_priv and attribute_hidden.
44681         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
44682         (libc_feupdateenv_test_ppc): Likewise.
44683         (libc_feresetround_ppc): Likewise.
44684         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
44685         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
44686         compat_symbol macro.
44687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
44688         (__fe_nomask_env): Likewise.
44689         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
44691 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
44693         * string/Makefile: Remove ifunc tests.
44694         * string/test-string.h: Define TEST_IFUNC.
44695         * string/test-bcopy-ifunc.c: Remove.
44696         * string/test-bzero-ifunc.c: Likewise.
44697         * string/test-memccpy-ifunc.c: Likewise.
44698         * string/test-memchr-ifunc.c: Likewise.
44699         * string/test-memcmp-ifunc.c: Likewise.
44700         * string/test-memcpy-ifunc.c: Likewise.
44701         * string/test-memmem-ifunc.c: Likewise.
44702         * string/test-memmove-ifunc.c: Likewise.
44703         * string/test-mempcpy-ifunc.c: Likewise.
44704         * string/test-memrchr-ifunc.c: Likewise.
44705         * string/test-memset-ifunc.c: Likewise.
44706         * string/test-rawmemchr-ifunc.c: Likewise.
44707         * string/test-stpcpy-ifunc.c: Likewise.
44708         * string/test-stpncpy-ifunc.c: Likewise.
44709         * string/test-strcasecmp-ifunc.c: Likewise.
44710         * string/test-strcasestr-ifunc.c: Likewise.
44711         * string/test-strcat-ifunc.c: Likewise.
44712         * string/test-strchr-ifunc.c: Likewise.
44713         * string/test-strchrnul-ifunc.c: Likewise.
44714         * string/test-strcmp-ifunc.c: Likewise.
44715         * string/test-strcpy-ifunc.c: Likewise.
44716         * string/test-strcspn-ifunc.c: Likewise.
44717         * string/test-strlen-ifunc.c: Likewise.
44718         * string/test-strncasecmp-ifunc.c: Likewise.
44719         * string/test-strncat-ifunc.c: Likewise.
44720         * string/test-strncmp-ifunc.c: Likewise.
44721         * string/test-strncpy-ifunc.c: Likewise.
44722         * string/test-strnlen-ifunc.c: Likewise.
44723         * string/test-strpbrk-ifunc.c: Likewise.
44724         * string/test-strrchr-ifunc.c: Likewise.
44725         * string/test-strspn-ifunc.c: Likewise.
44726         * string/test-strstr-ifunc.c: Likewise.
44728 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
44730         * benchtests/Makefile: Remove ifunc tests.
44731         * benchtests/bench-string.h: Define TEST_IFUNC.
44732         * benchtests/bench-bcopy-ifunc.c: Remove.
44733         * benchtests/bench-bzero-ifunc.c: Likewise.
44734         * benchtests/bench-memccpy-ifunc.c: Likewise.
44735         * benchtests/bench-memchr-ifunc.c: Likewise.
44736         * benchtests/bench-memcmp-ifunc.c: Likewise.
44737         * benchtests/bench-memcpy-ifunc.c: Likewise.
44738         * benchtests/bench-memmem-ifunc.c: Likewise.
44739         * benchtests/bench-memmove-ifunc.c: Likewise.
44740         * benchtests/bench-mempcpy-ifunc.c: Likewise.
44741         * benchtests/bench-memrchr-ifunc.c: Likewise.
44742         * benchtests/bench-memset-ifunc.c: Likewise.
44743         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
44744         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
44745         * benchtests/bench-stpcpy-ifunc.c: Likewise.
44746         * benchtests/bench-stpncpy-ifunc.c: Likewise.
44747         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
44748         * benchtests/bench-strcasestr-ifunc.c: Likewise.
44749         * benchtests/bench-strcat-ifunc.c: Likewise.
44750         * benchtests/bench-strchr-ifunc.c: Likewise.
44751         * benchtests/bench-strchrnul-ifunc.c: Likewise.
44752         * benchtests/bench-strcmp-ifunc.c: Likewise.
44753         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
44754         * benchtests/bench-strcpy-ifunc.c: Likewise.
44755         * benchtests/bench-strcspn-ifunc.c: Likewise.
44756         * benchtests/bench-strlen-ifunc.c: Likewise.
44757         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
44758         * benchtests/bench-strncat-ifunc.c: Likewise.
44759         * benchtests/bench-strncmp-ifunc.c: Likewise.
44760         * benchtests/bench-strncpy-ifunc.c: Likewise.
44761         * benchtests/bench-strnlen-ifunc.c: Likewise.
44762         * benchtests/bench-strpbrk-ifunc.c: Likewise.
44763         * benchtests/bench-strrchr-ifunc.c: Likewise.
44764         * benchtests/bench-strsep-ifunc.c: Likewise.
44765         * benchtests/bench-strspn-ifunc.c: Likewise.
44766         * benchtests/bench-strstr-ifunc.c: Likewise.
44768 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
44770         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
44772 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
44774         * resolv/netdb.h: Use __glibc_reserved instead __unused.
44775         * rt/aio.h: Likewise.
44776         * sysdeps/gnu/bits/utmp.h: Likewise.
44777         * sysdeps/gnu/bits/utmpx.h: Likewise.
44778         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
44779         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
44780         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
44781         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
44782         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
44783         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
44784         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
44785         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
44786         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
44787         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
44788         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
44789         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
44790         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
44791         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
44792         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
44793         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
44794         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
44795         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
44796         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
44797         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
44798         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
44799         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
44800         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
44801         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
44802         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
44803         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44804         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
44805         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
44806         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
44807         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
44808         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
44809         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
44810         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
44811         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
44812         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
44813         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
44814         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
44815         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
44816         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
44817         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
44818         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
44819         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
44821 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
44823         [BZ #16245]
44824         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
44825         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
44827 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
44829         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
44830         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
44831         Likewise.
44833 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44835         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
44836         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
44837         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
44838         (__fesetround): Remove define.
44839         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
44840         rounding and exceptions handling.
44841         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
44842         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
44843         (__fe_nomask_env): Likewise.
44844         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
44845         __fegetround instead of fegetround.
44846         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
44847         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
44849 2013-11-21  Roland McGrath  <roland@hack.frob.com>
44851         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
44852         it's there.
44854         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
44856 2013-11-21  Meador Inge  <meadori@codesourcery.com>
44858         [BZ #11157]
44859         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
44860         (encrypt_r): Likewise.
44861         * malloc/obstack.h (obstack_free): Likewise.
44862         * posix/unistd.h (encrypt): Likewise.
44864 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
44866         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
44867         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
44868         DL_CALL_DT_FINI() that call the functions directly.
44869         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
44870         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
44871         * elf/dl-fini.c: Likewise.
44873 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
44875         * malloc/hooks.c (memalign_check): Add alignment rounding.
44876         * malloc/malloc.c (_mid_memalign): New function.
44877         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
44878         Implement by calling _mid_memalign.
44879         * manual/probes.texi (Memory Allocation Probes): Remove
44880         memory_valloc_retry and memory_pvalloc_retry.
44882 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
44884         * locale/programs/locarchive.c (open_archive): Add const
44885         qualifier to ARCHIVEFNAME and copy default fname to
44886         DEFAULT_FNAME.
44888         [BZ #15601]
44889         * libio/tst-widetext.input: Rename Oriya to Odia.
44890         * locale/iso-639.def: Likewise.
44892         * manual/probes.texi (Mathematical Function Probes): Add
44893         documentation for sin, cos, asin and acos probes.
44894         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
44895         (__sin32): Add slowasin probe.
44896         (__cos32): Add slowacos probe.
44897         (__mpsin): Add slowsin probe.
44898         (__mpcos): Add slowcos probe.
44900 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
44902         [BZ #15483]
44903         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
44904         thread-local __sim_exceptions_thread and global
44905         __sim_exceptions_global.
44906         (__sim_disabled_exceptions): Change to thread-local
44907         __sim_disabled_exceptions_thread and global
44908         __sim_disabled_exceptions_global.
44909         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
44910         and global __sim_round_mode_global.
44911         (__simulate_exceptions): Use thread-local floating-point state and
44912         set global state from it as needed.
44913         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
44914         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
44915         __sim_round_mode_thread.
44916         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
44917         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
44918         and global __sim_exceptions_global.
44919         (__sim_disabled_exceptions): Change to thread-local
44920         __sim_disabled_exceptions_thread and global
44921         __sim_disabled_exceptions_global.
44922         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
44923         and global __sim_round_mode_global.
44924         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
44925         (SIM_SET_GLOBAL): Likewise.
44926         * sysdeps/powerpc/soft-fp/sfp-machine.h
44927         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
44928         __sim_round_mode_thread.
44929         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
44930         __sim_disabled_exceptions_thread.
44931         (__sim_exceptions): Change to __sim_exceptions_thread.
44932         (__sim_disabled_exceptions): Change to
44933         __sim_disabled_exceptions_thread.
44934         (__sim_round_mode): Change to __sim_round_mode_thread.
44935         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
44936         thread-local floating-point state and set global state from it as
44937         needed.
44938         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
44939         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
44940         (__sim_disabled_exceptions): Remove extern declaration.
44941         (feenableexcept): Use thread-local floating-point state and set
44942         global state from it as needed.
44943         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
44944         extern declaration.
44945         (__sim_disabled_exceptions): Likewise.
44946         (__sim_round_mode): Likewise.
44947         (__fegetenv): Use thread-local floating-point state.
44948         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
44949         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
44950         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
44951         floating-point state and set global state from it as needed.
44952         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
44953         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
44954         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
44955         Likewise.
44956         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
44957         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
44958         Likewise.
44959         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
44960         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
44961         Use __sim_round_mode_thread.
44962         * math/test-fenv-tls.c: New file.
44963         * math/Makefile (tests): Add test-fenv-tls.
44964         ($(objpfx)test-fenv-tls): Depend on
44965         $(common-objpfx)nptl/libpthread.so.
44967 2013-11-19  Andreas Schwab  <schwab@suse.de>
44969         * locale/programs/locale.c (show_info): Decode wordarray elements.
44970         * locale/categories.def (LC_MONETARY): Add element for
44971         _NL_MONETARY_CRNCYSTR.
44972         * locale/C-monetary.c (conversion_rate): New variable.
44973         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
44974         element.
44976 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
44978         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
44979         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
44981 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
44983         * elf/Makefile (tst-auxv): New test.
44984         * elf/tst-auxv.c: New
44985         * elf/rtld.c (dl_main): Adjust AT_EXECFN
44987 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
44989         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
44990         (hidden_proto): Caller changed.
44991         (hidden_tls_proto): New macro.
44992         (libc_hidden_tls_proto): Likewise.
44993         (rtld_hidden_tls_proto): Likewise.
44994         (libm_hidden_tls_proto): Likewise.
44995         (libresolv_hidden_tls_proto): Likewise.
44996         (librt_hidden_tls_proto): Likewise.
44997         (libdl_hidden_tls_proto): Likewise.
44998         (libnss_files_hidden_tls_proto): Likewise.
44999         (libnsl_hidden_tls_proto): Likewise.
45000         (libnss_nisplus_hidden_tls_proto): Likewise.
45001         (libutil_hidden_tls_proto): Likewise.
45003 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
45005         [BZ #10253]
45006         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
45007         (decompose_rpath): Defer expansion to fillin_rpath.
45008         (_dl_init_paths): Pass linkmap to fillin_rpath.
45010 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
45012         * benchtests/Makefile: Add strsep.
45013         * benchtests/bench-strsep.c: New file: strsep benchtest.
45014         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
45016 2013-11-18  Andreas Schwab  <schwab@suse.de>
45018         * locale/programs/locale.c (show_info) [case byte]: Check for
45019         '\377' instead of '\177'.
45020         * locale/C-monetary.c (not_available): Always use "\377".
45021         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
45022         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
45023         detect unavailable sign_posn locale elements.
45024         * locale/localeconv.c (__localeconv): For grouping and
45025         mon_grouping handle "\177" and "\377" like no grouping.
45026         (INT_ELEM): New macro.  Use it to set all numeric members.
45027         * locale/programs/ld-monetary.c (monetary_read)
45028         <tok_mon_grouping>: Normalize single -1 to the empty string.
45029         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
45030         Likewise.
45032 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
45034         [BZ #16055]
45035         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
45036         when we match (nil).
45037         * stdio-common/tst-sscanf.c (struct test): Add testcase.
45039 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
45041         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
45042         (NO_TEST_INLINE): Update value.
45043         (ERRNO_UNCHANGED): Likewise.
45044         (ERRNO_EDOM): Likewise.
45045         (ERRNO_ERANGE): Likewise.
45046         (IGNORE_RESULT): Likewise.
45047         (check_float_internal): Check signs of NaN results if
45048         TEST_NAN_SIGN used.
45049         (check_complex): Pass TEST_NAN_SIGN flag through to second
45050         check_float_internal call.
45051         (copysign_test_data): Add tests with quiet NaNs as second
45052         argument.  Use TEST_NAN_SIGN.
45053         (fabs_test_data): Add test of negative quiet NaN argument.  Use
45054         TEST_NAN_SIGN.
45055         (signbit_test_data): Add tests of quiet NaN argument.
45056         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
45058         * math/gen-libm-test.pl (show_exceptions): Take extra argument
45059         $ignore_result.
45060         (parse_args): Handle function results specified as IGNORE.
45061         * math/libm-test.inc (IGNORE_RESULT): New macro.
45062         (check_float_internal): Do not check numerical result if flag
45063         IGNORE_RESULT set.
45064         (check_complex): Pass through IGNORE_RESULT to second
45065         check_float_internal call.
45066         (check_int): Do not check numerical result if flag IGNORE_RESULT
45067         set.
45068         (check_long): Likewise.
45069         (check_bool): Likewise.
45070         (check_longlong): Likewise.
45071         (lrint_test_data): Add tests of infinite and NaN arguments.
45072         (lrint_tonearest_test_data): Likewise.
45073         (lrint_towardzero_test_data): Likewise.
45074         (lrint_downward_test_data): Likewise.
45075         (lrint_upward_test_data): Likewise.
45076         (llrint_test_data): Likewise.
45077         (llrint_tonearest_test_data): Likewise.
45078         (llrint_towardzero_test_data): Likewise.
45079         (llrint_downward_test_data): Likewise.
45080         (llrint_upward_test_data): Likewise.
45081         (lround_test_data): Likewise.
45082         (llround_test_data): Likewise.
45084         * math/libm-test.inc (NO_TEST_INLINE): New macro.
45085         (ERRNO_UNCHANGED): Update value.
45086         (ERRNO_EDOM): Likewise.
45087         (ERRNO_ERANGE): Likewise.
45088         (NO_TEST_INLINE_FLOAT): New macro.
45089         (NO_TEST_INLINE_DOUBLE): Likewise.
45090         (enable_test): New function.
45091         (RUN_TEST_f_f): Check enable_test before running test.
45092         (RUN_TEST_2_f): Likewise.
45093         (RUN_TEST_fff_f): Likewise.
45094         (RUN_TEST_c_f): Likewise.
45095         (RUN_TEST_f_f1): Likewise.
45096         (RUN_TEST_fF_f1): Likewise.
45097         (RUN_TEST_fI_f1): Likewise.
45098         (RUN_TEST_ffI_f1): Likewise.
45099         (RUN_TEST_c_c): Likewise.
45100         (RUN_TEST_cc_c): Likewise.
45101         (RUN_TEST_f_i): Likewise.
45102         (RUN_TEST_f_i_tg): Likewise.
45103         (RUN_TEST_ff_i_tg): Likewise.
45104         (RUN_TEST_f_b): Likewise.
45105         (RUN_TEST_f_b_tg): Likewise.
45106         (RUN_TEST_f_l): Likewise.
45107         (RUN_TEST_f_L): Likewise.
45108         (RUN_TEST_fFF_11): Likewise.
45109         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
45110         conditionals.
45111         (cosh_test_data): Likewise.
45112         (exp_test_data): Likewise.
45113         (expm1_test_data): Likewise.
45114         (hypot_test_data): Likewise.
45115         (pow_test_data): Likewise.
45116         (sinh_test_data): Likewise.
45117         (tanh_test_data): Likewise.
45118         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
45119         flags argument.
45121         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
45122         tests with quiet NaN input and output.
45123         (acosh_test_data): Likewise.
45124         (asin_test_data): Likewise.
45125         (asinh_test_data): Likewise.
45126         (atan_test_data): Likewise.
45127         (atanh_test_data): Likewise.
45128         (atan2_test_data): Likewise.
45129         (cbrt_test_data): Likewise.
45130         (cos_test_data): Likewise.
45131         (cosh_test_data): Likewise.
45132         (erf_test_data): Likewise.
45133         (erfc_test_data): Likewise.
45134         (exp_test_data): Likewise.
45135         (exp10_test_data): Likewise.
45136         (exp2_test_data): Likewise.
45137         (expm1_test_data): Likewise.
45138         (hypot_test_data): Likewise.
45139         (j0_test_data): Likewise.
45140         (j1_test_data): Likewise.
45141         (jn_test_data): Likewise.
45142         (lgamma_test_data): Likewise.
45143         (log_test_data): Likewise.
45144         (log10_test_data): Likewise.
45145         (log1p_test_data): Likewise.
45146         (log2_test_data): Likewise.
45147         (pow_test_data): Likewise.
45148         (scalb_test_data): Likewise.
45149         (sin_test_data): Likewise.
45150         (sincos_test_data): Likewise.
45151         (sinh_test_data): Likewise.
45152         (tan_test_data): Likewise.
45153         (tanh_test_data): Likewise.
45154         (tgamma_test_data): Likewise.
45155         (y0_test_data): Likewise.
45156         (y1_test_data): Likewise.
45157         (yn_test_data): Likewise.
45159         [BZ #16167]
45160         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
45161         argument being NaN and avoid computations with second argument in
45162         that case.
45163         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
45164         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
45165         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
45167 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
45169         * locale/iso-639.def: Add Chitwani Tharu (the).
45171 2013-11-14  Andreas Schwab  <schwab@suse.de>
45173         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
45174         word instead of empty string.
45176 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45178         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
45179         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
45180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
45181         (__fe_nomask_env): Likewise.
45183 2013-11-13  Steve Ellcey  <sellcey@mips.com>
45185         * benchtests/bench-timing.h: Include time.h.
45187 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
45189         [BZ #15997]
45190         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
45191         to 3.4.0 for x32.
45192         * sysdeps/unix/sysv/linux/configure: Regenerated.
45194 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
45196         [BZ #16151]
45197         * stdlib/strtod_l.c (round_and_return): Do not consider
45198         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
45199         exponent one less than half the least subnormal exponent.
45200         * stdlib/test-strtod-round-data: Add more tests.
45201         * stdlib/tst-strtod-round.c (tests): Regenerated.
45203 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45205         [BZ #14143]
45206         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
45207         (__fe_mask_env): Likewise.
45208         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
45209         libm_hidden_proto and add function prototype.
45210         (__fe_mask_env): Add function prototype.
45211         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
45212         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
45213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
45214         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
45215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
45216         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
45218 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
45220         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
45221         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
45223 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
45225         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
45226         of htab_find_slot().
45228 2013-11-11  David S. Miller  <davem@davemloft.net>
45230         [BZ #16150]
45231         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
45232         symbol in the non-vis3 case in static builds.
45233         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
45234         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
45235         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
45236         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
45238 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
45240         [BZ #387]
45241         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
45242         it is empty.
45244 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45246         * benchtests/Makefile: Add bench-strtod.
45247         * benchtests/bench-strtod.c: New file: strtod benchtest
45249 2013-11-11  Andreas Schwab  <schwab@suse.de>
45251         [BZ #16153]
45252         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
45253         terminating NUL in key length.
45255 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45257         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
45258         Add artificial ODP entry for vDSO symbol for PPC64.
45259         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
45260         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
45262 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
45264         [BZ #15374]
45265         * nss/getent.c (services_keys): Recognize services starting with digit.
45267 2013-11-06  David S. Miller  <davem@davemloft.net>
45269         [BZ #15985]
45270         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
45271         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
45273 2013-11-06  Will Newton  <will.newton@linaro.org>
45275         * manual/memory.texi (Malloc Examples): Remove register
45276         keyword from examples.
45278 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
45280         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
45282 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
45284         [BZ #6981]
45285         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
45286         depending on [__GCC_IEC_559 > 0].
45287         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
45288         depending on [__GCC_IEC_559_COMPLEX > 0].
45290 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
45292         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
45293         to iso-639.def.
45295 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
45297         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
45299 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
45301         [BZ #16112]
45302         * malloc/malloc (malloc_info): Do not handle first bin as
45303         special case.
45305 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
45307         * locale/iso-639.def: Add Central Nahuatl (nhn).
45309 2013-11-01  Bruno Haible  <bruno@clisp.org>
45311         [BZ #7003]
45312         * manual/math.texi (BSD Random): Specify range upper bound as
45313         in POSIX.
45315 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
45317         * locale/iso-639.def: Add Meadow Mari (mhr).
45319 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
45321         [BZ #14752], [BZ #15763]
45322         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
45323         Validate name.
45324         * rt/tst_shm.c: Add test for escaping directory.
45326 2013-10-31  Andreas Schwab  <schwab@suse.de>
45328         [BZ #15917]
45329         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
45330         followed by 'x' as part of digit sequence.
45331         * stdio-common/tst-sscanf.c (double_tests2): New tests.
45333 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
45335         [BZ #16037]
45336         * configure.ac: allow GNU Make 4.0 and greater.
45337         * configure: Regenerated.
45339 2013-10-30  Will Newton  <will.newton@linaro.org>
45341         [BZ #16038]
45342         * malloc/hooks.c (memalign_check): Limit alignment to the
45343         maximum representable power of two.
45344         * malloc/malloc.c (__libc_memalign): Likewise.
45345         * malloc/tst-memalign.c (do_test): Add test for very
45346         large alignment values.
45347         * malloc/tst-posix_memalign.c (do_test): Likewise.
45349 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
45351         [BZ #11087]
45352         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
45353         (munmap_chunk): Likewise.
45354         (mremap_chunk): Likewise.
45356 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
45358         [BZ #15799]
45359         * stdlib/div.c (div): Remove obsolete code.
45360         * stdlib/ldiv.c (ldiv): Likewise.
45361         * stdlib/lldiv.c (lldiv): Likewise.
45363 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
45365         [BZ #16071]
45366         * nss/nss_files/files-XXX.c (get_contents_ret): New
45367         enumerator.
45368         (get_contents): New function.
45369         (internal_getent): Use it.  Expand size of LINEBUFLEN.
45371 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
45373         * configure.in: Moved to ...
45374         * configure.ac: ... here. Change reference to configure.in
45375         to configure.ac.
45376         * sysdeps/arm/preconfigure.ac: ... here.
45377         configure.in to configure.ac.
45378         * sysdeps/gnu/configure.in: Moved to ...
45379         * sysdeps/gnu/configure.ac: ... here.
45380         * sysdeps/i386/configure.in: Moved to ...
45381         * sysdeps/i386/configure.ac: ... here.
45382         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
45383         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
45384         * sysdeps/mach/configure.in: Moved to ...
45385         * sysdeps/mach/configure.ac: ... here.
45386         * sysdeps/mach/hurd/configure.in: Moved to ...
45387         * sysdeps/mach/hurd/configure.ac: ... here.
45388         * sysdeps/powerpc/configure.in: Moved to ...
45389         * sysdeps/powerpc/configure.ac: ... here.
45390         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
45391         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
45392         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
45393         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
45394         * sysdeps/s390/s390-32/configure.in: Moved to ...
45395         * sysdeps/s390/s390-32/configure.ac: ... here.
45396         * sysdeps/s390/s390-64/configure.in: Moved to ...
45397         * sysdeps/s390/s390-64/configure.ac: ... here.
45398         * sysdeps/sh/configure.in: Moved to ...
45399         * sysdeps/sh/configure.ac: ... here.
45400         * sysdeps/sparc/configure.in: Moved to ...
45401         * sysdeps/sparc/configure.ac: ... here.
45402         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
45403         * sysdeps/unix/sysv/linux/configure.ac: ... here.
45404         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
45405         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
45406         * sysdeps/x86_64/configure.in: Moved to ...
45407         * sysdeps/x86_64/configure.ac: ... here.
45408         * sysdeps/x86_64/preconfigure.in: Moved to ...
45409         * sysdeps/x86_64/preconfigure.ac: ... here.
45410         * aclocal.m4: Change reference to configure.in to configure.ac.
45411         * config.h.in: Likewise.
45412         * manual/install.texi: Likewise.
45413         * manual/maint.texi: Likewise.
45414         * Makefile: Likewise.
45415         * malloc/Makefile: Likewise.
45416         * nscd/Makefile: Likewise.
45417         * Makeconfig: Change reference to configure.in and
45418         preconfigure.in to configure.ac and preconfigure.ac
45419         respectively.
45420         * INSTALL: Regenerated.
45421         * configure: Likewise.
45422         * sysdeps/gnu/configure: Likewise.
45423         * sysdeps/i386/configure: Likewise.
45424         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
45425         * sysdeps/mach/configure: Likewise.
45426         * sysdeps/mach/hurd/configure: Likewise.
45427         * sysdeps/powerpc/configure: Likewise.
45428         * sysdeps/powerpc/powerpc32/configure: Likewise.
45429         * sysdeps/powerpc/powerpc64/configure: Likewise.
45430         * sysdeps/s390/s390-32/configure: Likewise.
45431         * sysdeps/s390/s390-64/configure: Likewise.
45432         * sysdeps/sh/configure: Likewise.
45433         * sysdeps/sparc/configure: Likewise.
45434         * sysdeps/unix/sysv/linux/configure: Likewise.
45435         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
45436         * sysdeps/x86_64/configure: Likewise.
45437         * sysdeps/x86_64/preconfigure: Likewise.
45439 2013-10-29  Andreas Schwab  <schwab@suse.de>
45441         * stdio-common/Makefile (tst-swscanf-ENV): Define.
45443 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
45445         * benchtests/pow-inputs: Add new inputs.
45447         * benchtests/exp-inputs: Add new inputs.
45449         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
45450         conditional check for return value.
45451         (__cos32): Likewise.
45453 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45455         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
45456         to provide a boost for large inputs with word alignment.
45457         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
45458         implementation based on optimized PPC64 strcpy.
45459         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
45460         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
45461         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
45462         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
45464 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
45466         [BZ #2801]
45467         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
45469 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
45471         [BZ #14876]
45472         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
45473         * time/tst-strptime.c (day_tests): Add testcase.
45475 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
45477         [BZ #14029]
45478         * manual/pattern.texi: Acknowledge that fnmatch can fail.
45480 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
45482         [BZ #16074]
45483         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
45484         MAP_FAILED on error.
45486 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
45488         [BZ #16072]
45489         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
45490         heap for large requests.
45492 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
45494         [BZ #9954]
45495         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
45496         result if the result has no associated interface.
45497         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
45498         interface for all 127.X.Y.Z addresses.
45500 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
45502         * locale/iso-639.def: Add Ligurian (lij)
45504 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
45506         [BZ #15825]
45507         * sunrpc/rpc_main.c: Document rpcgen -5.
45509 2013-10-19  Michael Stahl  <mstahl@redhat.com>
45511         * elf/rtld.c (do_preload): Print the reason why preloading failed.
45513 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
45515         [BZ #10278]
45516         * posix/glob.c: Match only directories when trailing slash is present.
45517         * posix/tst-gnuglob.c (my_opendir): Do not open files.
45518         (main): Add testcase.
45520 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
45522         [BZ #15670]
45523         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
45525 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
45527         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
45528         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
45529         AUTH_DES and cindex for FIPS 140-2.
45530         (DES Encryption): Add cindex FIPS 46-3.
45532         * locale/locarchive.h (struct locarhandle): Add fname.
45533         * locale/programs/localedef.c (main): Pass ARGV[remaining]
45534         if an optional argument was specified to --list-archive,
45535         otherwise NULL.
45536         * locale/programs/locarchive.c (show_archive_content): Take new
45537         argument fname and pass it via ah.fname to open_archive.
45538         * locale/programs/localedef.h: Update decl.
45539         (open_archive): If AH->fname is non-null, open that file
45540         rather than the default file name, and don't ignore ENOENT.
45541         (create_archive): Set AH.fname to NULL.
45542         (delete_locales_from_archive): Likewise.
45543         (add_locales_to_archive): Likewise.
45544         * locale/programs/locfile.c (write_all_categories): Likewise.
45546 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
45547             Aldy Hernandez  <aldyh@redhat.com>
45549         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
45550         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
45551         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
45552         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
45553         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
45554         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
45555         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
45556         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
45557         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
45558         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
45559         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
45560         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
45561         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
45562         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
45563         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
45564         Likewise.
45565         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
45566         Likewise.
45567         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
45568         Likewise.
45569         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
45570         Likewise.
45571         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
45572         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
45573         Likewise.
45574         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
45575         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
45576         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
45577         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
45578         Likewise.
45579         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
45580         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
45581         * sysdeps/powerpc/preconfigure: Likewise.
45582         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
45583         Likewise.
45584         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
45585         Replace contents of file by #include of <fenv_libc.h>.
45586         * sysdeps/powerpc/soft-fp/sfp-machine.h
45587         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
45588         and <sys/prctl.h>.
45589         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
45590         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
45591         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
45592         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
45593         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
45594         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
45595         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
45596         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
45597         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
45598         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
45599         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
45600         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
45601         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
45602         Allow copysignl PLT reference to be missing.
45604 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
45605             Joseph Myers  <joseph@codesourcery.com
45607         [BZ #15948]
45608         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
45609         single character.
45610         (add_to_tablewc): Assert sequence of wide characters is nonempty.
45612 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
45614         * elf/tst-tls-dlinfo.c: Don't include tls.h.
45615         * elf/tst-tls1.c: Likewise.
45616         * elf/tst-tls10.h: Likewise.
45617         * elf/tst-tls14.c: Likewise.
45618         * elf/tst-tls2.c: Likewise.
45619         * elf/tst-tls3.c: Likewise.
45620         * elf/tst-tls4.c: Likewise.
45621         * elf/tst-tls5.c: Likewise.
45622         * elf/tst-tls6.c: Likewise.
45623         * elf/tst-tls7.c: Likewise.
45624         * elf/tst-tls8.c: Likewise.
45625         * elf/tst-tls9.c: Likewise.
45626         * elf/tst-tlsmod1.c: Likewise.
45627         * elf/tst-tlsmod13.c: Likewise.
45628         * elf/tst-tlsmod13a.c: Likewise.
45629         * elf/tst-tlsmod14a.c: Likewise.
45630         * elf/tst-tlsmod16a.c: Likewise.
45631         * elf/tst-tlsmod16b.c: Likewise.
45632         * elf/tst-tlsmod2.c: Likewise.
45633         * elf/tst-tlsmod3.c: Likewise.
45634         * elf/tst-tlsmod4.c: Likewise.
45635         * elf/tst-tlsmod5.c: Likewise.
45636         * elf/tst-tlsmod6.c: Likewise.
45638 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
45640         [BZ #12486]
45641         * malloc/malloc.c: remove checks for statistics.
45643 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
45645         [BZ #15277]
45646         * inet/inet_net.c (inet_network): Detect additional invalid strings.
45647         * inet/tst-network.c: Add testcase.
45649 2013-10-17  Andreas Schwab  <schwab@suse.de>
45651         [BZ #15218]
45652         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
45653         to determine canonical name.
45655 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
45657         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
45658         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
45659         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45660         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
45661         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45662         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
45663         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
45664         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
45665         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
45666         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
45667         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
45668         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
45669         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
45670         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
45671         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
45672         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
45673         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45674         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
45675         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
45676         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
45677         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
45678         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45679         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
45680         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
45681         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
45682         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
45683         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
45684         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
45685         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
45686         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
45687         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
45688         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
45689         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
45690         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
45691         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
45692         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
45693         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
45694         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
45695         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
45696         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
45697         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
45698         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
45699         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
45700         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
45701         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
45702         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
45703         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
45704         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
45705         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
45706         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
45707         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
45708         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
45709         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
45710         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
45711         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
45712         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
45713         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45714         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
45716 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
45718         [BZ #16041]
45719         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
45720         make result into a quiet NaN.
45722 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
45724         * soft-fp/adddf3.c: Fix horizontal whitespace.
45725         * soft-fp/addsf3.c: Likewise.
45726         * soft-fp/addtf3.c: Likewise.
45727         * soft-fp/divdf3.c: Likewise.
45728         * soft-fp/divsf3.c: Likewise.
45729         * soft-fp/divtf3.c: Likewise.
45730         * soft-fp/double.h: Likewise.
45731         * soft-fp/eqdf2.c: Likewise.
45732         * soft-fp/eqsf2.c: Likewise.
45733         * soft-fp/eqtf2.c: Likewise.
45734         * soft-fp/extenddftf2.c: Likewise.
45735         * soft-fp/extended.h: Likewise.
45736         * soft-fp/extendsfdf2.c: Likewise.
45737         * soft-fp/extendsftf2.c: Likewise.
45738         * soft-fp/extendxftf2.c: Likewise.
45739         * soft-fp/fixdfdi.c: Likewise.
45740         * soft-fp/fixdfsi.c: Likewise.
45741         * soft-fp/fixdfti.c: Likewise.
45742         * soft-fp/fixsfdi.c: Likewise.
45743         * soft-fp/fixsfsi.c: Likewise.
45744         * soft-fp/fixsfti.c: Likewise.
45745         * soft-fp/fixtfdi.c: Likewise.
45746         * soft-fp/fixtfsi.c: Likewise.
45747         * soft-fp/fixtfti.c: Likewise.
45748         * soft-fp/fixunsdfdi.c: Likewise.
45749         * soft-fp/fixunsdfsi.c: Likewise.
45750         * soft-fp/fixunsdfti.c: Likewise.
45751         * soft-fp/fixunssfdi.c: Likewise.
45752         * soft-fp/fixunssfsi.c: Likewise.
45753         * soft-fp/fixunssfti.c: Likewise.
45754         * soft-fp/fixunstfdi.c: Likewise.
45755         * soft-fp/fixunstfsi.c: Likewise.
45756         * soft-fp/fixunstfti.c: Likewise.
45757         * soft-fp/floatdidf.c: Likewise.
45758         * soft-fp/floatdisf.c: Likewise.
45759         * soft-fp/floatditf.c: Likewise.
45760         * soft-fp/floatsidf.c: Likewise.
45761         * soft-fp/floatsisf.c: Likewise.
45762         * soft-fp/floatsitf.c: Likewise.
45763         * soft-fp/floattidf.c: Likewise.
45764         * soft-fp/floattisf.c: Likewise.
45765         * soft-fp/floattitf.c: Likewise.
45766         * soft-fp/floatundidf.c: Likewise.
45767         * soft-fp/floatundisf.c: Likewise.
45768         * soft-fp/floatunditf.c: Likewise.
45769         * soft-fp/floatunsidf.c: Likewise.
45770         * soft-fp/floatunsisf.c: Likewise.
45771         * soft-fp/floatunsitf.c: Likewise.
45772         * soft-fp/floatuntidf.c: Likewise.
45773         * soft-fp/floatuntisf.c: Likewise.
45774         * soft-fp/floatuntitf.c: Likewise.
45775         * soft-fp/fmadf4.c: Likewise.
45776         * soft-fp/fmasf4.c: Likewise.
45777         * soft-fp/fmatf4.c: Likewise.
45778         * soft-fp/gedf2.c: Likewise.
45779         * soft-fp/gesf2.c: Likewise.
45780         * soft-fp/getf2.c: Likewise.
45781         * soft-fp/ledf2.c: Likewise.
45782         * soft-fp/lesf2.c: Likewise.
45783         * soft-fp/letf2.c: Likewise.
45784         * soft-fp/muldf3.c: Likewise.
45785         * soft-fp/mulsf3.c: Likewise.
45786         * soft-fp/multf3.c: Likewise.
45787         * soft-fp/negdf2.c: Likewise.
45788         * soft-fp/negsf2.c: Likewise.
45789         * soft-fp/negtf2.c: Likewise.
45790         * soft-fp/op-1.h: Likewise.
45791         * soft-fp/op-2.h: Likewise.
45792         * soft-fp/op-4.h: Likewise.
45793         * soft-fp/op-8.h: Likewise.
45794         * soft-fp/op-common.h: Likewise.
45795         * soft-fp/quad.h: Likewise.
45796         * soft-fp/single.h: Likewise.
45797         * soft-fp/soft-fp.h: Likewise.
45798         * soft-fp/sqrtdf2.c: Likewise.
45799         * soft-fp/sqrtsf2.c: Likewise.
45800         * soft-fp/sqrttf2.c: Likewise.
45801         * soft-fp/subdf3.c: Likewise.
45802         * soft-fp/subsf3.c: Likewise.
45803         * soft-fp/subtf3.c: Likewise.
45804         * soft-fp/truncdfsf2.c: Likewise.
45805         * soft-fp/trunctfdf2.c: Likewise.
45806         * soft-fp/trunctfsf2.c: Likewise.
45807         * soft-fp/trunctfxf2.c: Likewise.
45808         * soft-fp/unorddf2.c: Likewise.
45809         * soft-fp/unordsf2.c: Likewise.
45810         * soft-fp/unordtf2.c: Likewise.
45812 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
45814         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
45815         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
45817 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
45819         * elf/dl-libc.c: Clear initfini list after freeing.
45821 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
45823         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
45824         * soft-fp/addsf3.c: Likewise.
45825         * soft-fp/addtf3.c: Likewise.
45826         * soft-fp/divdf3.c: Likewise.
45827         * soft-fp/divsf3.c: Likewise.
45828         * soft-fp/divtf3.c: Likewise.
45829         * soft-fp/double.h: Likewise.
45830         * soft-fp/eqdf2.c: Likewise.
45831         * soft-fp/eqsf2.c: Likewise.
45832         * soft-fp/eqtf2.c: Likewise.
45833         * soft-fp/extenddftf2.c: Likewise.
45834         * soft-fp/extended.h: Likewise.
45835         * soft-fp/extendsfdf2.c: Likewise.
45836         * soft-fp/extendsftf2.c: Likewise.
45837         * soft-fp/extendxftf2.c: Likewise.
45838         * soft-fp/fixdfdi.c: Likewise.
45839         * soft-fp/fixdfsi.c: Likewise.
45840         * soft-fp/fixdfti.c: Likewise.
45841         * soft-fp/fixsfdi.c: Likewise.
45842         * soft-fp/fixsfsi.c: Likewise.
45843         * soft-fp/fixsfti.c: Likewise.
45844         * soft-fp/fixtfdi.c: Likewise.
45845         * soft-fp/fixtfsi.c: Likewise.
45846         * soft-fp/fixtfti.c: Likewise.
45847         * soft-fp/fixunsdfdi.c: Likewise.
45848         * soft-fp/fixunsdfsi.c: Likewise.
45849         * soft-fp/fixunsdfti.c: Likewise.
45850         * soft-fp/fixunssfdi.c: Likewise.
45851         * soft-fp/fixunssfsi.c: Likewise.
45852         * soft-fp/fixunssfti.c: Likewise.
45853         * soft-fp/fixunstfdi.c: Likewise.
45854         * soft-fp/fixunstfsi.c: Likewise.
45855         * soft-fp/fixunstfti.c: Likewise.
45856         * soft-fp/floatdidf.c: Likewise.
45857         * soft-fp/floatdisf.c: Likewise.
45858         * soft-fp/floatditf.c: Likewise.
45859         * soft-fp/floatsidf.c: Likewise.
45860         * soft-fp/floatsisf.c: Likewise.
45861         * soft-fp/floatsitf.c: Likewise.
45862         * soft-fp/floattidf.c: Likewise.
45863         * soft-fp/floattisf.c: Likewise.
45864         * soft-fp/floattitf.c: Likewise.
45865         * soft-fp/floatundidf.c: Likewise.
45866         * soft-fp/floatundisf.c: Likewise.
45867         * soft-fp/floatunsidf.c: Likewise.
45868         * soft-fp/floatunsisf.c: Likewise.
45869         * soft-fp/floatuntidf.c: Likewise.
45870         * soft-fp/floatuntisf.c: Likewise.
45871         * soft-fp/floatuntitf.c: Likewise.
45872         * soft-fp/fmadf4.c: Likewise.
45873         * soft-fp/fmasf4.c: Likewise.
45874         * soft-fp/fmatf4.c: Likewise.
45875         * soft-fp/gedf2.c: Likewise.
45876         * soft-fp/gesf2.c: Likewise.
45877         * soft-fp/getf2.c: Likewise.
45878         * soft-fp/ledf2.c: Likewise.
45879         * soft-fp/lesf2.c: Likewise.
45880         * soft-fp/letf2.c: Likewise.
45881         * soft-fp/muldf3.c: Likewise.
45882         * soft-fp/mulsf3.c: Likewise.
45883         * soft-fp/multf3.c: Likewise.
45884         * soft-fp/negdf2.c: Likewise.
45885         * soft-fp/negsf2.c: Likewise.
45886         * soft-fp/negtf2.c: Likewise.
45887         * soft-fp/op-1.h: Likewise.
45888         * soft-fp/op-2.h: Likewise.
45889         * soft-fp/op-4.h: Likewise.
45890         * soft-fp/op-8.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.
45895         * soft-fp/sqrtdf2.c: Likewise.
45896         * soft-fp/sqrtsf2.c: Likewise.
45897         * soft-fp/sqrttf2.c: Likewise.
45898         * soft-fp/subdf3.c: Likewise.
45899         * soft-fp/subsf3.c: Likewise.
45900         * soft-fp/subtf3.c: Likewise.
45901         * soft-fp/truncdfsf2.c: Likewise.
45902         * soft-fp/trunctfdf2.c: Likewise.
45903         * soft-fp/trunctfsf2.c: Likewise.
45904         * soft-fp/trunctfxf2.c: Likewise.
45905         * soft-fp/unorddf2.c: Likewise.
45906         * soft-fp/unordsf2.c: Likewise.
45907         * soft-fp/unordtf2.c: Likewise.
45909 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
45911         [BZ #15672]
45912         * misc/error.c (error_tail): Fix possible buffer overflow.
45914 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
45916         [BZ #13028]
45917         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
45918         address.
45920 2013-10-14  P. J. McDermott  <pj@pehjota.net>
45922         [BZ #832]
45923         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
45924         testing pipefail option.
45926 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
45928         * soft-fp/double.h: Indent preprocessor directives inside #if.
45929         * soft-fp/extended.h: Likewise.
45930         * soft-fp/op-2.h: Likewise.
45931         * soft-fp/op-4.h: Likewise.
45932         * soft-fp/op-common.h: Likewise.
45933         * soft-fp/quad.h: Likewise.
45934         * soft-fp/single.h: Likewise.
45935         * soft-fp/soft-fp.h: Likewise.
45937 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
45939         * iconv/iconv_prog.c: Fix typos.
45940         * stdio-common/psiginfo-data.h: Likewise.
45942 2013-10-12   Reuben Thomas <rrt@sc3d.org>
45944         [BZ #15764]
45945         * locale/setlocale.c: Fix typo.
45947 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
45949         [BZ #16036]
45950         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
45951         signaling NaN arguments.
45952         * soft-fp/unordsf2.c (__unordsf2): Likewise.
45953         * soft-fp/unordtf2.c (__unordtf2): Likewise.
45955         [BZ #14910]
45956         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
45957         unordered operands.
45958         * soft-fp/gesf2.c (__gesf2): Likewise.
45959         * soft-fp/getf2.c (__getf2): Likewise.
45960         * soft-fp/ledf2.c (__ledf2): Likewise.
45961         * soft-fp/lesf2.c (__lesf2): Likewise.
45962         * soft-fp/letf2.c (__letf2): Likewise.
45964         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
45965         * soft-fp/eqsf2.c (__eqsf2): Likewise.
45966         * soft-fp/eqtf2.c (__eqtf2): Likewise.
45967         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
45968         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
45969         * soft-fp/fixdfti.c (__fixdfti): Likewise.
45970         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
45971         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
45972         * soft-fp/fixsfti.c (__fixsfti): Likewise.
45973         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
45974         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
45975         * soft-fp/fixtfti.c (__fixtfti): Likewise.
45976         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
45977         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
45978         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
45979         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
45980         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
45981         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
45982         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
45983         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
45984         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
45985         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
45986         * soft-fp/floatdisf.c (__floatdisf): Likewise.
45987         * soft-fp/floatsisf.c (__floatsisf): Likewise.
45988         * soft-fp/floattidf.c (__floattidf): Likewise.
45989         * soft-fp/floattisf.c (__floattisf): Likewise.
45990         * soft-fp/floattitf.c (__floattitf): Likewise.
45991         * soft-fp/floatundidf.c (__floatundidf): Likewise.
45992         * soft-fp/floatundisf.c (__floatundisf): Likewise.
45993         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
45994         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
45995         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
45996         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
45997         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
45998         * soft-fp/gesf2.c (__gesf2): Likewise.
45999         * soft-fp/getf2.c (__getf2): Likewise.
46000         * soft-fp/ledf2.c (__ledf2): Likewise.
46001         * soft-fp/lesf2.c (__lesf2): Likewise.
46002         * soft-fp/letf2.c (__letf2): Likewise.
46004         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
46005         Undefine and redefine.
46006         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
46007         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
46008         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
46009         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
46010         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
46011         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
46012         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
46013         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
46014         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
46015         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
46016         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
46017         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
46018         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
46019         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
46020         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
46022         [BZ #16032]
46023         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
46024         without decrementing exponent if mantissa >= that for the
46025         denominator, not >.
46026         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
46027         denominator, not >.  Decrement exponent in < case instead of
46028         incrementing in >= case.
46029         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
46030         without decrementing exponent if mantissa >= that for the
46031         denominator, not >.
46033         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
46034         computing saturated result for unsigned overflow.
46036 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
46037             Jeff Law  <law@redhat.com>
46039         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
46040         (atan2Mp): Add systemtap probe marker.
46041         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
46042         (__ieee754_log): Add systemtap probe marker.
46043         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
46044         (atanMp): Add systemtap probe marker.
46045         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
46046         (tanMp): Add systemtap probe marker.
46047         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
46048         (__slowexp): Add systemtap probe marker.
46049         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
46050         (__slowpow): Add systemtap probe marker.
46051         * manual/probes.texi: Document probes.
46053 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
46055         [BZ #15362]
46056         * libio/fileops.c (_IO_new_file_write): Return count of bytes
46057         written.
46058         (_IO_new_file_xsputn): Don't return EOF if nothing has been
46059         written.
46060         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
46061         written to buffer but not flushed.
46062         * libio/iofwrite_u.c:  Likewise.
46063         * libio/iopadn.c:  Return bytes returned even if EOF was
46064         encountered.
46065         * libio/iowpadn.c:  Likewise.
46066         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
46067         if _IO_padn does not write the whole buffer.
46068         [!COMPILE_WPRINTF] (PAD): Likewise.
46070 2013-10-10  David S. Miller  <davem@davemloft.net>
46072         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
46073         directory block.
46075 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
46077         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
46078         instead of FSF address.
46079         * soft-fp/fixdfti.c: Likewise.
46080         * soft-fp/fixsfti.c: Likewise.
46081         * soft-fp/fixtfti.c: Likewise.
46082         * soft-fp/fixunsdfti.c: Likewise.
46083         * soft-fp/fixunssfti.c: Likewise.
46084         * soft-fp/fixunstfti.c: Likewise.
46085         * soft-fp/floattidf.c: Likewise.
46086         * soft-fp/floattisf.c: Likewise.
46087         * soft-fp/floattitf.c: Likewise.
46088         * soft-fp/floatuntidf.c: Likewise.
46089         * soft-fp/floatuntisf.c: Likewise.
46090         * soft-fp/floatuntitf.c: Likewise.
46091         * soft-fp/trunctfxf2.c: Likewise.
46093         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
46094         * soft-fp/fixdfti.c: Likewise.
46095         * soft-fp/fixsfti.c: Likewise.
46096         * soft-fp/fixtfti.c: Likewise.
46097         * soft-fp/fixunsdfti.c: Likewise.
46098         * soft-fp/fixunssfti.c: Likewise.
46099         * soft-fp/fixunstfti.c: Likewise.
46100         * soft-fp/floattidf.c: Likewise.
46101         * soft-fp/floattisf.c: Likewise.
46102         * soft-fp/floattitf.c: Likewise.
46103         * soft-fp/floatuntidf.c: Likewise.
46104         * soft-fp/floatuntisf.c: Likewise.
46105         * soft-fp/floatuntitf.c: Likewise.
46106         * soft-fp/trunctfxf2.c: Likewise.
46108 2013-10-10  David S. Miller  <davem@davemloft.net>
46110         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46112 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
46114         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
46115         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
46116         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
46117         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
46118         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
46119         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
46120         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
46122         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
46123         for NaNs before doing comparisons on argument.
46124         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
46125         Likewise.
46127 2013-10-10  Will Newton  <will.newton@linaro.org>
46129         * malloc/hooks.c (memalign_check): Ensure the value of bytes
46130         passed to _int_memalign does not overflow.
46132 2013-10-10  Torvald Riegel  <triegel@redhat.com>
46134         * scripts/bench.pl: Add include-sources directive.
46135         * benchtests/README: Update documentation.
46137 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
46139         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
46140         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
46141         instead of FP_INIT_ROUNDMODE.
46142         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
46143         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
46145         [BZ #16034]
46146         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
46147         copy class of input value.
46148         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
46149         not handle exceptions.
46150         * soft-fp/negsf2.c (__negsf2): Likewise.
46151         * soft-fp/negtf2.c (__negtf2): Likewise.
46152         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
46154 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
46156         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
46157         semicolon.  From Linux kernel.
46159 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
46161         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
46163 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
46165         [BZ #156]
46166         * manual/socket.texi: Added statement about buffer
46167         for gethostbyname2_r.
46169 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
46171         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
46172         Use .p2align directive instead, throughout.
46173         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
46174         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
46175         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
46176         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
46177         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
46178         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
46179         * sysdeps/x86_64/strchr.S: Likewise.
46180         * sysdeps/x86_64/strrchr.S: Likewise.
46182 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
46184         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
46186         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
46188         * sysdeps/generic/math_private.h (__mpsin1): Remove
46189         declaration.
46190         (__mpcos1): Likewise.
46191         (__mpsin): New argument __range_reduce.
46192         (__mpcos): Likewise.
46193         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
46194         (slow): Use __mpsin and __mpcos.
46195         (slow1): Likewise.
46196         (slow2): Likewise.
46197         (sloww): Likewise.
46198         (sloww1): Likewise.
46199         (sloww2): Likewise.
46200         (bsloww): Likewise.
46201         (bsloww1): Likewise.
46202         (bsloww2): Likewise.
46203         (cslow2): Likewise.
46204         (csloww): Likewise.
46205         (csloww1): Likewise.
46206         (csloww2): Likewise.
46207         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
46208         range_reduce.  Merge in __mpsin1.
46209         (__mpcos): Likewise.
46210         (__mpsin1): Remove.
46211         (__mpcos1): Likewise.
46213 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
46215         * locale/loadlocale.c (_nl_intern_locale_data): Use
46216         LOCFILE_ALIGNED_P.
46217         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
46218         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
46219         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
46220         obstack data is appropriately aligned.
46221         (obstack_int32_grow_fast): Likewise.
46222         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
46223         * locale/programs/locfile.c (add_locale_uint32): Likewise.
46224         (add_locale_uint32_array): Likewise.
46226 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
46228         * benchtests/Makefile: Remove ARGLIST and RET variables.
46229         ($(objpfx)bench-%.c): Pass only function name to the script.
46230         * benchtests/README: Update documentation.
46231         * benchtests/acos-inputs: Add new directives.
46232         * benchtests/acosh-inputs: Likewise.
46233         * benchtests/asin-inputs: Likewise.
46234         * benchtests/asinh-inputs: Likewise.
46235         * benchtests/atan-inputs: Likewise.
46236         * benchtests/atanh-inputs: Likewise.
46237         * benchtests/cos-inputs: Likewise.
46238         * benchtests/cosh-inputs: Likewise.
46239         * benchtests/exp-inputs: Likewise.
46240         * benchtests/log-inputs: Likewise.
46241         * benchtests/pow-inputs: Likewise.
46242         * benchtests/rint-inputs: Likewise.
46243         * benchtests/sin-inputs: Likewise.
46244         * benchtests/sinh-inputs: Likewise.
46245         * benchtests/tan-inputs: Likewise.
46246         * benchtests/tanh-inputs: Likewise.
46247         * scripts/bench.pl: Add support for new directives.
46249 2013-10-07  Alan Modra  <amodra@gmail.com>
46251         * README: Fix careless merge.
46253 2013-10-05  Alan Modra  <amodra@gmail.com>
46255         * NEWS: Mention powerpc64le support and bugs fixed.
46256         * README: Both big-endian and little-endian powerpc64 supported.
46258 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46260         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
46261         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
46262         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
46263         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
46265 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
46267         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
46268         match prototype.
46270 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
46272         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
46273         Move -mhard-float appending from
46274         ports/sysdeps/powerpc/powerpc32/Makefile.
46275         [$(with-fp) = yes] (ASFLAGS): Likewise.
46276         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
46277         * sysdeps/powerpc/nofpu: Move directory from
46278         ports/sysdeps/powerpc/nofpu.
46279         * sysdeps/powerpc/soft-fp: Move directory from
46280         ports/sysdeps/powerpc/soft-fp.
46281         * sysdeps/powerpc/powerpc32/405: Move directory from
46282         ports/sysdeps/powerpc/powerpc32/405.
46283         * sysdeps/powerpc/powerpc32/440: Move directory from
46284         ports/sysdeps/powerpc/powerpc32/440.
46285         * sysdeps/powerpc/powerpc32/464: Move directory from
46286         ports/sysdeps/powerpc/powerpc32/464.
46287         * sysdeps/powerpc/powerpc32/476: Move directory from
46288         ports/sysdeps/powerpc/powerpc32/476.
46289         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
46290         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
46291         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
46292         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
46293         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
46294         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
46295         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
46296         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
46297         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
46298         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
46299         * README: Update for powerpc-*-linux-gnu software floating point
46300         support in libc.
46302         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
46303         case to powerpc/powerpc32*.
46304         * sysdeps/unix/sysv/linux/configure: Regenerated.
46306         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
46307         (_FPU_MASK_OM): Define as 0x04.
46308         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
46309         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
46310         0x00c10080.
46311         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
46312         0x0000003c.
46313         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
46315         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
46316         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
46317         getcontext_e500.
46318         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
46319         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
46320         setcontext_e500.
46321         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
46322         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
46323         and setcontext_e500.
46325 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
46327         * locale/iso-3166.def: Update iso-1366.def and related occurrences
46329 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
46331         * manual/threads.texi (Default Thread Attributes): Fix typo.
46333 2013-10-04  Will Newton  <will.newton@linaro.org>
46335         * malloc/Makefile: Add tst-memalign.
46336         * malloc/tst-memalign.c: New file.
46338         * malloc/tst-posix_memalign.c: Add comments.
46339         (do_test): Add comments and call free on all potentially
46340         allocated pointers. Add space after cast.
46342         * malloc/tst-pvalloc.c: Add comments.
46343         (do_test): Add comments and call free on all potentially
46344         allocated pointers. Remove duplicate check for NULL pointer.
46345         Add space after cast.
46347         * malloc/tst-valloc.c: Add comments.
46348         (do_test): Add comments and call free on all potentially
46349         allocated pointers. Remove duplicate check for NULL pointer.
46350         Add space after cast.
46352 2013-10-04  Alan Modra  <amodra@gmail.com>
46354         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
46355         Use stdint types in rather than __attribute__((mode())).
46356         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
46358 2013-10-04  Alan Modra  <amodra@gmail.com>
46360         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
46361         Correct handling of unaligned relocs for little-endian.
46362         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
46364 2013-10-04  Alan Modra  <amodra@gmail.com>
46366         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
46367         * configure: Regenerate.
46368         * nptl/shlib-versions: Powerpc*le starts at 2.18.
46369         * shlib-versions: Likewise.
46371 2013-10-04  Alan Modra  <amodra@gmail.com>
46373         * string/tester.c (test_memrchr): Increment reported test cycle.
46375 2013-10-04  Alan Modra  <amodra@gmail.com>
46377         * string/test-memcpy.c (do_one_test): When reporting errors, print
46378         string address and don't overrun end of string.
46380 2013-10-04  Alan Modra  <amodra@gmail.com>
46382         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
46383         insrdi.  Make better use of reg selection to speed exit slightly.
46384         Schedule entry path a little better.  Remove useless "are we done"
46385         checks on entry to main loop.  Handle wrapping around zero address.
46386         Correct main loop count.  Handle single left-over word from main
46387         loop inline rather than by using loop_small.  Remove extra word
46388         case in loop_small caused by wrong loop count.  Add little-endian
46389         support.
46390         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
46391         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
46392         cache hint.
46393         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
46394         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
46395         support.  Avoid rlwimi.
46396         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
46398 2013-10-04  Alan Modra  <amodra@gmail.com>
46400         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
46401         insrdi.  Formatting.
46402         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
46403         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
46404         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
46405         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
46406         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
46407         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
46409 2013-10-04  Alan Modra  <amodra@gmail.com>
46411         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
46412         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
46413         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
46414         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
46415         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
46416         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
46417         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
46418         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
46419         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
46420         use of regs.  Use power7 mtocrf.  Tidy function tails.
46422 2013-10-04  Alan Modra  <amodra@gmail.com>
46424         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
46425         Formatting.  Consistently use rXXX register defines or rN defines.
46426         Use early exit labels that avoid restoring unused non-volatile regs.
46427         Make cr field use more consistent with rWORDn compares.  Rename
46428         regs used as shift registers for unaligned loop, using rN defines
46429         for short lifetime/multiple use regs.
46430         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
46431         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
46432         addi 1,1,64 to pop stack frame.  Simplify return value code.
46433         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
46435 2013-10-04  Alan Modra  <amodra@gmail.com>
46437         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
46438         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
46439         rather than rlwimi.
46440         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
46441         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
46442         little-endian support.  Correct typos.
46443         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
46444         rather than rlwimi.
46445         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
46446         in loop and entry code to keep "and." results.
46447         (strchr): Add little-endian support.  Comment.  Move cntlzd
46448         earlier in tail.
46449         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
46451 2013-10-04  Alan Modra  <amodra@gmail.com>
46453         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
46454         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
46455         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
46456         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
46458 2013-10-04  Alan Modra  <amodra@gmail.com>
46460         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
46461         (rTMP): Define as r11.
46462         (strcmp): Add little-endian support.  Optimise tail.
46463         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
46464         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
46465         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
46466         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
46467         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
46468         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
46469         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
46471 2013-10-04  Alan Modra  <amodra@gmail.com>
46473         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
46474         little-endian support.  Remove unnecessary "are we done" tests.
46475         Handle "s" wrapping around zero and extremely large "size".
46476         Correct main loop count.  Handle single left-over word from main
46477         loop inline rather than by using small_loop.  Correct comments.
46478         Delete "zero" tail, use "end_max" instead.
46479         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
46481 2013-10-04  Alan Modra  <amodra@gmail.com>
46483         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
46484         support.  Don't branch over align.
46485         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
46486         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
46487         support.  Rearrange tmp reg use to suit.  Comment.
46488         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
46490 2013-10-04  Alan Modra  <amodra@gmail.com>
46492         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
46494 2013-10-04  Alan Modra  <amodra@gmail.com>
46496         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
46497         conditional form of branch and link when obtaining pc.
46498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
46500 2013-10-04  Alan Modra  <amodra@gmail.com>
46502         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
46503         HIWORD/LOWORD.
46504         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
46505         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
46507 2013-10-04  Alan Modra  <amodra@gmail.com>
46509         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
46510         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
46511         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
46512         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
46513         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
46514         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
46515         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
46516         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
46517         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
46518         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
46520 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
46521             Alistair Popple <alistair@ozlabs.au.ibm.com>
46522             Alan Modra <amodra@gmail.com>
46524         [BZ #15723]
46525         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
46526         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
46527         _dl_hwcap access for little-endian.
46528         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
46529         destroy vmx regs when saving unaligned.
46530         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
46531         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
46532         destroy vmx regs when saving unaligned.
46534 2013-10-04  Alan Modra  <amodra@gmail.com>
46536         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
46537         Don't use a union to pack hi/low value.
46539 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
46541         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
46542         for little-endian.
46543         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
46544         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
46545         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
46546         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
46547         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
46549 2013-10-04  Alan Modra  <amodra@gmail.com>
46551         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
46552         constants to usual value for .cst8 section, and remove redundant
46553         high address load.
46554         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
46555         constant for 0x1p52.  Load little-endian words of double from
46556         correct stack offsets.
46558 2013-10-04  Alan Modra  <amodra@gmail.com>
46560         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
46561         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
46562         words of double from correct stack offsets.
46563         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
46564         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
46565         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
46566         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
46567         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
46568         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
46569         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
46570         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
46571         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
46572         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
46573         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
46574         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
46575         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
46576         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
46577         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
46578         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
46579         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
46581 2013-10-04  Alan Modra  <amodra@gmail.com>
46583         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
46584         64-bit int/double union.
46585         (_FPU_SETCW): Likewise.
46586         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
46587         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
46589 2013-10-04  Alan Modra  <amodra@gmail.com>
46591         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
46592         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
46594 2013-10-04  Alan Modra  <amodra@gmail.com>
46596         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
46597         use vector int constants.
46598         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
46600 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
46602         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
46603         array with long long.
46604         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
46605         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
46606         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
46607         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
46608         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
46609         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
46610         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
46611         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
46612         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
46613         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
46614         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
46615         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
46616         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
46618 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
46620         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
46621         (__signbit): Likewise.  Correct for little-endian.
46622         (__signbitl): Call __signbit.
46623         (lrint): Correct for little-endian.
46624         (lrintf): Call lrint.
46626 2013-10-04  Alan Modra  <amodra@gmail.com>
46628         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
46629         union 32-bit int array member with 64-bit int array.
46630         (t515, tm256): Double rather than long double.
46631         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
46633 2013-10-04  Alan Modra  <amodra@gmail.com>
46635         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
46636         Delete.
46637         (IEEE854_LONG_DOUBLE_BIAS): Delete.
46638         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
46639         version of math_ldbl.h.
46641 2013-10-04  Alan Modra  <amodra@gmail.com>
46643         [BZ #15734], [BZ #15735]
46644         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
46645         all uses of ieee875 long double macros and unions.  Simplify test
46646         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
46647         ldbl_extract_mantissa value for ix,iy exponents.  Properly
46648         normalize after ldbl_extract_mantissa, and don't add hidden bit
46649         already handled.  Don't treat low word of ieee854 mantissa like
46650         low word of IBM long double and mask off bit when testing for
46651         zero.
46652         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
46653         all uses of ieee875 long double macros and unions.  Simplify tests
46654         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
46655         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
46656         two1022, instead use their values.  Recognise that tests for large
46657         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
46658         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
46659         Rewrite all uses of ieee875 long double macros and unions.  Simplify
46660         test for 0.0L and nan.  Correct negation.
46661         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
46662         ieee875 long double macros and unions.  Correct output for large
46663         magnitude x.  Correct absolute value calculation.
46664         (__erfcl): Likewise.
46665         * math/libm-test.inc: Add tests for errors discovered in IBM long
46666         double versions of fmodl, remainderl, erfl and erfcl.
46668 2013-10-04  Alan Modra  <amodra@gmail.com>
46670         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
46671         all uses of ieee854 long double macros and unions.  Simplify tests
46672         for long doubles that are fully specified by the high double.
46673         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
46674         Likewise.
46675         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
46676         Remove dead code too.
46677         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
46678         (__ieee754_ynl): Likewise.
46679         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
46680         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
46681         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
46682         Remove dead code too.
46683         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
46684         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
46685         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
46686         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
46687         Simplify.
46688         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
46689         Simplify.
46690         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
46691         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
46692         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
46693         Comment on variable precision.
46694         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
46695         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
46696         Likewise.
46697         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
46698         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
46699         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
46700         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
46701         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
46703 2013-10-04  Alan Modra  <amodra@gmail.com>
46705         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
46706         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
46707         all uses of ieee854 long double macros and unions.
46708         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
46709         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
46710         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
46711         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
46712         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
46713         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
46714         Likewise.
46715         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
46716         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
46717         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
46718         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
46719         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
46720         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
46721         Simplify sign and nan test too.
46722         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
46723         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
46724         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
46725         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
46726         Likewise.
46727         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
46728         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
46729         Likewise.
46730         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
46731         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
46732         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
46733         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
46734         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
46735         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
46737 2013-10-04  Alan Modra  <amodra@gmail.com>
46739         * stdio-common/printf_size.c (__printf_size): Don't use
46740         union ieee854_long_double in fpnum union.
46741         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
46742         signbit macro to retrieve sign from long double.
46743         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
46744         retrieve sign from long double.
46745         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
46746         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
46747         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
46748         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
46749         * math/test-misc.c (main): Don't use union ieee854_long_double.
46751 2013-10-04  Alan Modra  <amodra@gmail.com>
46753         [BZ #15680]
46754         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
46755         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
46756         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
46757         calculation.  Remove unnecessary test for denormal exponent.
46758         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
46759         Correct handling of denormals.  Avoid undefined shift behaviour.
46760         Correct normalisation of low mantissa when low double is denormal.
46761         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
46762         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
46763         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
46764         Correct normalisation of low mantissa.  Test for overflow of high
46765         mantissa and normalise.
46766         (ldbl_nearbyint): Use more readable constant for two52.
46767         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
46768         (__mpn_construct_long_double): Fix test for overflow of high
46769         mantissa and correct normalisation.  Avoid undefined shift.
46771 2013-10-04  Alan Modra  <amodra@gmail.com>
46773         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
46774         (union ibm_extended_long_double): Define as an array of ieee754_double.
46775         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
46776         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
46777         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
46778         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
46779         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
46780         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
46781         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
46782         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
46783         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
46784         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
46785         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
46787 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
46789         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
46790         page size instead of calling getpagesize.
46792         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
46793         (LOCFILE_ALIGN_MASK): Likewise.
46794         (LOCFILE_ALIGN_UP): Likewise.
46795         (LOCFILE_ALIGNED_P): Likewise.
46796         * locale/programs/ld-collate.c (collate_output): Use the new
46797         macros instead of __alignof__ (int32_t).
46798         * locale/weight.h (findidx): Likewise.
46800 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
46802         [BZ #431]
46803         * manual/string.texi: Fix strncat and wcsncat.
46805 2013-10-03  Brooks Moses  <bmoses@google.com>
46807         [BZ #15915]
46808         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
46809         * Makerules: ...here, and adjust associated comments.
46811 2013-10-02  Will Newton  <will.newton@linaro.org>
46813         * malloc/Makefile: Add tst-pvalloc.
46814         * malloc/tst-pvalloc.c: New file.
46816 2013-10-02  Will Newton  <will.newton@linaro.org>
46818         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
46819         improve test coverage.
46821 2013-10-02  Will Newton  <will.newton@linaro.org>
46823         * malloc/Makefile: Add tst-posix_memalign.
46824         * malloc/tst-posix_memalign.c: New file.
46826 2013-10-01  Eric Blake  <eblake@redhat.com>
46828         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
46829         Use __THROWNL rather than __THROW on static functions.
46831 2013-09-30  Petr Machata  <pmachata@redhat.com>
46833         * elf/elf.h (R_AARCH64_ABS16): New macro.
46834         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
46835         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
46836         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
46837         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
46838         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
46839         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
46840         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
46841         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
46842         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
46843         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
46844         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
46845         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
46846         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
46847         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
46848         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
46849         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
46850         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
46851         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
46852         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
46853         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
46854         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
46855         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
46856         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
46857         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
46858         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
46859         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
46860         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
46861         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
46862         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
46863         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
46864         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
46865         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
46866         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
46867         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
46868         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
46869         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
46870         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
46871         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
46872         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
46873         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
46874         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
46875         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
46876         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
46877         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
46878         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
46879         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
46880         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
46881         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
46882         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
46883         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
46884         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
46885         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
46886         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
46887         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
46888         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
46889         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
46890         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
46891         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
46892         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
46893         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
46894         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
46895         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
46896         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
46897         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
46898         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
46899         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
46900         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
46901         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
46902         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
46903         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
46904         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
46905         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
46906         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
46907         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
46908         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
46909         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
46910         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
46911         (R_AARCH64_TLSDESC_LDR): Likewise.
46912         (R_AARCH64_TLSDESC_ADD): Likewise.
46913         (R_AARCH64_TLSDESC_CALL): Likewise.
46915 2013-09-30  Andreas Schwab  <schwab@suse.de>
46917         [BZ #15048]
46918         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
46919         the nss database lookup.
46920         * nscd/initgrcache.c (addinitgroupsX): Likewise.
46921         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
46923 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
46925         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
46927 2013-09-28  P. J. McDermott  <pj@pehjota.net>
46929         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
46930         ${Bash-specific parameter/pattern/string} parameter expansion.
46931         * sysdeps/unix/make-syscalls.sh: Likewise.
46933 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46935         * sysdeps/sh/stackguard-macros.h: New file.
46937 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
46939         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
46940         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
46941         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
46942         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
46943         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
46944         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
46946 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46948         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
46949         Fix thread ID register.
46951 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
46953         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
46954         [POSIX || UNIX98]: Require rather than permitting all symbols from
46955         <time.h>.
46956         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
46957         element of struct sched_param.
46958         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
46959         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
46960         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
46961         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
46962         constant.
46964 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
46966         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
46967         argument calculation.
46969 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
46971         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
46972         Expect macro.
46973         [POSIX] (pthread_attr_t): Do not require type.
46974         [POSIX] (pthread_cond_t): Likewise.
46975         [POSIX] (pthread_condattr_t): Likewise.
46976         [POSIX] (pthread_key_t): Likewise.
46977         [POSIX] (pthread_mutex_t): Likewise.
46978         [POSIX] (pthread_mutexattr_t): Likewise.
46979         [POSIX] (pthread_once_t): Likewise.
46980         [POSIX] (pthread_t): Likewise.
46981         [POSIX-based standards] (pthread_atfork): Expect function.
46983 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
46984             Richard Sandiford  <richard@codesourcery.com>
46986         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
46987         (swap_endianness_p): New extern variable.
46988         (set_big_endian): New inline function.
46989         (maybe_swap_uint32): Likewise.
46990         (maybe_swap_uint32_array): Likewise.
46991         (maybe_swap_uint32_obstack): Likewise.
46992         * locale/programs/locfile.c: Include <stdbool.h>.
46993         (swap_endianness_p): New variable.
46994         (add_locale_uint32): Call maybe_swap_uint32.
46995         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
46996         (write_locale_data): Call maybe_swap_uint32_array.
46997         * locale/programs/ld-collate.c (obstack_int32_grow): Call
46998         maybe_swap_uint32.
46999         (obstack_int32_grow_fast): Likewise.
47000         (output_weightwc): Call maybe_swap_uint32_obstack.
47001         (collate_output): Likewise.
47002         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
47003         (OPT_LITTLE_ENDIAN): Likewise.
47004         (options): Add --little-endian and --big-endian options.
47005         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
47006         * locale/programs/locarchive.c: Include "locfile.h".
47007         (GET): New macro.
47008         (SET): Likewise.
47009         (INC): Likewise.
47010         (create_archive): Use the new macros to access fields of
47011         structures directly mapped from or written to locale archives.
47012         (oldlocrecentcmp): Likewise.
47013         (enlarge_archive): Likewise.
47014         (insert_name): Likewise.
47015         (add_alias): Likewise.
47016         (add_locale): Likewise.
47017         (delete_locales_from_archive): Likewise.
47018         (show_archive_content): Likewise.
47019         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
47020         locale data.
47022 2013-09-24  Roland McGrath  <roland@hack.frob.com>
47024         * manual/freemanuals.texi: Updated from (newly) canonical copy at
47025         http://www.gnu.org/doc/freemanuals.texi.
47026         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
47028 2013-09-24  Will Newton  <will.newton@linaro.org>
47030         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
47031         macro.
47033 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
47035         * locale/hashval.h (compute_hashval): Interpret bytes of key as
47036         unsigned char.
47038 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
47040         * manual/threads.texi (POSIX Threads): Fix a typo.
47042 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
47044         [BZ #14547]
47045         * string/tst-strcoll-overflow.c: New test case.
47046         * string/Makefile (xtests): Add tst-strcoll-overflow.
47047         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
47048         cache if string sizes may cause integer overflow.
47050         [BZ #14547]
47051         * string/strcoll_l.c (coll_seq): New members rule, idx,
47052         save_idx and back_us.
47053         (get_next_seq_nocache): New function.
47054         (do_compare_nocache): New function.
47055         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
47056         when malloc fails.
47058 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
47060         [BZ #15754]
47061         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
47062         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
47063         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
47065         [BZ #15754]
47066         * elf/Makefile (tests): Add tst-ptrguard1.
47067         (tests-static): Add tst-ptrguard1-static.
47068         (tst-ptrguard1-ARGS): Define.
47069         (tst-ptrguard1-static-ARGS): Define.
47070         * elf/tst-ptrguard1.c: New file.
47071         * elf/tst-ptrguard1-static.c: New file.
47072         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
47073         * sysdeps/i386/stackguard-macros.h: Likewise.
47074         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
47075         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
47076         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
47077         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
47078         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
47079         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
47081 2013-09-23  Hector Marco  <hecmargi@upv.es>
47082             Ismael Ripoll  <iripoll@disca.upv.es>
47083             Carlos O'Donell  <carlos@redhat.com>
47085         [BZ #15754]
47086         * sysdeps/generic/stackguard-macros.h: Define
47087         __pointer_chk_guard_local and POINTER_CHK_GUARD.
47088         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
47089         Define __pointer_chk_guard_local.
47090         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
47091         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
47093 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
47095         [BZ #15859]
47096         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
47098 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
47100         * include/string.h (__ffs): Declare as hidden.
47101         * string/ffs.c (__ffs): Define as hidden.
47102         * sysdeps/i386/ffs.c (__ffs): Likewise.
47103         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
47104         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
47105         * sysdeps/s390/ffs.c (__ffs): Likewise.
47106         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
47108 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
47110         * NEWS: Mention malloc probes.
47112         * malloc/arena.c (new_heap): New memory_heap_new probe.
47113         (grow_heap): New memory_heap_more probe.
47114         (shrink_heap): New memory_heap_less probe.
47115         (heap_trim): New memory_heap_free probe.
47116         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
47117         (systrim): New memory_sbrk_less probe.
47118         * manual/probes.texi: Document them.
47120         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
47121         * manual/probes.texi: Document it.
47123         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
47124         (__libc_realloc): Add memory_realloc_retry probe.
47125         (__libc_memalign): Add memory_memalign_retry probe.
47126         (__libc_valloc): Add memory_valloc_retry probe.
47127         (__libc_pvalloc): Add memory_pvalloc_retry probe.
47128         (__libc_calloc): Add memory_calloc_retry probe.
47129         * manual/probes.texi: Document them.
47131         * malloc/arena.c (get_free_list): Add probe
47132         memory_arena_reuse_free_list.
47133         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
47134         and memory_arena_reuse.
47135         (arena_get2) [!PER_THREAD]: Likewise.
47136         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
47137         memory_arena_reuse_realloc.
47138         * manual/probes.texi: Document them.
47140         * malloc/malloc.c (__libc_free): Add
47141         memory_mallopt_free_dyn_thresholds probe.
47142         (__libc_mallopt): Add multiple memory_mallopt probes.
47143         * manual/probes.texi: Document them.
47145         * malloc/malloc.c: Include stap-probe.h.
47146         (__libc_mallopt): Add memory_mallopt probe.
47147         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
47148         * manual/probes.texi: New.
47149         * manual/Makefile (chapters): Add probes.
47150         * manual/threads.texi: Set next node.
47152 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
47154         [BZ #15963, #13985]
47155         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
47156         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
47157         Add `Chinese' to `nan' entry name.
47159 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
47161         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
47162         (POLYNOMIAL): Likewise.
47163         (TAYLOR_SINCOS): Likewise.
47164         (TAYLOR_SLOW): Likewise.
47165         (__sin): Use TAYLOR_SINCOS.
47166         (__cos): Likewise.
47167         (slow): Use TAYLOR_SLOW.
47168         (sloww): Likewise.
47169         (bsloww): Likewise.
47170         (csloww): Likewise.
47172 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
47174         * stdlib/strtod_l.c: Fix buffer overrun.
47176 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
47178         * benchtests/Makefile (bench): Add sincos.
47179         * benchtests/bench-sincos.c: New file.
47181         * math/libm-test.inc (cos_test_data): New test inputs.
47182         (sin_test_data): Likewise.
47184         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
47185         macro.
47186         (__sin): Use it.
47187         (__cos): Likewise.
47188         (slow1): Likewise.
47189         (slow2): Likewise.
47190         (sloww1): Likewise.
47191         (sloww2): Likewise.
47192         (bsloww1): Likewise.
47193         (bsloww2): Likewise.
47194         (cslow2): Likewise.
47195         (csloww1): Likewise.
47196         (csloww2): Likewise.
47198         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
47199         function.
47200         (__sin): Use it.
47201         (__cos): Likewise.
47203         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
47204         gotos.
47205         (__cos): Likewise.
47207 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
47209         * config.h.in (HAVE_MIPS_NAN2008): New macro.
47210         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
47211         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
47212         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
47213         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
47214         * elf/cache.c (print_entry): Handle the new cache flags.
47216 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
47217             Aldy Hernandez  <aldyh@redhat.com>
47219         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
47220         Change condition to [_SOFT_FLOAT].
47221         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
47222         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
47223         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
47224         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
47225         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
47226         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
47227         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
47228         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
47229         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
47230         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
47231         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
47232         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
47233         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
47234         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
47235         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
47236         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
47237         declaration.
47239 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
47241         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
47242         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
47243         (__longjmp): Use LOAD_GP to load saved GPRs.
47244         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
47245         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
47246         (__sigsetjmp): Use SAVE_GP to save GPRs.
47248         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
47249         Do not append -msoft-float.
47250         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
47252 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
47254         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
47256 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
47258         [BZ #15966]
47259         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
47260         (_FPU_GETCW): Use initial "__" on variable and field names but not
47261         on macro parameter name.
47262         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
47263         parentheses around reference to macro parameter.
47265 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
47267         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
47268         prototype.
47269         (ctype_startup): Use uint32_t in cast and sizeof for
47270         ctype->charnames.
47272 2013-09-11  Jia Liu  <proljc@gmail.com>
47274         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
47275         __daddr_t_defined.
47276         [__FreeBSD__]: Likewise.
47278 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
47280         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
47281         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
47282         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
47283         (strchr): Remove __strchr_sse42 ifunc selection.
47284         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
47285         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
47287 2013-09-11  Will Newton  <will.newton@linaro.org>
47289         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
47290         parameter to RES. Remove hardcoded 1000 value.
47291         * benchtests/bench-skeleton.c (main): Pass RES parameter
47292         to TIMING_INIT and multiply result by 1000.
47294 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47296         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47298 2013-09-11  Andreas Schwab  <schwab@suse.de>
47300         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
47301         if not defined.
47302         (O_TMPFILE) [__USE_GNU]: Define.
47303         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
47304         Define.
47306 2013-09-11  Will Newton  <will.newton@linaro.org>
47308         [BZ #15857]
47309         * malloc/malloc.c (__libc_memalign): Check the value of bytes
47310         does not overflow.
47312 2013-09-11  Will Newton  <will.newton@linaro.org>
47314         [BZ #15856]
47315         * malloc/malloc.c (__libc_valloc): Check the value of bytes
47316         does not overflow.
47318 2013-09-11  Will Newton  <will.newton@linaro.org>
47320         [BZ #15855]
47321         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
47322         does not overflow.
47324 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
47326         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
47327         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
47328         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
47329         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
47330         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
47332 2013-09-10  Allan McRae  <allan@archlinux.org>
47334         [BZ #15748]
47335         * manual/arith.texi (Parsing of Floats): Clarify
47336         cross-reference.
47338         [BZ #15849]
47339         * manual/install.texi (Running make install): Mention
47340         --enable-pt-chown.
47341         * INSTALL: Regenerated.
47343 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
47345         * csu/init-first.c (_init): Remove the !SHARED condition around
47346         FPU control word initialization.
47347         * elf/dl-support.c (_dl_fpu_control): New variable.
47348         (_dl_aux_init) <AT_FPUCW>: Initialize it.
47349         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
47350         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
47351         * math/test-fpucw-static.c: New file.
47352         * math/test-fpucw-ieee.c: New file.
47353         * math/test-fpucw-ieee-static.c: New file.
47354         * math/Makefile (tests): Add `test-fpucw-ieee' and
47355         `$(tests-static)'.
47356         (tests-static): New variable.
47357         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
47358         dependency to...
47359         [($(build-shared),yes)]
47360         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
47361         ... this.
47362         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
47363         New dependency.
47365 2013-09-09  Allan McRae  <allan@archlinux.org>
47367         [BZ #15939]
47368         * manual/string.texi (Collation Functions): Fix typo in
47369         strcoll example.
47370         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
47372         [BZ #15893]
47373         * stdlib/isomac.c (get_null_defines): Fix memory leak.
47375         [BZ #15892]
47376         * libio/memstream.c (open_memstream): Fix memory leak.
47377         * libio/wmemstream.c (open_wmemstream): Likewise.
47379         [BZ #15895]
47380         * nscd/netgroupcache.c: Fix nesting of ifdefs.
47382 2013-09-09  Will Newton  <will.newton@linaro.org>
47384         * malloc/Makefile: Add tst-realloc to tests.
47385         * malloc/tst-realloc.c: New file.
47387 2013-09-09  Allan McRae  <allan@archlinux.org>
47389         [BZ #15844]
47390         * COPYING: Update from GNU website to fix FSF address.
47391         * COPYING.LIB: Likewise.
47393 2013-09-06  David S. Miller  <davem@davemloft.net>
47395         * po/zh_TW.po: Update Chinese (traditional) translation from
47396         translation project.
47398 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
47399             Joseph Myers  <joseph@codesourcery.com>
47401         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
47402         "localeinfo.h".
47403         (obstack_chunk_alloc): New macro.
47404         (obstack_chunk_free): Likewise.
47405         (record_offset): New function.
47406         (init_locale_data): Likewise.
47407         (align_locale_data): Likewise.
47408         (add_locale_empty): Likewise.
47409         (add_locale_raw_data): Likewise.
47410         (add_locale_raw_obstack): Likewise.
47411         (add_locale_string): Likewise.
47412         (add_locale_wstring): Likewise.
47413         (add_locale_uint32): Likewise.
47414         (add_locale_uint32_array): Likewise.
47415         (add_locale_char): Likewise.
47416         (start_locale_structure): Likewise.
47417         (end_locale_structure): Likewise.
47418         (start_locale_prelude): Likewise.
47419         (end_locale_prelude): Likewise.
47420         (write_locale_data): Take locale_file structure rather than an
47421         iovec.
47422         * locale/programs/locfile.h: Include "obstack.h".
47423         (struct locale_file): Change to store locale file contents instead
47424         of header.
47425         (init_locale_data): New prototype.
47426         (align_locale_data): Likewise.
47427         (add_locale_empty): Likewise.
47428         (add_locale_raw_data): Likewise.
47429         (add_locale_raw_obstack): Likewise.
47430         (add_locale_string): Likewise.
47431         (add_locale_wstring): Likewise.
47432         (add_locale_uint32): Likewise.
47433         (add_locale_uint32_array): Likewise.
47434         (add_locale_char): Likewise.
47435         (start_locale_structure): Likewise.
47436         (end_locale_structure): Likewise.
47437         (start_locale_prelude): Likewise.
47438         (end_locale_prelude): Likewise.
47439         (write_locale_data): Update prototype.
47440         * locale/programs/3level.h (struct TABLE): Remove result field.
47441         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
47442         Use new locale_file interface.
47443         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
47444         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
47445         * locale/programs/ld-address.c (address_output): Use new
47446         locale_file interface.
47447         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
47448         NO_ADD_LOCALE.
47449         (collate_finish): Don't call collseq_table_finalize.
47450         (collate_output): Use new locale_file interface.
47451         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
47452         in file.
47453         (NO_FINALIZE): Change to NO_ADD_LOCALE.
47454         (TABLE): Move defines earlier in file.
47455         (ELEMENT): Likewise.
47456         (DEFAULT): Likewise.
47457         (wctrans_table_add): Move macro and inline function earlier in
47458         file.
47459         (struct wctype_table): Move type earlier in file.
47460         (add_locale_wctype_table): New static prototype.
47461         (struct locale_ctype_t): Use logical types instead of struct iovec
47462         pointers for members.
47463         (ctype_output): Use new locale_file interface.
47464         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
47465         new locale_file interface.
47466         (allocate_arrays): Update for use of new locale_file interface.
47467         * locale/programs/ld-identification.c (identification_output): Use
47468         new locale_file interface.
47469         * locale/programs/ld-measurement.c (measurement_output): Likewise.
47470         * locale/programs/ld-messages.c (messages_output): Likewise.
47471         * locale/programs/ld-monetary.c (monetary_output): Likewise.
47472         * locale/programs/ld-name.c (name_output): Likewise.
47473         * locale/programs/ld-numeric.c (numeric_output): Likewise.
47474         * locale/programs/ld-paper.c (paper_output): Likewise.
47475         * locale/programs/ld-telephone.c (telephone_output): Likewise.
47476         * locale/programs/ld-time.c (time_output): Likewise.
47478 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47480         * benchtests/Makefile: Add memrchr benchmark.
47481         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
47482         benchmark as memrchr.
47483         * benchtests/bench-memrchr-ifunc.c: New file.
47484         * benchtests/bench-memrchr.c: New file.
47486 2013-09-06   Will Newton  <will.newton@linaro.org>
47488         * benchtests/Makefile (string-bench): Add memcpy.
47490 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
47491             Cong Wang  <amwang@redhat.com>
47493         [BZ #15850]
47494         * sysdeps/unix/sysv/linux/bits/in.h
47495         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
47496         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
47497         before __USE_KERNEL_IPV6_DEFS uses.
47498         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
47499         IPPROTO_BEETPH.
47500         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
47501         sockaddr_in6, or ipv6_mreq.
47503 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47505         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
47506         memory access for final bytes in some large inputs.
47507         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
47509 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47511         * string/test-memrchr.c: New file.
47512         * string/test-memrchr-ifunc.c: New file.
47513         * string/Makefile: Add new memrchr testcase.
47515 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
47517         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
47518         fanotify_init returns EPERM.
47520 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
47522         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
47523         errors.
47524         (top level): Treat second token from macro or constant entries for
47525         allowed headers as allowed.
47526         * include/complex.h: Condition internal declarations on
47527         [!_ISOMAC].
47528         * include/fenv.h: Condition include of <stdbool.h> and internal
47529         declarations on [!_ISOMAC].
47531 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
47533         [BZ #15923]
47534         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
47536 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
47538         * configure.in (--enable-versioning): Remove configure option.
47539         (libc_cv_asm_symver_directive): Remove configure test.
47540         (libc_cv_ld_version_script_option): Likewise.
47541         (VERSIONING): Remove variable and AC_SUBST.
47542         (DO_VERSIONING): Remove AC_DEFINE.
47543         * configure: Regenerated.
47544         * config.h.in (DO_VERSIONING): Remove macro.
47545         * Makerules [$(versioning) = yes]: Change conditionals to
47546         [$(build-shared) = yes].
47547         * config.make.in (versioning): Remove variable.
47548         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
47549         [$(build-shared) = yes].
47550         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
47551         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
47552         * elf/Makefile [$(versioning) = yes]: Change conditionals to
47553         [$(build-shared) = yes].
47554         * extra-lib.mk [$(versioning) = yes]: Likewise.
47555         * hurd/Makefile [$(versioning) = yes]: Likewise.
47556         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
47557         [SHARED].
47558         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
47559         [SHARED].
47560         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
47561         [SHARED && !NO_HIDDEN].
47562         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
47563         [SHARED].
47564         [SHARED && DO_VERSIONING]: Likewise..
47565         * libio/Makefile [$(versioning) = yes]: Change conditionals to
47566         [$(build-shared) = yes].
47567         * manual/install.texi (--disable-versioning): Remove
47568         documentation.
47569         * INSTALL: Regenerated.
47570         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
47571         to [SHARED].
47572         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
47573         [$(build-shared) = yes].
47574         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
47575         * sysdeps/i386/i686/multiarch/strstr-c.c
47576         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
47577         [SHARED && !NO_HIDDEN].
47578         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
47579         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
47580         * sysdeps/powerpc/powerpc32/dl-machine.c
47581         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
47582         * sysdeps/powerpc/powerpc32/sysdep.h
47583         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
47584         to [SHARED && PIC && !NO_HIDDEN].
47585         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
47586         conditional to [SHARED].
47588 2013-09-04   Will Newton  <will.newton@linaro.org>
47590         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
47591         * benchtests/bench-string.h: Include bench-timing.h instead
47592         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
47593         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
47594         call to HP_TIMING_DIFF_INIT.
47595         * benchtests/bench-memccpy.c: Use bench-timing.h macros
47596         instead of hp-timing.h macros.
47597         * benchtests/bench-memchr.c: Likewise.
47598         * benchtests/bench-memcmp.c: Likewise.
47599         * benchtests/bench-memcpy.c: Likewise.
47600         * benchtests/bench-memmem.c: Likewise.
47601         * benchtests/bench-memmove.c: Likewise.
47602         * benchtests/bench-memset.c: Likewise.
47603         * benchtests/bench-rawmemchr.c: Likewise.
47604         * benchtests/bench-strcasecmp.c: Likewise.
47605         * benchtests/bench-strcasestr.c: Likewise.
47606         * benchtests/bench-strcat.c: Likewise.
47607         * benchtests/bench-strchr.c: Likewise.
47608         * benchtests/bench-strcmp.c: Likewise.
47609         * benchtests/bench-strcpy.c: Likewise.
47610         * benchtests/bench-strcpy_chk.c: Likewise.
47611         * benchtests/bench-strlen.c: Likewise.
47612         * benchtests/bench-strncasecmp.c: Likewise.
47613         * benchtests/bench-strncat.c: Likewise.
47614         * benchtests/bench-strncmp.c: Likewise.
47615         * benchtests/bench-strncpy.c: Likewise.
47616         * benchtests/bench-strnlen.c: Likewise.
47617         * benchtests/bench-strpbrk.c: Likewise.
47618         * benchtests/bench-strrchr.c: Likewise.
47619         * benchtests/bench-strspn.c: Likewise.
47620         * benchtests/bench-strstr.c: Likewise.
47622 2013-09-04  Will Newton  <will.newton@linaro.org>
47624         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
47626 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
47628         [BZ #15427]
47629         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
47630         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
47631         * math/libm-test.inc (lgamma_test_data): Add more tests.
47632         * sysdeps/i386/fpu/libm-test-ulps: Update.
47633         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47635 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
47637         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
47638         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
47639         Add ifunc.
47640         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
47641         Add strcmp-sse2-unaligned
47642         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
47644 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
47646         * Versions.def (libc): Add GLIBC_2.19.
47648 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
47650         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
47651         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
47653 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
47655         [BZ #14155]
47656         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
47657         intermediate calculations in recurrence.
47658         (__ieee754_ynf): Likewise.
47659         * math/libm-test.inc (jn_test_data): Do not allow spurious
47660         underflow exception.  Add more tests.
47661         (yn_test_data): Add more tests.
47662         * sysdeps/i386/fpu/libm-test-ulps: Update.
47663         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47665 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
47667         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
47669 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
47671         * csu/init-first.c: Fix then/than typos.
47672         * locale/programs/ld-collate.c: Likewise.
47673         * locale/programs/linereader.h: Likewise.
47674         * manual/charset.texi: Likewise.
47675         * manual/filesys.texi: Likewise.
47676         * manual/stdio.texi: Likewise.
47677         * manual/string.texi: Likewise.
47678         * stdlib/fmtmsg.c: Likewise.
47679         * sysdeps/i386/stpncpy.S: Likewise.
47680         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
47681         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
47682         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
47683         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
47685 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
47687         * elf/dl-open.c: Fix typos.
47688         * iconvdata/gbbig5.c: Likewise.
47689         * iconvdata/iso-2022-jp.c: Likewise.
47690         * iconv/gconv_int.h: Likewise.
47691         * iconv/loop.c: Likewise.
47692         * nis/rpcsvc/nis.h: Likewise.
47693         * resolv/ns_name.c: Likewise.
47694         * stdio-common/vfscanf.c: Likewise.
47695         * streams/stropts.h: Likewise.
47696         * sunrpc/rpc_thread.c: Likewise.
47697         * sysdeps/i386/strpbrk.S: Likewise.
47698         * sysdeps/ieee754/k_standard.c: Likewise.
47699         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
47700         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
47701         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
47702         * sysdeps/mach/hurd/profil.c: Likewise.
47703         * sysdeps/s390/dl-procinfo.h: Likewise.
47704         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
47705         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
47706         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
47707         * sysdeps/x86_64/dl-trampoline.S: Likewise.
47708         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
47710 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
47712         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
47713         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
47715 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
47717         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
47718         aix specific files.
47719         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
47720         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
47721         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
47722         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
47723         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
47724         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
47725         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
47726         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
47728 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
47729             Roland McGrath  <roland@hack.frob.com>
47731         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
47732         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
47734 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47736         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
47737         __executable_start symbol instead of _start.
47739 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
47741         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
47742         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
47743         Move macros to...
47744         * sysdeps/gnu/ldsodefs.h: ... this new file.
47746         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
47747         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
47748         instead of ELFOSABI_LINUX.
47750         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
47751         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
47752         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
47753         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
47754         Likewise.
47755         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
47756         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
47757         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
47758         Likewise.
47759         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
47760         (ibm_extended_long_double): Add ieee_nan member.
47761         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
47762         (do_test): New function.
47764         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
47765         TEST_TRUNC.
47766         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
47767         functions, renamed from truncdfsf_test, trunctfsf_test,
47768         trunctfdf_test.
47769         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
47770         functions.
47771         (do_test): Run all these.
47773 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
47775         * argp/argp-help.c: Fix typos.
47776         * argp/argp-parse.c: Likewise.
47777         * debug/backtracesyms.c: Likewise.
47778         * elf/elf.h: Likewise.
47779         * malloc/malloc.c: Likewise.
47780         * nis/nis_print.c: Likewise.
47781         * resolv/res_comp.c: Likewise.
47782         * stdlib/stdlib.h: Likewise.
47783         * sunrpc/clnt_tcp.c: Likewise.
47784         * sunrpc/clnt_udp.c: Likewise.
47785         * sunrpc/clnt_unix.c: Likewise.
47786         * sysdeps/unix/bsd/ptsname.c: Likewise.
47787         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
47788         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
47789         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
47790         Likewise.
47791         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
47792         Likewise.
47793         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
47794         Likewise.
47795         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
47797 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
47799         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
47800         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
47802 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
47804         [BZ #15897]
47805         * dlfcn/Makefile (tests): Add bug-dl-leaf.
47806         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
47807         ($(objpfx)bug-dl-leaf): New rule.
47808         ($(objpfx)bug-dl-leaf.so): Likewise.
47809         ($(objpfx)bug-dl-leaf.out): Likewise.
47810         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
47811         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
47812         * dlfcn/bug-dl-leaf.c: New test.
47813         * dlfcn/bug-dl-leaf-lib.c: Likewise.
47814         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
47815         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
47816         (dlclose): Likewise.
47817         (dlmopen): Likewise.
47819 2013-08-27  Roland McGrath  <roland@hack.frob.com>
47821         * include/netdb.h [!_ISOMAC]:
47822         Don't include <tls.h>.
47823         (h_errno, __libc_h_errno): Move declaration and macros out of
47824         [_LIBC_REENTRANT].
47826         * include/resolv.h [_RESOLV_H_]:
47827         Don't include <tls.h>.
47828         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
47829         * resolv/res_libc.c: Don't include <tls.h>.
47830         (_res): Use __attribute__ ((nocommon)) in place of
47831         __attribute__ ((section (".bss"))).
47833         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
47834         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
47836         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
47838         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
47839         only under [SIOCGIFCONF && SIOCGIFNETMASK].
47841         * resolv/res_mkquery.c: Include <sys/time.h>.
47843         * inet/ifreq.c: Moved to ...
47844         * sysdeps/unix/ifreq.c: ... here.
47845         * inet/ifreq.c: New file, true stub version.
47847         * socket/sa_len.c: New file.
47848         * socket/Makefile (aux): Add it.
47849         * sysdeps/unix/sysv/linux/Makefile
47850         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
47851         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
47852         and #include <socket/sa_len.c>.
47853         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
47854         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
47856         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
47857         * bits/socket.h: ... here.
47859         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
47860         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
47861         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
47863 2013-08-27  Andreas Schwab  <schwab@suse.de>
47865         [BZ #15736]
47866         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
47867         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
47868         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
47869         * string/test-strcasecmp.c (test_main): Run tests in several
47870         locales.
47871         * string/test-strncasecmp.c (test_main): Likewise.
47873         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
47874         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
47875         to __strcasecmp_nonascii and __strncasecmp_nonascii.
47876         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
47877         (__strncasecmp_ssse3) [PIC]: Likewise.
47879 2013-08-26  Roland McGrath  <roland@hack.frob.com>
47881         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
47883         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
47884         instead of explicitly declaring xdecrypt.
47885         * nis/nss_nis/nis-publickey.c: Likewise.
47887 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
47889         [BZ #15890]
47890         * nscd/aicache.c: Include res_hconf.h.
47891         (addhstaiX): Initialize res_hconf.
47893 2013-08-26  Andreas Schwab  <schwab@suse.de>
47895         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
47896         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
47898 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
47900         * nscd/aicache.c (addhstaiX): Fix indentation.
47902 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
47904         * configure.ac: Quote $build_pt_chown test.
47905         * configure: Regenerated.
47907 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
47909         [BZ #15532]
47910         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
47911         * math/s_cexpf.c (__cexpf): Likewise.
47912         * math/s_cexpl.c (__cexpl): Likewise.
47913         * math/libm-test.inc (cexp_test_data): Correct expected return
47914         value for NaN + i0.  Add another test.
47916 2013-08-22  David S. Miller  <davem@davemloft.net>
47918         * po/ca.po: Update Catalan translation from translation project.
47919         * po/uk.po: Add Ukrainian translations from translation project.
47921 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
47923         [BZ #15797]
47924         * math/s_fdim.c (__fdim): Check for infinite arguments if result
47925         is infinite, not alongside NaN test.
47926         * math/s_fdimf.c (__fdimf): Likewise.
47927         * math/s_fdiml.c (__fdiml): Likewise.
47928         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
47929         errno is unchanged.
47931 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
47933         * argp/argp-help.c: Fix typos.
47934         * crypt/speeds.c: Likewise.
47935         * csu/check_fds.c: Likewise.
47936         * elf/dl-load.c: Likewise.
47937         * elf/dl-open.c: Likewise.
47938         * elf/reldep3.c: Likewise.
47939         * elf/reldep.c: Likewise.
47940         * elf/sprof.c: Likewise.
47941         * iconv/iconv_charmap.c: Likewise.
47942         * iconv/skeleton.c: Likewise.
47943         * iconv/strtab.c: Likewise.
47944         * io/lockf64.c: Likewise.
47945         * libio/libioP.h: Likewise.
47946         * resolv/gai_notify.c: Likewise.
47947         * resolv/ns_name.c: Likewise.
47948         * resolv/ns_samedomain.c: Likewise.
47949         * resolv/res_send.c: Likewise.
47950         * stdlib/random.c: Likewise.
47951         * sunrpc/rpc/xdr.h: Likewise.
47952         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
47953         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
47954         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
47955         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
47956         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
47957         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
47958         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
47959         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
47960         * sysdeps/mach/hurd/check_fds.c: Likewise.
47961         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
47962         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
47963         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
47964         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
47965         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
47966         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
47967         * sysdeps/pthread/aio_notify.c: Likewise.
47968         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
47969         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
47970         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
47971         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
47972         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
47974 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
47976         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
47977         version if bit_Slow_SSE4_2 is set.
47978         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
47979         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
47981 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47983         [BZ #15867]
47984         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
47985         trampoline stack frame information.
47986         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
47987         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
47988         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
47989         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
47990         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
47991         * sysdeps/unix/sysv/linux/powerpc/init-first.c
47992         (_libc_vdso_platform_setup): Initialize the signal trampolines.
47993         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
47994         sa_flags value.
47995         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
47996         interrupting a syscall and set with option SA_SIGINFO.
47998 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
48000         [BZ #15531]
48001         * math/s_cproj.c (__cproj): Only return an infinity if one part of
48002         argument is infinite.
48003         * math/s_cprojf.c (__cprojf): Likewise.
48004         * math/s_cprojl.c (__cprojl): Likewise.
48005         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
48006         * math/libm-test.inc (cproj_test_data): Add more tests.
48008         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
48010         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
48011         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
48012         size.  Use __ffs to determine corresponding shift.
48014 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
48015             Roland McGrath  <roland@hack.frob.com>
48017         * Makefile (INSTALL): Remove trailing blank lines from output of
48018         makeinfo.
48020 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48022         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
48023         Align 32 bit compat elf_greg to 8 bytes.
48025 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
48027         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
48029 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
48031         * string/strcoll_l.c (coll_seq): New structure.
48032         (get_next_seq_cached): New function.
48033         (get_next_seq): New function.
48034         (do_compare): New function.
48035         (STRCOLL): Use GNU style definition.  Simplify implementation
48036         by using get_next_seq, get_next_seq_cached and do_compare.
48038 2013-08-16  Florian Weimer  <fweimer@redhat.com>
48040         [BZ #14699]
48041         CVE-2013-4237
48042         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
48043         member.
48044         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
48045         member.
48046         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
48047         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
48048         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
48049         conditional.
48050         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
48051         GETDENTS_64BIT_ALIGNED.
48052         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
48053         * manual/filesys.texi (Reading/Closing Directory): Document
48054         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
48055         strongly.
48056         * manual/conf.texi (Limits for Files): Add portability note to
48057         NAME_MAX, PATH_MAX.
48058         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
48060 2013-08-13  Andreas Schwab  <schwab@suse.de>
48062         [BZ #15749]
48063         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
48064         of fabs.
48065         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
48066         LDBL_MAX_EXP >= 16384]: Add tests for it.
48068 2013-08-12  David S. Miller  <davem@davemloft.net>
48070         * version.h (RELEASE): Set to "development".
48071         (VERSION): Set to "2.18.90".
48072         * NEWS: Add 2.19 section.
48074 2013-08-03  David S. Miller  <davem@davemloft.net>
48076         * po/ko.po: Update Korean translation from translation project.
48078 2013-08-01  David S. Miller  <davem@davemloft.net>
48080         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
48081         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
48082         Bilka.
48084 2013-07-30  David S. Miller  <davem@davemloft.net>
48086         * po/fr.po: Update French translation from translation project.
48088 2013-07-28  David S. Miller  <davem@davemloft.net>
48090         * po/cs.po: Update Czech translation from translation project.
48092         * po/sv.po: Update Swedish translation from translation project.
48094 2013-07-27  David S. Miller  <davem@davemloft.net>
48096         * po/eo.po: Update Esperanto translation from translation project.
48098         * po/vi.po: Update Vietnamese translation from translation project.
48100         * po/de.po: Update German translation from translation project.
48102 2013-07-26  David S. Miller  <davem@davemloft.net>
48104         * po/bg.po: Update Bulgarian translation from translation project.
48106         * po/nl.po: Update Dutch translation from translation project.
48107         * po/pl.po: Update Polish translation from translation project.
48108         * po/ru.po: Update Russian translation from translation project.
48110 2013-07-24  David S. Miller  <davem@davemloft.net>
48112         * po/libc.pot: Update.
48114 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48116         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
48117         variable page size.
48118         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
48119         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
48120         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
48122 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48124         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
48126 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
48127             Andreas Schwab  <schwab@suse.de>
48128             Roland McGrath  <roland@hack.frob.com>
48129             Joseph Myers  <joseph@codesourcery.com>
48130             Carlos O'Donell  <carlos@redhat.com>
48132         [BZ #15755]
48133         * config.h.in: Define HAVE_PT_CHOWN.
48134         * config.make.in (build-pt-chown): New variable.
48135         * configure.in (--enable-pt_chown): New configure option.
48136         * configure: Regenerate.
48137         * login/Makefile: Include Makeconfig.  Build pt_chown only if
48138         build-pt-chown is enabled.
48139         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
48140         pt_chown to fix pty ownership.
48141         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
48142         CLOSE_ALL_FDS.
48143         * manual/install.texi (Configuring and compiling): Mention
48144         --enable-pt_chown. Add @findex for grantpt.
48145         * INSTALL: Regenerate.
48147 2013-07-20  David S. Miller  <davem@davemloft.net>
48149         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
48150         difference between 32-bit and 64-bit.
48152 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
48154         [BZ #15711]
48155         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
48156         Avoid system header dependency with -ffreestanding.
48157         ($(objpfx)bits/syscall%d): Likewise.
48159 2013-07-13  David S. Miller  <davem@davemloft.net>
48161         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
48162         underflows from atanl/atan2l due to bug 15319.
48163         (casinh_test_data): Likewise.
48165 2013-07-07  David S. Miller  <davem@davemloft.net>
48167         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
48169 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
48171         * sysdeps/i386/fpu/libm-test-ulps: Update.
48172         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48174 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
48176         * configure.in (--enable-lock-elision): Fix message text.
48177         * INSTALL: Regenerate.
48178         * configure: Regenerate.
48180 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48182         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48184 2013-07-03  Andreas Jaeger  <aj@suse.de>
48186         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
48187         define.
48188         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
48189         (ptrace_peeksiginfo_args): Add.
48190         (__ptrace_peeksiginfo_flags): Add.
48191         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
48192         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
48193         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
48195 2013-07-03  Allan McRae  <allan@archlinux.org>
48197         * sysdeps/i386/fpu/libm-test-ulps: Update.
48199 2013-07-02  David S. Miller  <davem@davemloft.net>
48201         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48203 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
48205         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48207 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
48209         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
48210         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48212 2013-07-02  Andi Kleen <ak@linux.intel.com>
48214         * config.h.in (ENABLE_LOCK_ELISION): Add.
48215         * configure.in (--enable-lock-elision): Add option.
48216         * manual/install.texi: Document --enable lock elision.
48217         * configure: Regenerate
48218         * INSTALL: Regenerate.
48220 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
48222         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
48223         SSE4.2 strcasecmp for libc.a.
48224         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
48226 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
48228         [BZ #13304]
48229         * soft-fp/op-common.h (_FP_FMA): New macro.
48230         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
48231         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
48232         (_FP_MUL_MEAT_1_imm): ... here.
48233         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
48234         (_FP_MUL_MEAT_1_wide): ... here.
48235         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
48236         (_FP_MUL_MEAT_1_hard): ... here.
48237         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
48238         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
48239         (_FP_MUL_MEAT_2_wide): ... here.
48240         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
48241         (_FP_MUL_MEAT_2_wide_3mul): ... here.
48242         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
48243         (_FP_MUL_MEAT_2_gmp): ... here.
48244         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
48245         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
48246         (_FP_MUL_MEAT_4_wide): ... here.
48247         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
48248         (_FP_MUL_MEAT_4_gmp): ... here.
48249         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
48250         (_FP_WFRACBITS_DW_S): Likewise.
48251         (_FP_WFRACXBITS_DW_S): Likewise.
48252         (_FP_HIGHBIT_DW_S): Likewise.
48253         (FP_FMA_S): Likewise.
48254         (_FP_FRAC_HIGH_DW_S): Likewise.
48255         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
48256         (_FP_WFRACBITS_DW_D): Likewise.
48257         (_FP_WFRACXBITS_DW_D): Likewise.
48258         (_FP_HIGHBIT_DW_D): Likewise.
48259         (FP_FMA_D): Likewise.
48260         (_FP_FRAC_HIGH_DW_D): Likewise.
48261         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
48262         (_FP_WFRACBITS_DW_E): Likewise.
48263         (_FP_WFRACXBITS_DW_E): Likewise.
48264         (_FP_HIGHBIT_DW_E): Likewise.
48265         (FP_FMA_E): Likewise.
48266         (_FP_FRAC_HIGH_DW_E): Likewise.
48267         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
48268         (_FP_WFRACBITS_DW_Q): Likewise.
48269         (_FP_WFRACXBITS_DW_Q): Likewise.
48270         (_FP_HIGHBIT_DW_Q): Likewise.
48271         (FP_FMA_Q): Likewise.
48272         (_FP_FRAC_HIGH_DW_Q): Likewise.
48273         * soft-fp/fmasf4.c: New file.
48274         * soft-fp/fmadf4.c: Likewise.
48275         * soft-fp/fmatf4.c: Likewise.
48277 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
48279         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
48280         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
48281         Silvermont.
48282         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
48283         macro.
48284         (index_Slow_SSE4_2): Likewise.
48285         (index_Prefer_PMINUB_for_stringop): Likewise.
48286         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
48287         bit_Slow_SSE4_2 is set.
48288         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
48289         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
48291 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
48293         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
48294         rtld_global._dl_hwcap2.
48295         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
48296         POWER8.
48297         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
48298         POWER8 feature descriptions defined in _dl_hwcap2.
48299         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
48300         string handling for POWER8 feature bits.
48301         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
48302         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
48303         _dl_powerpc_cap_flags.
48304         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
48305         * sysdeps/powerpc/rtld-global-offsets.sym
48306         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
48307         _dl_hwcap2 in the rtld_global_ro structure.
48309 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
48311         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
48312         hardware capabilities in support of AT_HWCAP2.
48313         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
48314         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
48315         GLRO(dl_hwcap2).
48316         (_dl_show_auxv): Add support for calling _dl_procinfo to display
48317         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
48318         explicitly the unknown a_type display mechanism is used.
48319         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
48320         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
48321         struct member.
48322         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
48323         to macro prototype for AT_HWCAP2 support.
48324         * sysdeps/i386/dl-procinfo.h: Likewise.
48325         * sysdeps/s390/dl-procinfo.h: Likewise.
48326         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
48327         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
48328         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
48329         return -1 for unknown a_type display fallback.
48330         * sysdeps/sparc/dl-procinfo.h: Likewise.
48331         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
48332         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
48334 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
48336         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
48337         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
48339 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
48341         [BZ #12492]
48342         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
48343         mprotect making __stack_prot writable.
48345 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
48346             Joseph Myers  <joseph@codesourcery.com>
48348         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
48349         as being properly aligned.
48351 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
48353         * dlfcn/modstatic5.c: New file.
48354         * dlfcn/tststatic5.c: New file.
48355         * dlfcn/Makefile (tests): Add tststatic5.
48356         (tests-static): Likewise.
48357         (modules-names): Add modstatic5.
48358         (tststatic5-ENV): New variable.
48359         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
48361         [BZ #15022]
48362         * elf/dl-support.c (_dl_main_map): New variable.
48363         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
48364         (_dl_nns, _dl_load_adds): Set to 1.
48365         (_dl_initial_searchlist): Refer to _dl_main_map.
48366         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
48367         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
48368         call to _dl_get_origin.
48369         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
48370         around call_map.
48371         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
48372         * dlfcn/modstatic3.c: New file.
48373         * dlfcn/tststatic3.c: New file.
48374         * dlfcn/tststatic4.c: New file.
48375         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
48376         (tests-static): Likewise.
48377         (modules-names): Add modstatic3.
48378         (tststatic3-ENV, tststatic4-ENV): New variables.
48379         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
48380         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
48382 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
48384         * configure.in (CC): Require GCC version 4.4 or later.
48385         * configure: Regenerated.
48386         * manual/install.texi (Tools for Compilation): Update GCC version
48387         requirement.
48388         * INSTALL: Regenerated.
48390 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
48392         [BZ #15674]
48393         * string/test-memcmp.c (check2): New.
48394         (main): Call check2.
48396         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
48398 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
48400         [BZ #15022]
48401         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
48402         over to...
48403         (dl_open_worker) [!SHARED]: ... here.
48405 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
48407         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
48409 2013-06-25  Richard Henderson  <rth@redhat.com>
48411         * locale/programs/locarchive.c: Include <libc-internal.h>
48413 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
48415         * manual/texinfo.tex: Update to version 2013-06-21.17, with
48416         trailing whitespace removed.
48418 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
48420         [BZ #10283]
48421         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
48422         * locale/programs/locarchive.c: Include libc-mmap.h.
48423         (prepare_address_space): Take two new outputs (the mmap base and len).
48424         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
48425         values.
48426         (create_archive): Declare new mmap base and len values for
48427         prepare_address_space, and store the result in ah.
48428         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
48429         (enlarge_archive): If ah->mmap_base is not NULL, use that and
48430         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
48431         Declare new mmap base and len values for
48432         prepare_address_space, and store the result in new_ah.
48433         (open_archive): Declare new mmap base and len values for
48434         prepare_address_space, and store the result in ah.
48435         (close_archive): If ah->mmap_base is not NULL, use that and
48436         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
48437         * sysdeps/generic/libc-mmap.h: New file.
48439 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
48441         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
48442         (ALIGN_UP): Likewise.
48443         (PTR_ALIGN_DOWN): Likewise.
48444         (PTR_ALIGN_UP): Likewise.
48446 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
48448         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
48449         entry mapped to PPC_PLATFORM_POWER8.
48450         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
48451         POWER8.
48452         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
48453         (_dl_string_platform): Add case for exporting platform position for
48454         POWER8.
48455         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
48456         search path to sysdeps/powerpc/powerpc32/power8 directory.
48457         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
48458         search path to sysdeps/powerpc/powerpc64/power8 directory.
48459         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
48460         power7 directories.
48461         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
48462         power7 directories.
48464 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
48466         * INSTALL: Regenerate.
48468         * nscd/connections.c (nscd_init): Fix comment.
48470 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
48472         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
48474         [BZ #15667]
48475         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
48476         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
48478 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
48480         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
48481         DL_DST_REQ_STATIC.
48482         (DL_DST_REQ_STATIC): Remove macro.
48484 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
48486         [BZ #7006]
48487         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
48488         with a shift of 0 bits.
48490 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
48492         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
48493         $(tststatic-ENV).
48495 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
48497         [BZ #15655]
48498         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
48500 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48502         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
48503         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
48504         accepts -fno-tree-loop-distribute-patterns.
48505         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
48506         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
48507         recursive call.
48508         * string/memset.c (memset): Likewise.
48509         * string/test-memmove.c (simple_memmove): Disable loop transformation
48510         to library calls.
48511         * string/test-memset.c (simple_memset): Likewise.
48512         * benchtests/bench-memmove.c (simple_memmove): Likewise.
48513         * benchtests/bench-memset.c (simple_memset): Likewise.
48514         * configure: Regenerated.
48516 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
48518         * math/test-misc.c (main): Ignore fesetround failure when failures
48519         of subsequent rounding tests would be ignored.
48521         [BZ #15654]
48522         * math/fedisblxcpt.c (fedisableexcept): Return 0.
48523         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
48524         * math/fegetenv.c (__fegetenv): Return 0.
48525         * math/fegetexcept.c (fegetexcept): Return 0.
48526         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
48527         FE_TONEAREST.
48528         * math/feholdexcpt.c (feholdexcept): Return 0.
48529         * math/fesetenv.c (__fesetenv): Return 0.
48530         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
48531         argument FE_TONEAREST.
48532         * math/feupdateenv.c (__feupdateenv): Return 0.
48533         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
48535 2013-06-18  Roland McGrath  <roland@hack.frob.com>
48537         * elf/rtld-Rules (rtld-compile-command.S): New variable.
48538         (rtld-compile-command.s, rtld-compile-command.c): New variables.
48539         ($(objpfx)rtld-%.os rules): Use them.
48541 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48543         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
48544         fields.
48546 2013-06-17  Roland McGrath  <roland@hack.frob.com>
48548         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
48549         length of target pattern, then descending length of dependency pattern.
48550         * configure.in (AWK): Require gawk 3.1.2 or newer.
48551         * manual/install.texi (Tools for Compilation): Say that we do.
48552         * configure: Regenerated.
48554         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
48555         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
48556         * scripts/sysd-rules.awk: ... this new script.
48557         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
48558         than a glob-style pattern.
48560 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
48562         * math/test-misc.c (main): Do not treat incorrectly rounded
48563         conversions as failure unless ROUNDING_TESTS passes.
48565 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
48567         [BZ #15631]
48568         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
48569         restore exception state around main square root computation, then
48570         check for inexactness explicitly.
48572         * math/libm-test.inc (fma_test_data): Add another test.
48574 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
48576         * manual/threads.texi (Non-POSIX Extensions): New document
48577         node.  Document pthread_getattr_default_np and
48578         pthread_setattr_default_np.
48580         * Versions.def (libpthread): Add GLIBC_2.18.
48581         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
48582         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
48583         Likewise.
48584         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
48585         Likewise.
48586         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
48587         Likewise.
48588         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
48589         Likewise.
48590         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
48591         Likewise.
48592         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
48593         Likewise.
48594         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
48595         Likewise.
48596         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
48597         Likewise.
48598         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
48599         Likewise.
48601 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
48603         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48604         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
48606 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
48607             H.J. Lu  <hjl.tools@gmail.com>
48609         [BZ #15627]
48610         * sysdeps/x86_64/rtld-memset.c: Remove file.
48611         * sysdeps/x86_64/rtld-memset.S: New file.
48613 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
48615         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
48616         (test_in_one_mode): Take arguments for whether the rounding mode
48617         is supported for each floating-point type.
48618         (do_test): Pass new arguments to test_in_one_mode using
48619         ROUNDING_TESTS.
48621 2013-06-13  Roland McGrath  <roland@hack.frob.com>
48623         * posix/tst-waitid.c (do_test): Distinguish different instances of
48624         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
48625         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
48626         before entering the kernel for waitpid.
48628 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
48630         * NEWS: Fix note on clock function precision.  Text by Roland
48631         McGrath.
48633 2013-06-13  Roland McGrath  <roland@hack.frob.com>
48635         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
48636         it into place only when and if the sanity check passes.
48638 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
48640         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
48641         output for whether conversion result is exact.  Take argument
48642         indicating whether type is IBM long double.
48643         (round_for_all): Change need_exact field to ibm_ld.
48644         * stdlib/tst-strtod-round.c (struct exactness): New type.
48645         (struct test): Change bool ld_ok field to struct exactness exact.
48646         (TEST): Update all definitions for change to field.
48647         (tests): Regenerate array contents.
48648         (test_in_one_mode): Take pointer to new field instead of old ld_ok
48649         field value.  Check for IBM long double here.
48650         (do_test): Update calls to test_in_one_mode.
48652 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
48654         [BZ #12515]
48655         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
48656         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
48658 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48660         [BZ #15605]
48661         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
48662         generated by the compiler on loop optimizations.
48663         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
48664         general definitions.
48666 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
48668         * math/bug-nextafter.c: Include <math-tests.h>.
48669         (main): Only test for exceptions if EXCEPTION_TESTS is true for
48670         the relevant type.
48671         * math/bug-nexttoward.c: Include <math-tests.h>.
48672         (main): Only test for exceptions if EXCEPTION_TESTS is true for
48673         the relevant type.
48674         * math/test-misc.c: Include <math-tests.h>.
48675         (main): Only test for exceptions if EXCEPTION_TESTS is true for
48676         the relevant type.
48678 2013-06-12  Andreas Jaeger  <aj@suse.de>
48680         * po/ia.po: Update Interlingua translation from translation
48681         project.
48683 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
48685         * include/fenv.h: Include stdbool.h.
48686         (struct rm_ctx): New structure.
48687         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
48688         Define macro.
48689         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
48690         (SET_RESTORE_ROUNDF): Likewise.
48691         (SET_RESTORE_ROUNDL): Likewise.
48692         (SET_RESTORE_ROUND_NOEX): Likewise.
48693         (SET_RESTORE_ROUND_NOEXF): Likewise.
48694         (SET_RESTORE_ROUND_NOEXL): Likewise.
48695         (SET_RESTORE_ROUND_53BIT): Likewise.
48696         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
48697         (libc_feresetround_noexf_ctx): Likewise.
48698         (libc_feresetround_noexl_ctx): Likewise.
48699         (libc_feholdsetround_53bit_ctx): Likewise.
48700         (libc_feresetround_53bit_ctx): Likewise.
48701         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
48702         (libc_feholdexcept_setround_sse_ctx): New function.
48703         (libc_fesetenv_sse_ctx): Likewise.
48704         (libc_feupdateenv_sse_ctx): Likewise.
48705         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
48706         (libc_feholdexcept_setround_387_ctx): Likewise.
48707         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
48708         (libc_feholdsetround_387_prec_ctx): Likewise.
48709         (libc_feholdsetround_387_ctx): Likewise.
48710         (libc_feholdsetround_387_53bit_ctx): Likewise.
48711         (libc_feholdsetround_sse_ctx): Likewise.
48712         (libc_feresetround_sse_ctx): Likewise.
48713         (libc_feresetround_387_ctx): Likewise.
48714         (libc_feupdateenv_387_ctx): Likewise.
48715         (libc_feholdexcept_setroundf_ctx): Define macro.
48716         (libc_fesetenvf_ctx): Likewise.
48717         (libc_feupdateenvf_ctx): Likewise.
48718         (libc_feholdsetroundf_ctx): Likewise.
48719         (libc_feresetroundf_ctx): Likewise.
48720         (libc_feholdexcept_setround_ctx): Likewise.
48721         (libc_fesetenv_ctx): Likewise.
48722         (libc_feupdateenv_ctx): Likewise.
48723         (libc_feholdsetround_ctx): Likewise.
48724         (libc_feresetround_ctx): Likewise.
48725         (libc_feholdexcept_setroundl_ctx): Likewise.
48726         (libc_feupdateenvl_ctx): Likewise.
48727         (libc_feholdsetroundl_ctx): Likewise.
48728         (libc_feresetroundl_ctx): Likewise.
48729         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
48730         (libc_feresetround_53bit_ctx): Likewise.
48732 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
48734         * locale/iso-639.def: Convert to UTF-8.
48736 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
48738         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
48739         (EXCEPTION_TESTS_double): Likewise.
48740         (EXCEPTION_TESTS_long_double): Likewise.
48741         (EXCEPTION_TESTS): Likewise.
48742         * math/libm-test.inc (test_exceptions): Only test exceptions if
48743         EXCEPTION_TESTS (FLOAT).
48745 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
48747         * benchtests/Makefile (string-bench): Add strcpy_chk and
48748         stpcpy_chk.
48749         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
48750         * benchtests/bench-stpcpy_chk.c: New file.
48751         * benchtests/bench-strcpy_chk-ifunc.c: New file.
48752         * benchtests/bench-strcpy_chk.c: New file.
48753         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
48754         code.
48755         (do_test): Likewise.
48757 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
48759         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
48760         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
48761         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
48762         with tabs where appropriate.
48763         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
48764         dl-procinfo.h.
48765         [PPC_PLATFORM_PPC440]: Likewise.
48766         [PPC_PLATFORM_PPC464]: Likewise.
48767         [PPC_PLATFORM_PPC476]: Likewise.
48768         (_dl_string_platform): Add support for detecting ppc405, ppc440,
48769         ppc464, and ppc476 platform strings merging from ports/
48770         dl-procinfo.h.
48772 2013-06-11  Andreas Schwab  <schwab@suse.de>
48774         [BZ #14991]
48775         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
48776         (from_ucs4_idx): Regenerate.
48777         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
48778         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
48779         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
48780         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
48781         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
48782         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
48783         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
48784         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
48785         from FROM_LOOP and TO_LOOP specific macros.
48786         (BODY): Handle combining characters.
48787         * iconvdata/BIG5HKSCS.irreversible: Update.
48788         * iconvdata/BIG5HKSCS.precomposed: New file.
48789         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
48790         characters.
48791         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
48793 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
48795         * include/sys/time.h: Fix indentation and add copyright header.
48797         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
48798         (do_test): Likewise.
48799         * string/test-memchr.c (do_one_test): Likewise.
48800         (do_test): Likewise.
48801         * string/test-memcmp.c (do_one_test): Likewise.
48802         (do_test): Likewise.
48803         * string/test-memcpy.c (do_one_test): Likewise.
48804         (do_test): Likewise.
48805         * string/test-memmem.c (do_one_test): Likewise.
48806         (do_test): Likewise.
48807         (do_random_tests): Likewise.
48808         * string/test-memmove.c (do_one_test): Likewise.
48809         (do_test): Likewise.
48810         * string/test-memset.c (do_one_test): Likewise.
48811         (do_test): Likewise.
48812         * string/test-rawmemchr.c (do_one_test): Likewise.
48813         (do_test): Likewise.
48814         * string/test-strcasecmp.c (do_one_test): Likewise.
48815         (do_test): Likewise.
48816         * string/test-strcasestr.c (do_one_test): Likewise.
48817         (do_test): Likewise.
48818         * string/test-strcat.c (do_one_test): Likewise.
48819         (do_test): Likewise.
48820         * string/test-strchr.c (do_one_test): Likewise.
48821         (do_test): Likewise.
48822         * string/test-strcmp.c (do_one_test): Likewise.
48823         (do_test): Likewise.
48824         * string/test-strcpy.c (do_one_test): Likewise.
48825         (do_test): Likewise.
48826         * string/test-string.h: Likewise.
48827         (test_init): Likewise.
48828         * string/test-strlen.c (do_one_test): Likewise.
48829         (do_test): Likewise.
48830         * string/test-strncasecmp.c (do_one_test): Likewise.
48831         (do_test): Likewise.
48832         * string/test-strncat.c (do_one_test): Likewise.
48833         (do_test): Likewise.
48834         * string/test-strncmp.c (do_one_test): Likewise.
48835         (do_test_limit): Likewise.
48836         (do_test): Likewise.
48837         * string/test-strncpy.c (do_one_test): Likewise.
48838         (do_test): Likewise.
48839         * string/test-strnlen.c (do_one_test): Likewise.
48840         (do_test): Likewise.
48841         * string/test-strpbrk.c (do_one_test): Likewise.
48842         (do_test): Likewise.
48843         * string/test-strrchr.c (do_one_test): Likewise.
48844         (do_test): Likewise.
48845         * string/test-strspn.c (do_one_test): Likewise.
48846         (do_test): Likewise.
48847         * string/test-strstr.c (do_one_test): Likewise.
48848         (do_test): Likewise.
48850         * benchtests/Makefile (string-bench): Add string benchmarks.
48851         * benchtests/bench-bcopy-ifunc.c: New file.
48852         * benchtests/bench-bcopy.c: New file.
48853         * benchtests/bench-bzero-ifunc.c: New file.
48854         * benchtests/bench-bzero.c: New file.
48855         * benchtests/bench-memccpy-ifunc.c: New file.
48856         * benchtests/bench-memccpy.c: New file.
48857         * benchtests/bench-memchr-ifunc.c: New file.
48858         * benchtests/bench-memchr.c: New file.
48859         * benchtests/bench-memcmp-ifunc.c: New file.
48860         * benchtests/bench-memcmp.c: New file.
48861         * benchtests/bench-memmem-ifunc.c: New file.
48862         * benchtests/bench-memmem.c: New file.
48863         * benchtests/bench-memmove-ifunc.c: New file.
48864         * benchtests/bench-memmove.c: New file.
48865         * benchtests/bench-mempcpy-ifunc.c: New file.
48866         * benchtests/bench-mempcpy.c: New file.
48867         * benchtests/bench-memset-ifunc.c: New file.
48868         * benchtests/bench-memset.c: New file.
48869         * benchtests/bench-rawmemchr-ifunc.c: New file.
48870         * benchtests/bench-rawmemchr.c: New file.
48871         * benchtests/bench-stpcpy-ifunc.c: New file.
48872         * benchtests/bench-stpcpy.c: New file.
48873         * benchtests/bench-stpncpy-ifunc.c: New file.
48874         * benchtests/bench-stpncpy.c: New file.
48875         * benchtests/bench-strcasecmp-ifunc.c: New file.
48876         * benchtests/bench-strcasecmp.c: New file.
48877         * benchtests/bench-strcasestr-ifunc.c: New file.
48878         * benchtests/bench-strcasestr.c: New file.
48879         * benchtests/bench-strcat-ifunc.c: New file.
48880         * benchtests/bench-strcat.c: New file.
48881         * benchtests/bench-strchr-ifunc.c: New file.
48882         * benchtests/bench-strchr.c: New file.
48883         * benchtests/bench-strchrnul-ifunc.c: New file.
48884         * benchtests/bench-strchrnul.c: New file.
48885         * benchtests/bench-strcmp-ifunc.c: New file.
48886         * benchtests/bench-strcmp.c: New file.
48887         * benchtests/bench-strcpy-ifunc.c: New file.
48888         * benchtests/bench-strcpy.c: New file.
48889         * benchtests/bench-strcspn-ifunc.c: New file.
48890         * benchtests/bench-strcspn.c: New file.
48891         * benchtests/bench-strlen-ifunc.c: New file.
48892         * benchtests/bench-strlen.c: New file.
48893         * benchtests/bench-strncasecmp-ifunc.c: New file.
48894         * benchtests/bench-strncasecmp.c: New file.
48895         * benchtests/bench-strncat-ifunc.c: New file.
48896         * benchtests/bench-strncat.c: New file.
48897         * benchtests/bench-strncmp-ifunc.c: New file.
48898         * benchtests/bench-strncmp.c: New file.
48899         * benchtests/bench-strncpy-ifunc.c: New file.
48900         * benchtests/bench-strncpy.c: New file.
48901         * benchtests/bench-strnlen-ifunc.c: New file.
48902         * benchtests/bench-strnlen.c: New file.
48903         * benchtests/bench-strpbrk-ifunc.c: New file.
48904         * benchtests/bench-strpbrk.c: New file.
48905         * benchtests/bench-strrchr-ifunc.c: New file.
48906         * benchtests/bench-strrchr.c: New file.
48907         * benchtests/bench-strspn-ifunc.c: New file.
48908         * benchtests/bench-strspn.c: New file.
48909         * benchtests/bench-strstr-ifunc.c: New file.
48910         * benchtests/bench-strstr.c: New file.
48912         * benchtests/Makefile: Disable parallel execution of targets.
48913         (string-bench): Add memcpy.
48914         (benchset): New variable to store a list of benchmark sets.
48915         (bench-func): Renamed from bench.
48916         (bench-set): New target.
48917         (bench): Depend on bench-func and bench-set.
48918         * benchtests/README: Add section on benchmark sets.
48919         * benchtests/bench-memcpy-ifunc.c: New file.
48920         * benchtests/bench-memcpy.c: New file.
48921         * benchtests/bench-string.h: New file.
48923 2013-06-11  Andreas Schwab  <schwab@suse.de>
48925         [BZ #15577]
48926         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
48927         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
48928         values in the triple.
48929         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
48930         terminator in the group key.
48932 2013-06-11  Andreas Jaeger  <aj@suse.de>
48934         * po/zh_TW.po: Update Chinese (traditional) translation from
48935         translation project.
48937 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
48939         * include/time.h (__clock_gettime): Add libc_hidden_proto.
48940         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
48941         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
48942         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
48943         (clock_getcpuclockid): Likewise.
48944         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
48945         Add weak_alias and libc_hidden_def.
48946         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
48947         * rt/clock_gettime.c (clock_gettime): Rename to
48948         __clock_gettime.  Add weak_alias and libc_hidden_def.
48949         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
48950         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
48951         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
48952         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
48953         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
48954         Likewise.
48955         * rt/clock_settime.c (clock_settime): Rename to
48956         __clock_settime.  Add weak_alias and libc_hidden_def.
48957         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
48959 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
48961         * mach/err_boot.sub: Remove trailing whitespace.
48962         * mach/err_ipc.sub: Likewise.
48963         * mach/err_mach.sub: Likewise.
48965         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
48966         (ROUNDING_TESTS_double): Likewise.
48967         (ROUNDING_TESTS_long_double): Likewise.
48968         (ROUNDING_TESTS): Likewise.
48969         * math/libm-test.inc: Include <math-tests.h>.
48970         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
48971         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
48972         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
48973         (IF_ROUND_INIT_FE_UPWARD): Likewise.
48975 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
48977         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
48978         of assigning.
48980 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
48982         * sysdeps/gnu/errlist.awk: Do not generate space at end of
48983         otherwise empty TRANS lines.
48984         * sysdeps/gnu/errlist.c: Regenerated.
48986         * catgets/gencat.c (error_print): Use (void) in function
48987         definition.
48988         * crypt/crypt_util.c (__init_des): Likewise.
48989         * crypt/speeds.c (Stop): Likewise.
48990         (main): Likewise.
48991         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
48992         * inet/ruserpass.c (token): Likewise.
48993         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
48994         * intl/localealias.c (extend_alias_table): Likewise.
48995         * intl/plural-exp.c (init_germanic_plural): Likewise.
48996         * libio/fcloseall.c (__fcloseall): Likewise.
48997         * libio/genops.c (_IO_flush_all): Likewise.
48998         (_IO_flush_all_linebuffered): Likewise.
48999         (_IO_cleanup): Likewise.
49000         (_IO_iter_begin): Likewise.
49001         (_IO_iter_end): Likewise.
49002         (_IO_list_lock): Likewise.
49003         (_IO_list_unlock): Likewise.
49004         (_IO_list_resetlock): Likewise.
49005         * libio/getchar.c (getchar): Likewise.
49006         * libio/getchar_u.c (getchar_unlocked): Likewise.
49007         * libio/getwchar.c (getwchar): Likewise.
49008         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
49009         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
49010         * login/getpt.c (__getpt): Likewise.
49011         * login/tst-utmp.c (main): Likewise.
49012         * malloc/hooks.c (__malloc_check_init): Likewise.
49013         * malloc/malloc.c (__malloc_stats): Likewise.
49014         * malloc/mtrace.c (tr_break): Likewise.
49015         (mtrace): Likewise.
49016         (muntrace): Likewise.
49017         * misc/fstab.c (endfsent): Likewise.
49018         * misc/getclktck.c (__getclktck): Likewise.
49019         * misc/getdtsz.c (__getdtablesize): Likewise.
49020         * misc/gethostid.c (gethostid): Likewise.
49021         * misc/getpagesize.c (__getpagesize): Likewise.
49022         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
49023         (__get_nprocs): Likewise.
49024         (__get_phys_pages): Likewise.
49025         (__get_avphys_pages): Likewise.
49026         * misc/getttyent.c (getttyent): Likewise.
49027         (setttyent): Likewise.
49028         (endttyent): Likewise.
49029         * misc/getusershell.c (getusershell): Likewise.
49030         (endusershell): Likewise.
49031         (setusershell): Likewise.
49032         (initshells): Likewise.
49033         * misc/hsearch.c (__hdestroy): Likewise.
49034         * misc/sync.c (sync): Likewise.
49035         * misc/syslog.c (closelog_internal): Likewise.
49036         (closelog): Likewise.
49037         * misc/ttyslot.c (ttyslot): Likewise.
49038         * misc/vhangup.c (vhangup): Likewise.
49039         * posix/fork.c (__fork): Likewise.
49040         * posix/getegid.c (__getegid): Likewise.
49041         * posix/geteuid.c (__geteuid): Likewise.
49042         * posix/getgid.c (__getgid): Likewise.
49043         * posix/getpid.c (__getpid): Likewise.
49044         * posix/getppid.c (__getppid): Likewise.
49045         * posix/getuid.c (__getuid): Likewise.
49046         * posix/pause.c (pause): Likewise.
49047         * posix/setpgrp.c (setpgrp): Likewise.
49048         * posix/setsid.c (__setsid): Likewise.
49049         * posix/test-vfork.c (noop): Likewise.
49050         * resolv/gethnamaddr.c (_endhtent): Likewise.
49051         (_gethtent): Likewise.
49052         (ht_endhostent): Likewise.
49053         (gethostent): Likewise.
49054         (dns_service): Likewise.
49055         * stdlib/drand48.c (drand48): Likewise.
49056         * stdlib/lrand48.c (lrand48): Likewise.
49057         * stdlib/mrand48.c (mrand48): Likewise.
49058         * stdlib/rand.c (rand): Likewise.
49059         * stdlib/random.c (__random): Likewise.
49060         * stdlib/setenv.c (clearenv): Likewise.
49061         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
49062         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
49063         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
49064         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
49065         (__get_nprocs): Likewise.
49066         (__get_phys_pages): Likewise.
49067         (__get_avphys_pages): Likewise.
49068         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
49069         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
49070         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
49071         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
49072         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
49073         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
49074         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
49075         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
49076         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
49077         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
49078         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
49079         * sysdeps/mach/hurd/sync.c (sync): Likewise.
49080         * sysdeps/posix/clock.c (clock): Likewise.
49081         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
49082         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
49083         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
49084         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
49085         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
49086         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
49087         (__get_nprocs_conf): Likewise.
49088         (__get_phys_pages): Likewise.
49089         (__get_avphys_pages): Likewise.
49090         * time/clock.c (clock): Likewise.
49091         * time/tzset.c (__tzname_max): Likewise.
49093 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
49095         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
49096         (__bswap_32): Do not use "register".
49097         * crypt/crypt.c (_ufc_doit_r): Likewise.
49098         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
49099         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
49100         * gmon/gmon.c (__monstartup): Likewise.
49101         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
49102         * hurd/hurdmalloc.c (more_memory): Likewise.
49103         (malloc): Likewise.
49104         (free): Likewise.
49105         (realloc): Likewise.
49106         (malloc_fork_prepare): Likewise.
49107         (malloc_fork_parent): Likewise.
49108         (malloc_fork_child): Likewise.
49109         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
49110         (_svcauth_des): Likewise.
49111         * inet/inet_lnaof.c (inet_lnaof): Likewise.
49112         * inet/inet_net.c (inet_network): Likewise.
49113         * inet/inet_netof.c (inet_netof): Likewise.
49114         * inet/rcmd.c (__validuser2_sa): Likewise.
49115         * io/fts.c (fts_open): Likewise.
49116         (fts_load): Likewise.
49117         (fts_close): Likewise.
49118         (fts_read): Likewise.
49119         (fts_children): Likewise.
49120         (fts_build): Likewise.
49121         (fts_stat): Likewise.
49122         (fts_sort): Likewise.
49123         (fts_alloc): Likewise.
49124         (fts_lfree): Likewise.
49125         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
49126         (_IO_file_xsgetn): Likewise.
49127         (_IO_file_xsgetn_mmap): Likewise.
49128         * libio/iofopncook.c (_IO_cookie_read): Likewise.
49129         (_IO_cookie_write): Likewise.
49130         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
49131         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
49132         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
49133         * malloc/obstack.c (_obstack_begin): Likewise.
49134         (_obstack_begin_1): Likewise.
49135         (_obstack_newchunk): Likewise.
49136         (_obstack_allocated_p): Likewise.
49137         (obstack_free): Likewise.
49138         (_obstack_memory_used): Likewise.
49139         * misc/getttyent.c (getttynam): Likewise.
49140         (getttyent): Likewise.
49141         (skip): Likewise.
49142         (value): Likewise.
49143         * misc/getusershell.c (initshells): Likewise.
49144         * misc/syslog.c (__vsyslog_chk): Likewise.
49145         * misc/ttyslot.c (ttyslot): Likewise.
49146         * nis/nis_hash.c (__nis_hash): Likewise.
49147         * posix/fnmatch_loop.c (FCT): Likewise.
49148         * posix/getconf.c (print_all): Likewise.
49149         (main): Likewise.
49150         * posix/getopt.c (exchange): Likewise.
49151         * posix/glob.c (globfree): Likewise.
49152         (prefix_array): Likewise.
49153         (__glob_pattern_type): Likewise.
49154         * resolv/arpa/nameser.h (NS_GET16): Likewise.
49155         (NS_GET32): Likewise.
49156         (NS_PUT16): Likewise.
49157         (NS_PUT32): Likewise.
49158         * resolv/gethnamaddr.c (getanswer): Likewise.
49159         (gethostbyname2): Likewise.
49160         (gethostbyaddr): Likewise.
49161         (_gethtent): Likewise.
49162         (_gethtbyname2): Likewise.
49163         (_gethtbyaddr): Likewise.
49164         * resolv/ns_print.c (dst_s_get_int16): Likewise.
49165         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
49166         * resolv/res_init.c (__res_vinit): Likewise.
49167         (net_mask): Likewise.
49168         * resolv/res_mkquery.c (outchar): Likewise.
49169         (PRINT): Likewise.
49170         * stdio-common/printf_fp.c (outchar): Likewise.
49171         (PRINT): Likewise.
49172         * stdio-common/printf_fphex.c (outchar): Likewise.
49173         (PRINT): Likewise.
49174         * stdio-common/printf_size.c (outchar): Likewise.
49175         (PRINT): Likewise.
49176         * stdio-common/test_rdwr.c (main): Likewise.
49177         * stdio-common/tfformat.c (matches): Likewise.
49178         * stdio-common/vfprintf.c (outchar): Likewise.
49179         (printf_unknown): Likewise.
49180         (buffered_vfprintf): Likewise.
49181         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
49182         * stdio-common/xbug.c (AppendToBuffer): Likewise.
49183         (ReadFile): Likewise.
49184         * stdlib/qsort.c (SWAP): Likewise.
49185         (_quicksort): Likewise.
49186         * stdlib/setenv.c (__add_to_environ): Likewise.
49187         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
49188         * stdlib/strtol_l.c (__strtol_l): Likewise.
49189         * stdlib/tst-strtod.c (main): Likewise.
49190         * stdlib/tst-strtol.c (main): Likewise.
49191         * stdlib/tst-strtoll.c (main): Likewise.
49192         * string/bits/string2.h (__strcmp_cc): Likewise.
49193         (__strcmp_cg): Likewise.
49194         (__strcspn_c1): Likewise.
49195         (__strcspn_c2): Likewise.
49196         (__strcspn_c3): Likewise.
49197         (__strspn_c1): Likewise.
49198         (__strspn_c2): Likewise.
49199         (__strspn_c3): Likewise.
49200         (__strsep_1c): Likewise.
49201         (__strsep_2c): Likewise.
49202         (__strsep_3c): Likewise.
49203         * string/memccpy.c (__memccpy): Likewise.
49204         * string/stpcpy.c (__stpcpy): Likewise.
49205         * string/strcmp.c (strcmp): Likewise.
49206         * string/strrchr.c (strrchr): Likewise.
49207         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
49208         Likewise.
49209         * sysdeps/mach/hurd/getcwd.c
49210         (_hurd_canonicalize_directory_name_internal): Likewise.
49211         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
49212         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
49213         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
49214         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
49215         Likewise, in both definitions.
49216         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
49217         definitions.
49218         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
49219         64] (__bswap_64): Likewise.
49220         * time/test_time.c (main): Likewise.
49221         * time/tzfile.c (__tzfile_read): Likewise.
49222         (__tzfile_compute): Likewise.
49223         * time/tzset.c (__tzset_parse_tz): Likewise.
49224         (tzset_internal): Likewise.
49225         (compute_change): Likewise.
49226         * wcsmbs/wcscat.c (__wcscat): Likewise.
49227         * wcsmbs/wcschr.c (wcschr): Likewise.
49228         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
49229         * wcsmbs/wcscspn.c (wcscspn): Likewise.
49230         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
49231         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
49232         * wcsmbs/wcsspn.c (wcsspn): Likewise.
49233         * wcsmbs/wcsstr.c (wcsstr): Likewise.
49234         * wcsmbs/wmemchr.c (wmemchr): Likewise.
49235         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
49236         * wcsmbs/wmemset.c (wmemset): Likewise.
49238 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
49240         * scripts/config.guess: Update to version 2013-05-16.
49241         * scripts/config.sub: Update to version 2013-04-24.
49242         * scripts/install-sh: Update to version 2011-11-20.07.
49243         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
49244         * scripts/move-if-change: Update to version 2012-01-06 07:23.
49246 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
49248         * debug/fgetws_u_chk.c: Fix leading whitespaces.
49249         * elf/sln.c: Likewise.
49250         * hurd/hurd/ioctl.h: Likewise.
49251         * hurd/hurdmalloc.c: Likewise.
49252         * hurd/xattr.c: Likewise.
49253         * include/shlib-compat.h: Likewise.
49254         * inet/ruserpass.c: Likewise.
49255         * libio/iofgets_u.c: Likewise.
49256         * libio/iofgetws_u.c: Likewise.
49257         * locale/programs/ld-identification.c: Likewise.
49258         * locale/programs/ld-time.c: Likewise.
49259         * mach/msg-destroy.c: Likewise.
49260         * nss/nss_files/files-netgrp.c: Likewise.
49261         * resolv/res_data.c: Likewise.
49262         * soft-fp/op-1.h: Likewise.
49263         * soft-fp/op-2.h: Likewise.
49264         * soft-fp/op-4.h: Likewise.
49265         * soft-fp/op-common.h: Likewise.
49266         * stdio-common/printf_fphex.c: Likewise.
49267         * stdlib/strtod_l.c: Likewise.
49268         * sunrpc/rpc/clnt.h: Likewise.
49269         * sysdeps/generic/framestate.c: Likewise.
49270         * sysdeps/i386/bsd-_setjmp.S: Likewise.
49271         * sysdeps/i386/bsd-setjmp.S: Likewise.
49272         * sysdeps/i386/__longjmp.S: Likewise.
49273         * sysdeps/i386/setjmp.S: Likewise.
49274         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
49275         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
49276         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
49277         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
49278         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
49279         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
49280         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
49281         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
49282         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
49283         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
49284         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
49285         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
49286         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
49287         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
49288         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
49289         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
49290         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
49291         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
49292         * sysdeps/ieee754/support.c: Likewise.
49293         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
49294         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
49295         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
49296         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
49297         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
49298         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
49299         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
49300         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
49301         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
49302         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
49303         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
49304         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
49305         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
49306         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
49307         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
49308         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
49309         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
49310         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
49312 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
49314         * posix/transbug.c: Remove executable mode.
49316 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
49318         * crypt/speeds.c: Remove trailing whitespace.
49319         * dlfcn/default.c: Likewise.
49320         * elf/ifuncdep2.c: Likewise.
49321         * elf/ifuncmain1.c: Likewise.
49322         * elf/ifuncmain1vis.c: Likewise.
49323         * elf/testobj.h: Likewise.
49324         * elf/tst-stackguard1.c: Likewise.
49325         * gmon/sys/gmon.h: Likewise.
49326         * hurd/hurdmsg.c: Likewise.
49327         * hurd/new-fd.c: Likewise.
49328         * hurd/ports-get.c: Likewise.
49329         * iconvdata/ibm1008_420.c: Likewise.
49330         * inet/tst-getni1.c: Likewise.
49331         * inet/tst-getni2.c: Likewise.
49332         * libio/ioungetc.c: Likewise.
49333         * libio/wfiledoalloc.c: Likewise.
49334         * manual/libm-err-tab.pl: Likewise.
49335         * math/w_dremf.c: Likewise.
49336         * misc/ftruncate.c: Likewise.
49337         * posix/bug-glob2.c: Likewise.
49338         * posix/tst-pcre.c: Likewise.
49339         * posix/wait4.c: Likewise.
49340         * resolv/README: Likewise.
49341         * resolv/res_debug.h: Likewise.
49342         * resolv/tst-inet_ntop.c: Likewise.
49343         * setjmp/bug269-setjmp.c: Likewise.
49344         * soft-fp/extended.h: Likewise.
49345         * soft-fp/op-1.h: Likewise.
49346         * soft-fp/op-2.h: Likewise.
49347         * soft-fp/op-4.h: Likewise.
49348         * soft-fp/op-8.h: Likewise.
49349         * soft-fp/testit.c: Likewise.
49350         * stdio-common/bug16.c: Likewise.
49351         * stdlib/random.c: Likewise.
49352         * sunrpc/rpcsvc/rquota.x: Likewise.
49353         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
49354         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
49355         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
49356         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
49357         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
49358         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
49359         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
49360         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
49361         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
49362         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
49363         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
49364         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
49365         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
49366         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
49367         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
49368         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
49369         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
49370         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
49371         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
49372         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
49373         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
49374         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
49375         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
49376         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
49377         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
49378         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
49379         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
49380         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
49381         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
49382         * sysdeps/ieee754/s_lib_version.c: Likewise.
49383         * sysdeps/mach/hurd/check_fds.c: Likewise.
49384         * sysdeps/mach/hurd/getsockname.c: Likewise.
49385         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
49386         * sysdeps/mach/hurd/recvfrom.c: Likewise.
49387         * sysdeps/powerpc/bits/link.h: Likewise.
49388         * sysdeps/powerpc/dl-procinfo.c: Likewise.
49389         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
49390         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
49391         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
49392         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
49393         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
49394         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
49395         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
49396         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
49397         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
49398         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
49399         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
49400         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
49401         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
49402         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
49403         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
49404         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
49405         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
49406         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
49407         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
49408         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
49409         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
49410         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
49411         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
49412         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
49413         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
49414         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
49415         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
49416         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
49417         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
49418         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
49419         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
49420         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
49421         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
49422         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
49423         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
49424         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
49425         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
49426         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
49427         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
49428         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
49429         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
49430         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
49431         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
49432         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
49433         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
49434         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
49435         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
49436         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
49437         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
49438         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
49439         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
49440         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
49441         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
49442         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
49443         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
49444         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
49445         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
49446         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
49447         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
49448         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
49449         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
49450         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
49451         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
49452         * sysdeps/powerpc/sysdep.h: Likewise.
49453         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
49454         * sysdeps/s390/s390-64/sub_n.S: Likewise.
49455         * sysdeps/sh/dl-trampoline.S: Likewise.
49456         * sysdeps/sh/memset.S: Likewise.
49457         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
49458         * sysdeps/sh/strlen.S: Likewise.
49459         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
49460         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
49461         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
49462         * sysdeps/sparc/sparc32/rem.S: Likewise.
49463         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
49464         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
49465         * sysdeps/sparc/sparc32/strchr.S: Likewise.
49466         * sysdeps/sparc/sparc32/udiv.S: Likewise.
49467         * sysdeps/sparc/sparc32/urem.S: Likewise.
49468         * sysdeps/sparc/sparc64/add_n.S: Likewise.
49469         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
49470         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
49471         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
49472         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
49473         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
49474         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
49475         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
49476         * sysdeps/unix/bsd/times.c: Likewise.
49477         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
49478         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
49479         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
49480         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
49481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
49482         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
49483         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
49484         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
49485         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
49486         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
49487         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
49488         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
49489         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
49490         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
49491         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
49492         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
49493         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
49494         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
49495         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
49496         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
49497         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
49498         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
49499         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
49500         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
49501         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
49502         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
49503         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
49504         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
49505         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
49506         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
49507         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
49508         * sysdeps/x86_64/strcspn.S: Likewise.
49510 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
49512         * locale/C-translit.h: Revert #include <stdint.h> because this is a
49513         generated file.  Regenerate properly from gen-translit.pl.
49514         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
49515         locale/C-translit.h.
49517 2013-06-05  Andreas Schwab  <schwab@suse.de>
49519         [BZ #15100]
49520         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
49521         week as 6 instead of -1.
49522         * time/tst-strptime.c (day_tests): Add test case.
49524 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
49526         * sysdeps/generic/math_private.h
49527         (libc_feholdexcept_setround_53bit): Replace with
49528         libc_feholdsetround_53bit.
49529         (libc_feupdateenv_53bit): Replace with
49530         libc_feresetround_53bit.
49531         (SET_RESTORE_ROUND_53BIT): Adjust.
49533 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
49535         * string/test-strchrnul.c: Add copyright header.
49537         * posix/tst-getaddrinfo4.c: Increase test timeout.
49539 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
49541         [BZ #15536]
49542         * math/libm-test.inc (MAX_EXP): Remove
49543         (MIN_EXP): Define.
49544         (ulp): Use MIN_EXP - MANT_DIG.
49545         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
49547 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
49549         * po/be.po: Revert last change.
49550         * po/zh_CN.po: Likewise.
49551         * po/header.pot: Likewise.
49553 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
49555         * Makefile ($(common-objpfx)linkobj/libc.so): Define
49556         link-libc-deps to empty as target-specific variable.
49557         * Makerules (link-libc-args): New variable.
49558         (libc-for-link): Likewise.
49559         (link-libc-deps): Likewise.
49560         (lib%.so): Depend on $(link-libc-deps).  Link with
49561         $(link-libc-args).
49562         (build-module): Link with $(link-libc-args).
49563         (build-module-asneeded): Likewise.
49564         (build-module-helper-objlist): Filter out $(link-libc-deps) from
49565         list of objects.
49566         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
49567         target-specific variable.
49568         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
49569         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
49570         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
49571         libc.
49572         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
49573         libc and ld.so.
49574         ($(objpfx)libpcprofile.so): Likewise.
49575         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
49576         libc_nonshared.a.
49577         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
49578         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
49579         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
49580         $(link-libc-deps).
49581         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
49582         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
49583         * login/Makefile ($(objpfx)libutil.so): Likewise.
49584         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
49585         * math/Makefile ($(objpfx)libm.so): Likewise.
49586         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
49587         $(objpfx)libnsl.so): Define libc-for-link as target-specific
49588         variable instead of depending directly on libc.
49589         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
49590         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
49591         $(link-libc-deps).
49592         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
49593         libc.
49594         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
49595         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
49596         ($(objpfx)libanl.so): Likewise.
49597         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
49598         ld.so.
49599         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
49600         $(link-libc-deps).
49601         * sysdeps/i386/fpu/Makefile: Remove file.
49602         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
49603         ($(objpfx)libm.so): Remove dependency on ld.so.
49605 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
49607         [BZ # 15553]
49608         * nis/yp_xdr.c (XDRMAXNAME): Define.
49609         (XDRMAXRECORD): Define.
49610         (xdr_domainname): Use XDRMAXNAME.
49611         (xdr_mapname): Likewise.
49612         (xdr_peername): Likewise.
49613         (xdr_keydat): Use XDRMAXRECORD.
49614         (xdr_valdat): Likewise.
49616 2013-05-30  Jeff Law  <law@redhat.com>
49618         [BZ #14256]
49619         * manual/errno.texi (ESTALE): Update to account for more than
49620         just NFS file systems.
49621         * sysdeps/gnu/errlist.c: Regenerated.
49623 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
49625         [BZ #15465]
49626         * elf/Makefile (tests): Add tst-null-argv.
49627         (modules-names):  Add tst-null-argv-lib.
49628         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
49629         (tst-null-argv-ENV): Set environment for tst-null-argv.
49630         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
49631         (RTLD_PROGNAME): New macro.
49632         * elf/tst-null-argv.c: New test case.
49633         * elf/tst-null-argv-lib.c: Library for test case.
49634         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
49635         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
49636         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
49637         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
49638         * elf/dl-init.c (call_init): Likewise.
49639         (_dl_init): Likewise.
49640         * elf/dl-load.c (print_search_path): Likewise.
49641         (_dl_map_object): Likewise.
49642         * elf/dl-lookup.c (do_lookup_x): Likewise.
49643         (add_dependency): Likewise.
49644         (_dl_lookup_symbol_x): Likewise.
49645         (_dl_debug_bindings): Likewise.
49646         * elf/dl-open.c (_dl_show_scope): Likewise.
49647         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
49648         * elf/dl-version.c (match_symbol): Likewise.
49649         (_dl_check_map_versions): Likewise.
49650         * elf/rtld.c (dl_main): Likewise.
49651         (print_unresolved): Use RTLD_PROGNAME.
49652         (print_missing_version): Likewise.
49653         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
49654         (elf_machine_rela): Likewise.
49655         * sysdeps/powerpc/powerpc32/dl-machine.c
49656         (__process_machine_rela): Likewise.
49657         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
49658         Likewise.
49659         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
49660         Likewise.
49661         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
49662         Likewise.
49663         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
49664         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
49665         Likewise.
49666         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
49667         Likewise.
49668         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
49670 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
49672         * po/be.po: Add descriptive title.
49673         * po/zh_CN.po: Likewise.
49674         * po/header.pot: Likewise.
49676 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
49678         * locale/programs/locarchive.c (create_archive): Inlucde fname in
49679         error message.
49680         (enlarge_archive): Likewise.
49682 2013-05-28  Ben North  <ben@redfrontdoor.org>
49684         * manual/arith.texi (frexp): It is the magnitude of the return
49685         value which lies in [0.5, 1), not the return value itself.
49687 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49689         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49691 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
49693         * stdio-common/bug26.c (main): Correct fscanf template.
49695         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
49696         declare _dl_skip_args.
49698         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
49699         Don't declare.
49701         * manual/platform.texi: Add missing @end deftypefun.
49703 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
49705         [BZ #15529]
49706         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
49707         bit of mantissa of 2^16382.
49708         * math/libm-test.inc (hypot_test_data): Add more tests.
49710         * math/libm-test.inc: Add drem and pow10 to list of tested
49711         functions.
49712         (pow10_test): New function.
49713         (drem_test): Likewise.
49714         (drem_test_tonearest): Likewise.
49715         (drem_test_towardzero): Likewise.
49716         (drem_test_downward): Likewise.
49717         (drem_test_upward): Likewise.
49718         (main): Call the new functions.
49720         * math/libm-test.inc (finite_test_data): Remove.
49721         (finite_test): Run tests from isfinite_test_data.
49722         (gamma_test_data): Remove.
49723         (gamma_test): Run tests from lgamma_test_data.
49724         * sysdeps/i386/fpu/libm-test-ulps: Update.
49725         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49727 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49729         * manual/platform.texi: Add PowerPC PPR function set documentation.
49730         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
49731         implementation.
49733 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
49735         * math/libm-test.inc (MAX_EXP): Define.
49736         (ULPDIFF): Define.
49737         (ulp): New function.
49738         (check_float_internal): Use ULPDIFF.
49739         (cpow_test): Disable failing test.
49740         (check_ulp): Test ulp() implemetnation.
49741         (main): Call check_ulp before starting tests.
49743 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
49745         * math/gen-libm-test.pl (generate_testfile): Do not handle
49746         START_DATA and END_DATA.
49747         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
49748         END_DATA.
49749         (acos_tonearest_test_data): Likewise.
49750         (acos_towardzero_test_data): Likewise.
49751         (acos_downward_test_data): Likewise.
49752         (acos_upward_test_data): Likewise.
49753         (acosh_test_data): Likewise.
49754         (asin_test_data): Likewise.
49755         (asin_tonearest_test_data): Likewise.
49756         (asin_towardzero_test_data): Likewise.
49757         (asin_downward_test_data): Likewise.
49758         (asin_upward_test_data): Likewise.
49759         (asinh_test_data): Likewise.
49760         (atan_test_data): Likewise.
49761         (atanh_test_data): Likewise.
49762         (atan2_test_data): Likewise.
49763         (cabs_test_data): Likewise.
49764         (cacos_test_data): Likewise.
49765         (cacosh_test_data): Likewise.
49766         (carg_test_data): Likewise.
49767         (casin_test_data): Likewise.
49768         (casinh_test_data): Likewise.
49769         (catan_test_data): Likewise.
49770         (catanh_test_data): Likewise.
49771         (cbrt_test_data): Likewise.
49772         (ccos_test_data): Likewise.
49773         (ccosh_test_data): Likewise.
49774         (ceil_test_data): Likewise.
49775         (cexp_test_data): Likewise.
49776         (cimag_test_data): Likewise.
49777         (clog_test_data): Likewise.
49778         (clog10_test_data): Likewise.
49779         (conj_test_data): Likewise.
49780         (copysign_test_data): Likewise.
49781         (cos_test_data): Likewise.
49782         (cos_tonearest_test_data): Likewise.
49783         (cos_towardzero_test_data): Likewise.
49784         (cos_downward_test_data): Likewise.
49785         (cos_upward_test_data): Likewise.
49786         (cosh_test_data): Likewise.
49787         (cosh_tonearest_test_data): Likewise.
49788         (cosh_towardzero_test_data): Likewise.
49789         (cosh_downward_test_data): Likewise.
49790         (cosh_upward_test_data): Likewise.
49791         (cpow_test_data): Likewise.
49792         (cproj_test_data): Likewise.
49793         (creal_test_data): Likewise.
49794         (csin_test_data): Likewise.
49795         (csinh_test_data): Likewise.
49796         (csqrt_test_data): Likewise.
49797         (ctan_test_data): Likewise.
49798         (ctan_tonearest_test_data): Likewise.
49799         (ctan_towardzero_test_data): Likewise.
49800         (ctan_downward_test_data): Likewise.
49801         (ctan_upward_test_data): Likewise.
49802         (ctanh_test_data): Likewise.
49803         (ctanh_tonearest_test_data): Likewise.
49804         (ctanh_towardzero_test_data): Likewise.
49805         (ctanh_downward_test_data): Likewise.
49806         (ctanh_upward_test_data): Likewise.
49807         (erf_test_data): Likewise.
49808         (erfc_test_data): Likewise.
49809         (exp_test_data): Likewise.
49810         (exp_tonearest_test_data): Likewise.
49811         (exp_towardzero_test_data): Likewise.
49812         (exp_downward_test_data): Likewise.
49813         (exp_upward_test_data): Likewise.
49814         (exp10_test_data): Likewise.
49815         (exp2_test_data): Likewise.
49816         (expm1_test_data): Likewise.
49817         (fabs_test_data): Likewise.
49818         (fdim_test_data): Likewise.
49819         (finite_test_data): Likewise.
49820         (floor_test_data): Likewise.
49821         (fma_test_data): Likewise.
49822         (fma_towardzero_test_data): Likewise.
49823         (fma_downward_test_data): Likewise.
49824         (fma_upward_test_data): Likewise.
49825         (fmax_test_data): Likewise.
49826         (fmin_test_data): Likewise.
49827         (fmod_test_data): Likewise.
49828         (fpclassify_test_data): Likewise.
49829         (frexp_test_data): Likewise.
49830         (gamma_test_data): Likewise.
49831         (hypot_test_data): Likewise.
49832         (ilogb_test_data): Likewise.
49833         (isfinite_test_data): Likewise.
49834         (isgreater_test_data): Likewise.
49835         (isgreaterequal_test_data): Likewise.
49836         (isinf_test_data): Likewise.
49837         (isless_test_data): Likewise.
49838         (islessequal_test_data): Likewise.
49839         (islessgreater_test_data): Likewise.
49840         (isnan_test_data): Likewise.
49841         (isnormal_test_data): Likewise.
49842         (issignaling_test_data): Likewise.
49843         (isunordered_test_data): Likewise.
49844         (j0_test_data): Likewise.
49845         (j1_test_data): Likewise.
49846         (jn_test_data): Likewise.
49847         (ldexp_test_data): Likewise.
49848         (lgamma_test_data): Likewise.
49849         (lrint_test_data): Likewise.
49850         (lrint_tonearest_test_data): Likewise.
49851         (lrint_towardzero_test_data): Likewise.
49852         (lrint_downward_test_data): Likewise.
49853         (lrint_upward_test_data): Likewise.
49854         (llrint_test_data): Likewise.
49855         (llrint_tonearest_test_data): Likewise.
49856         (llrint_towardzero_test_data): Likewise.
49857         (llrint_downward_test_data): Likewise.
49858         (llrint_upward_test_data): Likewise.
49859         (log_test_data): Likewise.
49860         (log10_test_data): Likewise.
49861         (log1p_test_data): Likewise.
49862         (log2_test_data): Likewise.
49863         (logb_test_data): Likewise.
49864         (logb_downward_test_data): Likewise.
49865         (lround_test_data): Likewise.
49866         (llround_test_data): Likewise.
49867         (modf_test_data): Likewise.
49868         (nearbyint_test_data): Likewise.
49869         (nextafter_test_data): Likewise.
49870         (nexttoward_test_data): Likewise.
49871         (pow_test_data): Likewise.
49872         (pow_tonearest_test_data): Likewise.
49873         (pow_towardzero_test_data): Likewise.
49874         (pow_downward_test_data): Likewise.
49875         (pow_upward_test_data): Likewise.
49876         (remainder_test_data): Likewise.
49877         (remainder_tonearest_test_data): Likewise.
49878         (remainder_towardzero_test_data): Likewise.
49879         (remainder_downward_test_data): Likewise.
49880         (remainder_upward_test_data): Likewise.
49881         (remquo_test_data): Likewise.
49882         (rint_test_data): Likewise.
49883         (rint_tonearest_test_data): Likewise.
49884         (rint_towardzero_test_data): Likewise.
49885         (rint_downward_test_data): Likewise.
49886         (rint_upward_test_data): Likewise.
49887         (round_test_data): Likewise.
49888         (scalb_test_data): Likewise.
49889         (scalbn_test_data): Likewise.
49890         (scalbln_test_data): Likewise.
49891         (signbit_test_data): Likewise.
49892         (sin_test_data): Likewise.
49893         (sin_tonearest_test_data): Likewise.
49894         (sin_towardzero_test_data): Likewise.
49895         (sin_downward_test_data): Likewise.
49896         (sin_upward_test_data): Likewise.
49897         (sincos_test_data): Likewise.
49898         (sinh_test_data): Likewise.
49899         (sinh_tonearest_test_data): Likewise.
49900         (sinh_towardzero_test_data): Likewise.
49901         (sinh_downward_test_data): Likewise.
49902         (sinh_upward_test_data): Likewise.
49903         (sqrt_test_data): Likewise.
49904         (tan_test_data): Likewise.
49905         (tan_tonearest_test_data): Likewise.
49906         (tan_towardzero_test_data): Likewise.
49907         (tan_downward_test_data): Likewise.
49908         (tan_upward_test_data): Likewise.
49909         (tanh_test_data): Likewise.
49910         (tgamma_test_data): Likewise.
49911         (trunc_test_data): Likewise.
49912         (y0_test_data): Likewise.
49913         (y1_test_data): Likewise.
49914         (yn_test_data): Likewise.
49915         (significand_test_data): Likewise.
49917         * math/gen-libm-test.pl (@functions): Remove variable.
49918         (generate_testfile): Don't handle START and END lines.
49919         * math/libm-test.inc (START): New macro.
49920         (END): Likewise.
49921         (END_COMPLEX): Likewise.
49922         (acos_test): Use END macro without arguments.
49923         (acos_test_tonearest): Likewise.
49924         (acos_test_towardzero): Likewise.
49925         (acos_test_downward): Likewise.
49926         (acos_test_upward): Likewise.
49927         (acosh_test): Likewise.
49928         (asin_test): Likewise.
49929         (asin_test_tonearest): Likewise.
49930         (asin_test_towardzero): Likewise.
49931         (asin_test_downward): Likewise.
49932         (asin_test_upward): Likewise.
49933         (asinh_test): Likewise.
49934         (atan_test): Likewise.
49935         (atanh_test): Likewise.
49936         (atan2_test): Likewise.
49937         (cabs_test): Likewise.
49938         (cacos_test): Use END_COMPLEX macro without arguments.
49939         (cacosh_test): Likewise.
49940         (carg_test): Use END macro without arguments.
49941         (casin_test): Use END_COMPLEX macro without arguments.
49942         (casinh_test): Likewise.
49943         (catan_test): Likewise.
49944         (catanh_test): Likewise.
49945         (cbrt_test): Use END macro without arguments.
49946         (ccos_test): Use END_COMPLEX macro without arguments.
49947         (ccosh_test): Likewise.
49948         (ceil_test): Use END macro without arguments.
49949         (cexp_test): Use END_COMPLEX macro without arguments.
49950         (cimag_test): Use END macro without arguments.
49951         (clog_test): Use END_COMPLEX macro without arguments.
49952         (clog10_test): Likewise.
49953         (conj_test): Likewise.
49954         (copysign_test): Use END macro without arguments.
49955         (cos_test): Likewise.
49956         (cos_test_tonearest): Likewise.
49957         (cos_test_towardzero): Likewise.
49958         (cos_test_downward): Likewise.
49959         (cos_test_upward): Likewise.
49960         (cosh_test): Likewise.
49961         (cosh_test_tonearest): Likewise.
49962         (cosh_test_towardzero): Likewise.
49963         (cosh_test_downward): Likewise.
49964         (cosh_test_upward): Likewise.
49965         (cpow_test): Use END_COMPLEX macro without arguments.
49966         (cproj_test): Likewise.
49967         (creal_test): Use END macro without arguments.
49968         (csin_test): Use END_COMPLEX macro without arguments.
49969         (csinh_test): Likewise.
49970         (csqrt_test): Likewise.
49971         (ctan_test): Likewise.
49972         (ctan_test_tonearest): Likewise.
49973         (ctan_test_towardzero): Likewise.
49974         (ctan_test_downward): Likewise.
49975         (ctan_test_upward): Likewise.
49976         (ctanh_test): Likewise.
49977         (ctanh_test_tonearest): Likewise.
49978         (ctanh_test_towardzero): Likewise.
49979         (ctanh_test_downward): Likewise.
49980         (ctanh_test_upward): Likewise.
49981         (erf_test): Use END macro without arguments.
49982         (erfc_test): Likewise.
49983         (exp_test): Likewise.
49984         (exp_test_tonearest): Likewise.
49985         (exp_test_towardzero): Likewise.
49986         (exp_test_downward): Likewise.
49987         (exp_test_upward): Likewise.
49988         (exp10_test): Likewise.
49989         (exp2_test): Likewise.
49990         (expm1_test): Likewise.
49991         (fabs_test): Likewise.
49992         (fdim_test): Likewise.
49993         (finite_test): Likewise.
49994         (floor_test): Likewise.
49995         (fma_test): Likewise.
49996         (fma_test_towardzero): Likewise.
49997         (fma_test_downward): Likewise.
49998         (fma_test_upward): Likewise.
49999         (fmax_test): Likewise.
50000         (fmin_test): Likewise.
50001         (fmod_test): Likewise.
50002         (fpclassify_test): Likewise.
50003         (frexp_test): Likewise.
50004         (gamma_test): Likewise.
50005         (hypot_test): Likewise.
50006         (ilogb_test): Likewise.
50007         (isfinite_test): Likewise.
50008         (isgreater_test): Likewise.
50009         (isgreaterequal_test): Likewise.
50010         (isinf_test): Likewise.
50011         (isless_test): Likewise.
50012         (islessequal_test): Likewise.
50013         (islessgreater_test): Likewise.
50014         (isnan_test): Likewise.
50015         (isnormal_test): Likewise.
50016         (issignaling_test): Likewise.
50017         (isunordered_test): Likewise.
50018         (j0_test): Likewise.
50019         (j1_test): Likewise.
50020         (jn_test): Likewise.
50021         (ldexp_test): Likewise.
50022         (lgamma_test): Likewise.
50023         (lrint_test): Likewise.
50024         (lrint_test_tonearest): Likewise.
50025         (lrint_test_towardzero): Likewise.
50026         (lrint_test_downward): Likewise.
50027         (lrint_test_upward): Likewise.
50028         (llrint_test): Likewise.
50029         (llrint_test_tonearest): Likewise.
50030         (llrint_test_towardzero): Likewise.
50031         (llrint_test_downward): Likewise.
50032         (llrint_test_upward): Likewise.
50033         (log_test): Likewise.
50034         (log10_test): Likewise.
50035         (log1p_test): Likewise.
50036         (log2_test): Likewise.
50037         (logb_test): Likewise.
50038         (logb_test_downward): Likewise.
50039         (lround_test): Likewise.
50040         (llround_test): Likewise.
50041         (modf_test): Likewise.
50042         (nearbyint_test): Likewise.
50043         (nextafter_test): Likewise.
50044         (nexttoward_test): Likewise.
50045         (pow_test): Likewise.
50046         (pow_test_tonearest): Likewise.
50047         (pow_test_towardzero): Likewise.
50048         (pow_test_downward): Likewise.
50049         (pow_test_upward): Likewise.
50050         (remainder_test): Likewise.
50051         (remainder_test_tonearest): Likewise.
50052         (remainder_test_towardzero): Likewise.
50053         (remainder_test_downward): Likewise.
50054         (remainder_test_upward): Likewise.
50055         (remquo_test): Likewise.
50056         (rint_test): Likewise.
50057         (rint_test_tonearest): Likewise.
50058         (rint_test_towardzero): Likewise.
50059         (rint_test_downward): Likewise.
50060         (rint_test_upward): Likewise.
50061         (round_test): Likewise.
50062         (scalb_test): Likewise.
50063         (scalbn_test): Likewise.
50064         (scalbln_test): Likewise.
50065         (signbit_test): Likewise.
50066         (sin_test): Likewise.
50067         (sin_test_tonearest): Likewise.
50068         (sin_test_towardzero): Likewise.
50069         (sin_test_downward): Likewise.
50070         (sin_test_upward): Likewise.
50071         (sincos_test): Likewise.
50072         (sinh_test): Likewise.
50073         (sinh_test_tonearest): Likewise.
50074         (sinh_test_towardzero): Likewise.
50075         (sinh_test_downward): Likewise.
50076         (sinh_test_upward): Likewise.
50077         (sqrt_test): Likewise.
50078         (tan_test): Likewise.
50079         (tan_test_tonearest): Likewise.
50080         (tan_test_towardzero): Likewise.
50081         (tan_test_downward): Likewise.
50082         (tan_test_upward): Likewise.
50083         (tanh_test): Likewise.
50084         (tgamma_test): Likewise.
50085         (trunc_test): Likewise.
50086         (y0_test): Likewise.
50087         (y1_test): Likewise.
50088         (yn_test): Likewise.
50089         (significand_test): Likewise.
50091 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
50093         [BZ #15381]
50094         * libio/genops.c (_IO_no_init): Initialize wide struct info.
50096 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
50098         [BZ #14894]
50099         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
50100         __ppc_mdoio and __ppc_mdoom.
50101         * manual/platform.texi: Document new functions __ppc_yield,
50102         __ppc_mdoio and __ppc_mdoom.
50104 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
50106         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
50107         (main): Mention "tls" pseudo-hwcap is legacy.
50108         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
50110 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
50112         * math/gen-libm-test.pl (parse_args): Output only string of
50113         arguments as text for test name, not full call or descriptions of
50114         tests for extra outputs.
50115         (generate_testfile): Do not pass function name to parse_args.
50116         Generate this_func variable from START.
50117         * math/libm-test.inc (struct test_f_f_data): Rename test_name
50118         field to arg_str.
50119         (struct test_ff_f_data): Likewise.
50120         (test_ff_f_data_nexttoward): Likewise.
50121         (struct test_fi_f_data): Likewise.
50122         (struct test_fl_f_data): Likewise.
50123         (struct test_if_f_data): Likewise.
50124         (struct test_fff_f_data): Likewise.
50125         (struct test_c_f_data): Likewise.
50126         (struct test_f_f1_data): Likewise.  Remove field extra_name.
50127         (struct test_fF_f1_data): Likewise.
50128         (struct test_ffI_f1_data): Likewise.
50129         (struct test_c_c_data): Rename test_name field to arg_str.
50130         (struct test_cc_c_data): Likewise.
50131         (struct test_f_i_data): Likewise.
50132         (struct test_ff_i_data): Likewise.
50133         (struct test_f_l_data): Likewise.
50134         (struct test_f_L_data): Likewise.
50135         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
50136         and extra2_name.
50137         (COMMON_TEST_SETUP): New macro.
50138         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
50139         (COMMON_TEST_CLEANUP): Likewise.
50140         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
50141         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
50142         macros.
50143         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
50144         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
50145         macros.
50146         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
50147         (RUN_TEST_fff_f): Take argument string.  Call new setup and
50148         cleanup macros.
50149         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
50150         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
50151         macros.
50152         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
50153         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
50154         macros.
50155         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
50156         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
50157         cleanup macros.
50158         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
50159         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
50160         cleanup macros.
50161         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
50162         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
50163         cleanup macros.
50164         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
50165         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
50166         macros.
50167         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
50168         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
50169         macros.
50170         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
50171         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
50172         macros.
50173         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
50174         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
50175         cleanup macros.
50176         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
50177         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
50178         cleanup macros.
50179         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
50180         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
50181         macros.
50182         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
50183         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
50184         cleanup macros.
50185         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
50186         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
50187         macros.
50188         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
50189         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
50190         macros.
50191         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
50192         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
50193         cleanup macros.
50194         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
50196 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
50198         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
50199         to _sifields.sigfault.
50200         (si_addr_lsb): Define new macro.
50201         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
50202         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
50203         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
50205 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
50207         [BZ #15441]
50208         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
50209         returns -1.
50210         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
50211         null return -1.
50212         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
50213         loading the domain.
50215 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
50217         * math/gen-libm-test.pl (parse_args): Do not include expected
50218         result in test name.
50219         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
50220         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
50221         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
50222         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
50223         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
50224         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50226 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
50228         * benchtests/Makefile: Sort function entries.
50230         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
50231         tanh, asinh, acosh, atanh.
50232         * benchtests/acos-inputs: New file.
50233         * benchtests/acosh-inputs: New file.
50234         * benchtests/asin-inputs: New file.
50235         * benchtests/asinh-inputs: New file.
50236         * benchtests/atanh-inputs: New file.
50237         * benchtests/cosh-inputs: New file.
50238         * benchtests/log-inputs: New file.
50239         * benchtests/sinh-inputs: New file.
50240         * benchtests/tanh-inputs: New file.
50242 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
50244         [BZ #15339]
50245         * posix/tst-getaddrinfo4.c: New test.
50246         * posix/Makefile (tests): Add it.
50248 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
50250         [BZ #15339]
50251         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
50252         when no services were used.
50253         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
50254         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
50256 2013-05-21  Andreas Schwab  <schwab@suse.de>
50258         [BZ #15014]
50259         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
50260         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
50261         successful.
50262         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
50263         redundant variable declarations and reallocation of buffer when
50264         parsing as IPv6 address.  Always set NSS status when called from
50265         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
50266         buffer too small.  Correct computation of needed size.
50267         * nss/Makefile (tests): Add test-digits-dots.
50268         * nss/test-digits-dots.c: New test.
50270 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
50272         * benchtests/Makefile: Remove instructions for adding
50273         benchmark tests.
50274         * benchtests/README: New file to explain how to execute and
50275         enhance the benchmark tests.
50277 2013-05-21  Andreas Schwab  <schwab@suse.de>
50279         [BZ #15493]
50280         * setjmp/Makefile (tests): Add tst-sigsetjmp.
50281         * setjmp/tst-sigsetjmp.c: New test.
50283 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
50285         * sysdeps/x86_64/memset.S (memset): New implementation.
50286         (__bzero): Likewise.
50287         (__memset_tail): New function.
50289 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
50291         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
50292         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
50293         __memcpy_sse2_unaligned ifunc selection.
50294         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
50295         Add memcpy-sse2-unaligned.S.
50296         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
50297         Add: __memcpy_sse2_unaligned.
50299 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
50301         [BZ #15490]
50302         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
50303         math_force_eval before restoring floating-point envrionment.
50304         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
50305         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
50306         Likewise.
50307         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
50308         <math_private.h>.
50309         (__nearbyintl): Use math_force_eval before restoring
50310         floating-point environment.
50311         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
50313         * math/gen-libm-test.pl (special_functions): Remove.
50314         (parse_args): Don't handle TEST_extra.  Handle functions with no
50315         return value.
50316         * math/libm-test.inc (struct test_sincos_data): Replace with
50317         struct test_fFF_11_data.
50318         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
50319         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
50320         (sincos_test_data): Change element type to struct
50321         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
50322         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
50323         RUN_TEST_LOOP_sincos.
50324         * math/README.libm-test: Don't mention special handling of
50325         individual functions.
50326         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
50327         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
50328         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
50329         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
50330         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
50331         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50333         * math/gen-libm-test.pl (get_variable): Remove function.
50334         (parse_args): Don't show pointer parameters to call in test
50335         names.  Use "extra output N" in test names for extra outputs
50336         rather than naming variables.
50338 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
50340         [BZ #15488]
50341         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
50342         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
50343         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
50344         double tests.
50345         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
50346         disable.
50347         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
50348         check_long_double.
50350         * math/gen-libm-test.pl (@tests): Remove variable.
50351         ($count): Likewise.
50352         (new_test): Remove function.
50353         (show_exceptions): New function.
50354         (special_functions): Use show_exceptions instead of new_test.
50355         (parse_args): Likewise.
50356         (generate_testfile): Pass only function name in generated call to
50357         print_max_error or print_complex_max_error.
50358         (get_ulps): Do not handle complex tests specially.
50359         (output_test): Rename to ...
50360         (get_all_ulps_for_test): ... this.  Return a string rather than
50361         printing to a file.  Require ulps to be present.
50362         (output_ulps): Generate arrays rather than #defines.
50363         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
50364         (struct ulp_data): New type.
50365         (BUILD_COMPLEX_ULP): Remove macro.
50366         (compare_ulp_data): New function.
50367         (find_ulps): Likewise.
50368         (find_test_ulps): Likewise.
50369         (find_function_ulps): Likewise.
50370         (find_complex_function_ulps): Likewise.
50371         (print_max_error): Determine allowed ulps using
50372         find_function_ulps.
50373         (print_complex_max_error): Determine allowed ulps using
50374         find_complex_function_ulps.
50375         (check_float_internal): Determine max ulps using find_test_ulps.
50376         (check_float): Do not take max_ulp parameter.  Update call to
50377         check_float_internal.
50378         (check_complex): Likewise.
50379         (check_int): Do not take max_ulp parameter.
50380         (check_long): Likewise.
50381         (check_bool): Likewise.
50382         (check_longlong): Likewise.
50383         (struct test_f_f_data): Remove max_ulp field.
50384         (struct test_ff_f_data): Likewise.
50385         (struct test_ff_f_data_nexttoward): Likewise.
50386         (struct test_fi_f_data): Likewise.
50387         (struct test_fl_f_data): Likewise.
50388         (struct test_if_f_data): Likewise.
50389         (struct test_fff_f_data): Likewise.
50390         (struct test_c_f_data): Likewise.
50391         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
50392         (struct test_fF_f1_data): Likewise.
50393         (struct test_ffI_f1_data): Likewise.
50394         (struct test_c_c_data): Remove max_ulp field.
50395         (struct test_cc_c_data): Likewise.
50396         (struct test_f_i_data): Likewise.
50397         (struct test_ff_i_data): Likewise.
50398         (struct test_f_l_data): Likewise.
50399         (struct test_f_L_data): Likewise.
50400         (struct test_sincos_data): Likewise.
50401         (RUN_TEST_f_f): Do not handle ulps.
50402         (RUN_TEST_LOOP_f_f): Likewise.
50403         (RUN_TEST_2_f): Likewise.
50404         (RUN_TEST_LOOP_2_f): Likewise.
50405         (RUN_TEST_fff_f): Likewise.
50406         (RUN_TEST_LOOP_fff_f): Likewise.
50407         (RUN_TEST_c_f): Likewise.
50408         (RUN_TEST_LOOP_c_f): Likewise.
50409         (RUN_TEST_f_f1): Likewise.
50410         (RUN_TEST_LOOP_f_f1): Likewise.
50411         (RUN_TEST_fF_f1): Likewise.
50412         (RUN_TEST_LOOP_fF_f1): Likewise.
50413         (RUN_TEST_fI_f1): Likewise.
50414         (RUN_TEST_LOOP_fI_f1): Likewise.
50415         (RUN_TEST_ffI_f1): Likewise.
50416         (RUN_TEST_LOOP_ffI_f1): Likewise.
50417         (RUN_TEST_c_c): Likewise.
50418         (RUN_TEST_LOOP_c_c): Likewise.
50419         (RUN_TEST_cc_c): Likewise.
50420         (RUN_TEST_LOOP_cc_c): Likewise.
50421         (RUN_TEST_f_i): Likewise.
50422         (RUN_TEST_LOOP_f_i): Likewise.
50423         (RUN_TEST_f_i_tg): Likewise.
50424         (RUN_TEST_LOOP_f_i_tg): Likewise.
50425         (RUN_TEST_ff_i_tg): Likewise.
50426         (RUN_TEST_LOOP_ff_i_tg): Likewise.
50427         (RUN_TEST_f_b): Likewise.
50428         (RUN_TEST_LOOP_f_b): Likewise.
50429         (RUN_TEST_f_b_tg): Likewise.
50430         (RUN_TEST_LOOP_f_b_tg): Likewise.
50431         (RUN_TEST_f_l): Likewise.
50432         (RUN_TEST_LOOP_f_l): Likewise.
50433         (RUN_TEST_f_L): Likewise.
50434         (RUN_TEST_LOOP_f_L): Likewise.
50435         (RUN_TEST_sincos): Likewise.
50436         (RUN_TEST_LOOP_sincos): Likewise.
50438 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
50440         [BZ #15480]
50441         [BZ #15485]
50442         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
50443         main case of finite arguments, set rounding mode to FE_TONEAREST
50444         and discard exceptions.
50445         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
50446         exceptions.
50447         (remainder_tonearest_test_data): New variable.
50448         (remainder_test_tonearest): New function.
50449         (remainder_towardzero_test_data): New variable.
50450         (remainder_test_towardzero): New function.
50451         (remainder_downward_test_data): New variable.
50452         (remainder_test_downward): New function.
50453         (remainder_upward_test_data): New variable.
50454         (remainder_test_upward): New function.
50455         (main): Call the new test functions.
50457         * math/libm-test.inc (struct test_f_f1_data): Remove field
50458         extra_init.
50459         (struct test_fF_f1_data): Likewise.
50460         (struct test_ffI_f1_data): Likewise.
50461         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
50462         based on value of EXTRA_EXPECTED.
50463         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
50464         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
50465         EXTRA_VAR based on value of EXTRA_EXPECTED.
50466         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
50467         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
50468         EXTRA_VAR based on value of EXTRA_EXPECTED.
50469         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
50470         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
50471         EXTRA_VAR based on value of EXTRA_EXPECTED.
50472         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
50473         * math/gen-libm-test.pl (parse_args): Don't output initializers
50474         for extra output values.
50476         * math/libm-test.inc (check_int): Expect result to be exactly
50477         equal to expected value and do not handle ulps.
50478         (check_long): Likewise.
50479         (check_longlong): Likewise.
50481         * math/libm-test.inc (ceil_test_data): Test for "inexact"
50482         exceptions.
50483         (cimag_test_data): Likewise.
50484         (conj_test_data): Likewise.
50485         (copysign_test_data): Likewise.
50486         (cproj_test_data): Likewise.
50487         (creal_test_data): Likewise.
50488         (fabs_test_data): Likewise.
50489         (fdim_test_data): Likewise.
50490         (finite_test_data): Likewise.
50491         (floor_test_data): Likewise.
50492         (fmax_test_data): Likewise.
50493         (fmin_test_data): Likewise.
50494         (fmod_test_data): Likewise.
50495         (fpclassify_test_data): Likewise.
50496         (frexp_test_data): Likewise.
50497         (ilogb_test_data): Likewise.
50498         (isfinite_test_data): Likewise.
50499         (isgreater_test_data): Likewise.
50500         (isgreaterequal_test_data): Likewise.
50501         (isinf_test_data): Likewise.
50502         (isless_test_data): Likewise.
50503         (islessequal_test_data): Likewise.
50504         (islessgreater_test_data): Likewise.
50505         (isnan_test_data): Likewise.
50506         (isnormal_test_data): Likewise.
50507         (issignaling_test_data): Likewise.
50508         (isunordered_test_data): Likewise.
50509         (ldexp_test_data): Likewise.
50510         (lrint_test_data): Likewise.
50511         (lrint_test_data) [TEST_FLOAT]: Disable one test.
50512         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
50513         (lrint_tonearest_test_data): Test for "inexact" exceptions.
50514         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
50515         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
50516         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
50517         test input.
50518         (lrint_towardzero_test_data): Test for "inexact" exceptions.
50519         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
50520         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
50521         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
50522         that test input.
50523         (lrint_downward_test_data): Test for "inexact" exceptions.
50524         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
50525         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
50526         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
50527         test input.
50528         (lrint_upward_test_data): Test for "inexact" exceptions.
50529         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
50530         test input.
50531         (llrint_test_data): Test for "inexact" exceptions.
50532         (llrint_test_data) [TEST_FLOAT]: Disable one test.
50533         (llrint_tonearest_test_data): Test for "inexact" exceptions.
50534         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
50535         (llrint_towardzero_test_data): Test for "inexact" exceptions.
50536         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
50537         (llrint_downward_test_data): Test for "inexact" exceptions.
50538         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
50539         (llrint_upward_test_data): Test for "inexact" exceptions.
50540         (logb_test_data): Likewise.
50541         (logb_downward_test_data): Likewise.
50542         (nextafter_test_data): Likewise.
50543         (nexttoward_test_data): Likewise.
50544         (remainder_test_data): Likewise.
50545         (remquo_test_data): Likewise.
50546         (scalbn_test_data): Likewise.
50547         (scalbln_test_data): Likewise.
50548         (signbit_test_data): Likewise.
50549         (sqrt_test_data): Likewise.
50550         (significand_test_data): Likewise.
50552 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
50554         [BZ #15424]
50555         * benchtests/bench-modf.c (struct args): Mark arg0 as
50556         volatile.
50557         * scripts/bench.pl: Mark members of struct args as volatile.
50559 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50561         [BZ # 15497]
50562         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
50563         negative infinity on POWER6 or lower.
50564         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
50566 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
50568         [BZ #15442]
50569         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
50570         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
50571         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
50572         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
50573         (_FP_SETQNAN): New macro.
50574         (_FP_SETQNAN_SEMIRAW): Likewise.
50575         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
50576         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
50577         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
50578         (FP_EXTEND): Use _FP_FRAC_SNANP.
50579         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
50580         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
50581         into account.
50582         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
50583         New macro.
50584         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
50585         Likewise.
50587 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
50589         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
50590         with DIVIDE_BY_ZERO_EXCEPTION.
50591         (gamma_test_data): Likewise.
50592         (lgamma_test_data): Likewise.
50593         (log_test_data): Likewise.
50594         (log10_test_data): Likewise.
50595         (log2_test_data): Likewise.
50596         (tgamma_test_data): Likewise.
50598         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
50599         (acos_test_tonearest): Likewise.
50600         (acos_test_towardzero): Likewise.
50601         (acos_test_downward): Likewise.
50602         (acos_test_upward): Likewise.
50603         (acosh_test): Likewise.
50604         (asin_test): Likewise.
50605         (asin_test_tonearest): Likewise.
50606         (asin_test_towardzero): Likewise.
50607         (asin_test_downward): Likewise.
50608         (asin_test_upward): Likewise.
50609         (asinh_test): Likewise.
50610         (atan_test): Likewise.
50611         (atanh_test): Likewise.
50612         (atan2_test): Likewise.
50613         (cabs_test): Likewise.
50614         (cacos_test): Likewise.
50615         (cacosh_test): Likewise.
50616         (casin_test): Likewise.
50617         (casinh_test): Likewise.
50618         (catan_test): Likewise.
50619         (catanh_test): Likewise.
50620         (cbrt_test): Likewise.
50621         (ccos_test): Likewise.
50622         (ccosh_test): Likewise.
50623         (cexp_test): Likewise.
50624         (clog_test): Likewise.
50625         (clog10_test): Likewise.
50626         (cos_test): Likewise.
50627         (cos_test_tonearest): Likewise.
50628         (cos_test_towardzero): Likewise.
50629         (cos_test_downward): Likewise.
50630         (cos_test_upward): Likewise.
50631         (cosh_test): Likewise.
50632         (cosh_test_tonearest): Likewise.
50633         (cosh_test_towardzero): Likewise.
50634         (cosh_test_downward): Likewise.
50635         (cosh_test_upward): Likewise.
50636         (cpow_test): Likewise.
50637         (csin_test): Likewise.
50638         (csinh_test): Likewise.
50639         (csqrt_test): Likewise.
50640         (ctan_test): Likewise.
50641         (ctan_test_tonearest): Likewise.
50642         (ctan_test_towardzero): Likewise.
50643         (ctan_test_downward): Likewise.
50644         (ctan_test_upward): Likewise.
50645         (ctanh_test): Likewise.
50646         (ctanh_test_tonearest): Likewise.
50647         (ctanh_test_towardzero): Likewise.
50648         (ctanh_test_downward): Likewise.
50649         (ctanh_test_upward): Likewise.
50650         (erf_test): Likewise.
50651         (erfc_test): Likewise.
50652         (exp_test): Likewise.
50653         (exp_test_tonearest): Likewise.
50654         (exp_test_towardzero): Likewise.
50655         (exp_test_downward): Likewise.
50656         (exp_test_upward): Likewise.
50657         (exp10_test): Likewise.
50658         (exp2_test): Likewise.
50659         (expm1_test): Likewise.
50660         (fmod_test): Likewise.
50661         (gamma_test): Likewise.
50662         (hypot_test): Likewise.
50663         (j0_test): Likewise.
50664         (j1_test): Likewise.
50665         (jn_test): Likewise.
50666         (lgamma_test): Likewise.
50667         (log_test): Likewise.
50668         (log10_test): Likewise.
50669         (log1p_test): Likewise.
50670         (log2_test): Likewise.
50671         (logb_test_downward): Likewise.
50672         (pow_test): Likewise.
50673         (pow_test_tonearest): Likewise.
50674         (pow_test_towardzero): Likewise.
50675         (pow_test_downward): Likewise.
50676         (pow_test_upward): Likewise.
50677         (remainder_test): Likewise.
50678         (remquo_test): Likewise.
50679         (sin_test): Likewise.
50680         (sin_test_tonearest): Likewise.
50681         (sin_test_towardzero): Likewise.
50682         (sin_test_downward): Likewise.
50683         (sin_test_upward): Likewise.
50684         (sincos_test): Likewise.
50685         (sinh_test): Likewise.
50686         (sinh_test_tonearest): Likewise.
50687         (sinh_test_towardzero): Likewise.
50688         (sinh_test_downward): Likewise.
50689         (sinh_test_upward): Likewise.
50690         (sqrt_test): Likewise.
50691         (tan_test): Likewise.
50692         (tan_test_tonearest): Likewise.
50693         (tan_test_towardzero): Likewise.
50694         (tan_test_downward): Likewise.
50695         (tan_test_upward): Likewise.
50696         (tanh_test): Likewise.
50697         (tgamma_test): Likewise.
50698         (y0_test): Likewise.
50699         (y1_test): Likewise.
50700         (yn_test): Likewise.
50702         * math/gen-libm-test.pl (adjust_arg): Remove function.
50703         (special_function): Remove argument $in_func.  Only handle
50704         generating output for tables of tests, not inside functions.
50705         (parse_args): Likewise.
50706         (generate_testfile): Remove variable $in_func.  Update call to
50707         parse_args.
50708         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
50709         (MINUS_ZERO_INIT): Rename macro to minus_zero.
50710         (PLUS_INFTY_INIT): Rename macro to plus_infty.
50711         (MINUS_INFTY_INIT): Rename macro to minus_infty.
50712         (QNAN_VALUE_INIT): Rename macro to qnan_value.
50713         (MAX_VALUE_INIT): Rename macro to max_value.
50714         (MIN_VALUE_INIT): Rename macro to min_value.
50715         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
50716         (plus_zero): Remove variable.
50717         (minus_zero): Likewise.
50718         (plus_infty): Likewise.
50719         (minus_infty): Likewise.
50720         (qnan_value): Likewise.
50721         (max_value): Likewise.
50722         (min_value): Likewise.
50723         (min_subnorm_value): Likewise.
50725 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
50727         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
50728         uint64_t or uint32_t usage.
50729         * crypt/sha256-block.c: Likewise.
50730         * crypt/sha256-crypt.c: Likewise.
50731         * crypt/sha256.c: Likewise.
50732         * crypt/sha512-block.c: Likewise.
50733         * crypt/sha512-crypt.c: Likewise.
50734         * crypt/sha512.c: Likewise.
50735         * debug/backtrace-tst.c: Likewise.
50736         * debug/pcprofiledump.c: Likewise.
50737         * elf/cache.c: Likewise.
50738         * elf/dl-cache.c: Likewise.
50739         * elf/dl-misc.c: Likewise.
50740         * elf/dl-profile.c: Likewise.
50741         * elf/dl-support.c: Likewise.
50742         * elf/ldconfig.c: Likewise.
50743         * elf/sprof.c: Likewise.
50744         * iconv/dummy-repertoire.c: Likewise.
50745         * iconv/iconv_charmap.c: Likewise.
50746         * iconv/skeleton.c: Likewise.
50747         * iconvdata/8bit-generic.c: Likewise.
50748         * iconvdata/cp737.h: Likewise.
50749         * iconvdata/cp775.h: Likewise.
50750         * iconvdata/ibm1008.h: Likewise.
50751         * iconvdata/ibm1025.h: Likewise.
50752         * iconvdata/ibm1046.h: Likewise.
50753         * iconvdata/ibm1097.h: Likewise.
50754         * iconvdata/ibm1112.h: Likewise.
50755         * iconvdata/ibm1122.h: Likewise.
50756         * iconvdata/ibm1123.h: Likewise.
50757         * iconvdata/ibm1124.h: Likewise.
50758         * iconvdata/ibm1129.h: Likewise.
50759         * iconvdata/ibm1130.h: Likewise.
50760         * iconvdata/ibm1132.h: Likewise.
50761         * iconvdata/ibm1133.h: Likewise.
50762         * iconvdata/ibm1137.h: Likewise.
50763         * iconvdata/ibm1140.h: Likewise.
50764         * iconvdata/ibm1141.h: Likewise.
50765         * iconvdata/ibm1142.h: Likewise.
50766         * iconvdata/ibm1143.h: Likewise.
50767         * iconvdata/ibm1144.h: Likewise.
50768         * iconvdata/ibm1145.h: Likewise.
50769         * iconvdata/ibm1146.h: Likewise.
50770         * iconvdata/ibm1147.h: Likewise.
50771         * iconvdata/ibm1148.h: Likewise.
50772         * iconvdata/ibm1149.h: Likewise.
50773         * iconvdata/ibm1153.h: Likewise.
50774         * iconvdata/ibm1154.h: Likewise.
50775         * iconvdata/ibm1155.h: Likewise.
50776         * iconvdata/ibm1156.h: Likewise.
50777         * iconvdata/ibm1157.h: Likewise.
50778         * iconvdata/ibm1158.h: Likewise.
50779         * iconvdata/ibm1160.h: Likewise.
50780         * iconvdata/ibm1161.h: Likewise.
50781         * iconvdata/ibm1162.h: Likewise.
50782         * iconvdata/ibm1163.h: Likewise.
50783         * iconvdata/ibm1164.h: Likewise.
50784         * iconvdata/ibm1166.h: Likewise.
50785         * iconvdata/ibm1167.h: Likewise.
50786         * iconvdata/ibm12712.h: Likewise.
50787         * iconvdata/ibm1390.h: Likewise.
50788         * iconvdata/ibm1399.h: Likewise.
50789         * iconvdata/ibm16804.h: Likewise.
50790         * iconvdata/ibm4517.h: Likewise.
50791         * iconvdata/ibm4899.h: Likewise.
50792         * iconvdata/ibm4909.h: Likewise.
50793         * iconvdata/ibm4971.h: Likewise.
50794         * iconvdata/ibm5347.h: Likewise.
50795         * iconvdata/ibm803.h: Likewise.
50796         * iconvdata/ibm856.h: Likewise.
50797         * iconvdata/ibm901.h: Likewise.
50798         * iconvdata/ibm902.h: Likewise.
50799         * iconvdata/ibm9030.h: Likewise.
50800         * iconvdata/ibm9066.h: Likewise.
50801         * iconvdata/ibm921.h: Likewise.
50802         * iconvdata/ibm922.h: Likewise.
50803         * iconvdata/ibm9448.h: Likewise.
50804         * iconvdata/isiri-3342.h: Likewise.
50805         * iconvdata/jis0201.h: Likewise.
50806         * include/link.h: Likewise.
50807         * include/netdb.h: Likewise.
50808         * inet/check_native.c: Likewise.
50809         * inet/check_pf.c: Likewise.
50810         * inet/getipv4sourcefilter.c: Likewise.
50811         * inet/getnameinfo.c: Likewise.
50812         * inet/getsourcefilter.c: Likewise.
50813         * inet/htonl.c: Likewise.
50814         * inet/setipv4sourcefilter.c: Likewise.
50815         * inet/setsourcefilter.c: Likewise.
50816         * inet/test-inet6_opt.c: Likewise.
50817         * inet/tst-network.c: Likewise.
50818         * locale/C-collate.c: Likewise.
50819         * locale/C-ctype.c: Likewise.
50820         * locale/C-time.c: Likewise.
50821         * locale/C-translit.h: Likewise.
50822         * locale/loadarchive.c: Likewise.
50823         * locale/programs/3level.h: Likewise.
50824         * locale/programs/charmap.c: Likewise.
50825         * locale/programs/charmap.h: Likewise.
50826         * locale/programs/ld-address.c: Likewise.
50827         * locale/programs/ld-collate.c: Likewise.
50828         * locale/programs/ld-ctype.c: Likewise.
50829         * locale/programs/ld-identification.c: Likewise.
50830         * locale/programs/ld-measurement.c: Likewise.
50831         * locale/programs/ld-messages.c: Likewise.
50832         * locale/programs/ld-monetary.c: Likewise.
50833         * locale/programs/ld-name.c: Likewise.
50834         * locale/programs/ld-numeric.c: Likewise.
50835         * locale/programs/ld-paper.c: Likewise.
50836         * locale/programs/ld-telephone.c: Likewise.
50837         * locale/programs/ld-time.c: Likewise.
50838         * locale/programs/linereader.c: Likewise.
50839         * locale/programs/locale.c: Likewise.
50840         * locale/programs/locarchive.c: Likewise.
50841         * locale/programs/locfile.h: Likewise.
50842         * locale/programs/repertoire.c: Likewise.
50843         * locale/programs/simple-hash.c: Likewise.
50844         * locale/programs/simple-hash.h: Likewise.
50845         * malloc/memusage.c: Likewise.
50846         * malloc/memusagestat.c: Likewise.
50847         * nis/nis_defaults.c: Likewise.
50848         * nis/nis_hash.c: Likewise.
50849         * nis/nis_print.c: Likewise.
50850         * nis/nis_xdr.c: Likewise.
50851         * nscd/connections.c: Likewise.
50852         * nscd/hstcache.c: Likewise.
50853         * nscd/nscd_gethst_r.c: Likewise.
50854         * nscd/nscd_getserv_r.c: Likewise.
50855         * nscd/nscd_helper.c: Likewise.
50856         * nscd/servicescache.c: Likewise.
50857         * nss/makedb.c: Likewise.
50858         * nss/nss_db/db-XXX.c: Likewise.
50859         * nss/nss_db/db-initgroups.c: Likewise.
50860         * nss/nss_db/db-netgrp.c: Likewise.
50861         * nss/nss_files/files-network.c: Likewise.
50862         * nss/nss_files/files-parse.c: Likewise.
50863         * posix/bug-regex5.c: Likewise.
50864         * posix/fnmatch_loop.c: Likewise.
50865         * posix/regcomp.c: Likewise.
50866         * posix/regexec.c: Likewise.
50867         * posix/tst-rfc3484-2.c: Likewise.
50868         * posix/tst-rfc3484-3.c: Likewise.
50869         * posix/tst-rfc3484.c: Likewise.
50870         * resolv/nss_dns/dns-canon.c: Likewise.
50871         * resolv/nss_dns/dns-network.c: Likewise.
50872         * resolv/res_init.c: Likewise.
50873         * resolv/res_mkquery.c: Likewise.
50874         * resolv/tst-aton.c: Likewise.
50875         * stdlib/cxa_atexit.c: Likewise.
50876         * stdlib/cxa_finalize.c: Likewise.
50877         * stdlib/gen-fpioconst.c: Likewise.
50878         * stdlib/strtol_l.c: Likewise.
50879         * string/tst-endian.c: Likewise.
50880         * sunrpc/auth_des.c: Likewise.
50881         * sunrpc/clnt_udp.c: Likewise.
50882         * sunrpc/rtime.c: Likewise.
50883         * sunrpc/svcauth_des.c: Likewise.
50884         * sunrpc/xdr.c: Likewise.
50885         * sunrpc/xdr_intXX_t.c: Likewise.
50886         * sunrpc/xdr_rec.c: Likewise.
50887         * sysdeps/generic/ldconfig.h: Likewise.
50888         * sysdeps/generic/ldsodefs.h: Likewise.
50889         * sysdeps/generic/memusage.h: Likewise.
50890         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
50891         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
50892         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
50893         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
50894         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
50895         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
50896         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
50897         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
50898         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
50899         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
50900         * sysdeps/posix/getaddrinfo.c: Likewise.
50901         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
50902         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
50903         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
50904         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
50905         * sysdeps/powerpc/test-gettimebase.c: Likewise.
50906         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
50907         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
50908         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
50909         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
50910         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
50911         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
50912         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
50913         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
50914         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
50915         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
50916         * sysdeps/x86_64/dl-tls.h: Likewise.
50917         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
50918         * time/alt_digit.c: Likewise.
50919         * time/era.c: Likewise.
50920         * wcsmbs/tst-c16c32-1.c: Likewise.
50922 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
50924         * math/libm-test.inc (struct test_sincos_data): New type.
50925         (RUN_TEST_LOOP_sincos): New macro.
50926         (sincos_test_data): New variable.
50927         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
50929 2013-05-16  Richard Henderson  <rth@redhat.com>
50931         * math/atest-exp2.c (LIMB64): New macro.
50932         (CONSTSZ): New macro.
50933         (mp_exp1, mp_exp_m1, mp_log2): New variables.
50934         (hexdig): Move ...
50935         (print_mpn_fp): ... to function scope.
50936         (read_mpn_hex): Remove.
50937         (get_log2): Remove.
50938         (exp2_mpn): Use mp_log2.
50939         (main): Use mp_exp1.
50941 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
50943         * math/libm-test.inc: Remove comment about not testing "inexact"
50944         exceptions.
50945         (INEXACT_EXCEPTION): New macro.
50946         (NO_INEXACT_EXCEPTION): Likewise.
50947         (INVALID_EXCEPTION_OK): Update value.
50948         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
50949         (OVERFLOW_EXCEPTION_OK): Likewise.
50950         (UNDERFLOW_EXCEPTION_OK): Likewise.
50951         (IGNORE_ZERO_INF_SIGN): Likewise.
50952         (ERRNO_UNCHANGED): Likewise.
50953         (ERRNO_EDOM): Likewise.
50954         (ERRNO_ERANGE): Likewise.
50955         (test_exceptions): Handle testing "inexact" exceptions.
50956         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
50957         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
50958         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
50959         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
50960         INEXACT_EXCEPTION.
50961         (rint_towardzero_test_data): Likewise.
50962         (rint_downward_test_data): Likewise.
50963         (rint_upward_test_data): Likewise.
50965         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
50966         with OVERFLOW_EXCEPTION.
50967         (exp10_test_data): Likewise.
50968         (exp2_test_data): Likewise.
50969         (expm1_test_data): Likewise.
50970         (lgamma_test_data): Likewise.
50971         (pow_test_data): Likewise.
50972         (tgamma_test_data): Likewise.
50973         (yn_test_data): Remove duplicate test of overflow.
50975         * math/libm-test.inc (struct test_cc_c_data): New type.
50976         (RUN_TEST_LOOP_cc_c): New macro.
50977         (cpow_test_data): New variable.
50978         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
50980         * math/libm-test.inc (struct test_f_L_data): New type.
50981         (RUN_TEST_LOOP_f_L): New macro.
50982         (llrint_test_data): New variable.
50983         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
50984         (llrint_tonearest_test_data): New variable.
50985         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
50986         (llrint_towardzero_test_data): New variable.
50987         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
50988         (llrint_downward_test_data): New variable.
50989         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
50990         (llrint_upward_test_data): New variable.
50991         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
50992         (llround_test_data): New variable.
50993         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
50995 2013-05-13  Peter Collingbourne  <pcc@google.com>
50997         * math/atest-exp2.c (get_log2): Remove const attribute.
50999 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
51001         * math/libm-test.inc (struct test_f_l_data): New type.
51002         (RUN_TEST_LOOP_f_l): New macro.
51003         (lrint_test_data): New variable.
51004         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
51005         (lrint_tonearest_test_data): New variable.
51006         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
51007         (lrint_towardzero_test_data): New variable.
51008         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
51009         (lrint_downward_test_data): New variable.
51010         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
51011         (lrint_upward_test_data): New variable.
51012         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
51013         (lround_test_data): New variable.
51014         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
51016 2013-05-15  Peter Collingbourne  <pcc@google.com>
51018         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
51019         (EXTRACT_WORDS64) Use where appropriate.
51020         (INSERT_WORDS64) Likewise.
51022         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
51023         constraints with x constraints.
51024         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
51026         * malloc/obstack.c (_obstack_compat): Add initializer.
51028 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
51030         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
51031         si_trapno and add si_addr_lsb to _sifields.sigfault.
51032         (si_trapno): Remove macro.
51033         (si_addr_lsb): Define new macro.
51034         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
51036 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
51038         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
51039         instead of TEST_f_l.
51040         (llrint_test_tonearest): Likewise.
51041         (llrint_test_towardzero): Likewise.
51042         (llrint_test_downward): Likewise.
51043         (llrint_test_upward): Likewise.
51044         (llround_test): Likewise.
51046         * math/libm-test.inc (struct test_f_i_data): Add comment.
51047         (RUN_TEST_LOOP_f_b): New macro.
51048         (RUN_TEST_LOOP_f_b_tg): Likewise.
51049         (finite_test_data): New variable.
51050         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
51051         (isfinite_test_data): New variable.
51052         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
51053         (isinf_test_data): New variable.
51054         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
51055         (isnan_test_data): New variable.
51056         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
51057         (isnormal_test_data): New variable.
51058         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
51059         (issignaling_test_data): New variable.
51060         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
51061         (signbit_test_data): New variable.
51062         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
51064         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
51065         with INVALID_EXCEPTION.
51066         (acosh_test_data): Likewise.
51067         (asin_test_data): Likewise.
51068         (atanh_test_data): Likewise.
51069         (fmod_test_data): Likewise.
51070         (log_test_data): Likewise.
51071         (log10_test_data): Likewise.
51072         (log2_test_data): Likewise.
51073         (pow_test_data): Likewise.
51074         (sqrt_test_data): Likewise.
51075         (y0_test_data): Likewise.
51076         (y1_test_data): Likewise.
51077         (yn_test_data): Likewise.
51079         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
51080         function contents.
51082         * math/libm-test.inc (struct test_ff_i_data): New type.
51083         (RUN_TEST_LOOP_ff_i_tg): New macro.
51084         (isgreater_test_data): New variable.
51085         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
51086         (isgreaterequal_test_data): New variable.
51087         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
51088         (isless_test_data): New variable.
51089         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
51090         (islessequal_test_data): New variable.
51091         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
51092         (islessgreater_test_data): New variable.
51093         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
51094         (isunordered_test_data): New variable.
51095         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
51097 2013-05-14  David S. Miller  <davem@davemloft.net>
51099         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51101 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
51103         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
51105         * math/libm-test.inc (struct test_fF_f1_data): Change type of
51106         extra_test to int.
51107         (struct test_f_i_data): Change type of max_ulp to int.
51109         * math/libm-test.inc (test_ffI_f1_data): New type.
51110         (RUN_TEST_LOOP_ffI_f1): New macro.
51111         (remquo_test_data): New variable.
51112         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
51114         * setjmp/tst-setjmp-fp.c: New file.
51115         * setjmp/Makefile (tests): Add tst-setjmp-fp.
51116         (link-libm): New variable.
51117         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
51119         * math/libm-test.inc (struct test_f_i_data): New type.
51120         (RUN_TEST_LOOP_f_i): New macro.
51121         (RUN_TEST_LOOP_f_i_tg): Likewise.
51122         (fpclassify_test_data): New variable.
51123         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
51124         (ilogb_test_data): New variable.
51125         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
51127         * math/libm-test.inc (scalbln_test): Correct function name in END
51128         call.
51130         * math/libm-test.inc (struct test_f_f1_data): Add comment.
51131         (RUN_TEST_LOOP_fI_f1): New macro.
51132         (frexp_test_data): New variable.
51133         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
51135         * math/libm-test.inc (struct test_fF_f1_data): New type.
51136         (RUN_TEST_LOOP_fF_f1): New macro.
51137         (modf_test_data): New variable.
51138         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
51140         * math/libm-test.inc (struct test_f_f1_data): New type.
51141         (RUN_TEST_LOOP_f_f1): New macro.
51142         (gamma_test_data): New variable.
51143         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
51144         (lgamma_test_data): New variable.
51145         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
51147 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
51149         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
51150         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
51151         (main): Comment "tls" pseudo-hwcap.
51153 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
51155         * math/libm-test.inc (struct test_fl_f_data): New type.
51156         (RUN_TEST_LOOP_fl_f): New variable.
51157         (scalbln_test_data): New variable.
51158         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
51160         * math/libm-test.inc (struct test_fi_f_data): New type.
51161         (RUN_TEST_LOOP_fi_f): New macro.
51162         (ldexp_test_data): New variable.
51163         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
51164         (scalbn_test_data): New variable.
51165         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
51167         * math/libm-test.inc (struct test_c_f_data): New type.
51168         (RUN_TEST_LOOP_c_f): New macro.
51169         (cabs_test_data): New variable.
51170         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
51171         (carg_test_data): New variable.
51172         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
51173         (cimag_test_data): New variable.
51174         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
51175         (creal_test_data): New variable.
51176         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
51178         * math/libm-test.inc (struct test_if_f_data): New type.
51179         (RUN_TEST_LOOP_if_f): New macro.
51180         (jn_test_data): New variable.
51181         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
51182         (yn_test_data): New variable.
51183         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
51185         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
51187 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51189         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
51190         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
51192 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
51194         * benchtests/Makefile (CPPFLAGS-nonlib): Add
51195         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
51196         (bench-deps): Add bench-timing.h.
51197         * benchtests-bench-skeleton.c: Include bench-timing.h.
51198         (main): Use TIMING_* macros instead of clock_gettime.
51199         * benchtests/bench-timing.h: New file.
51201         [BZ #14582]
51202         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
51203         Renamed from _LIB_VERSION.
51204         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
51206 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
51208         * math/libm-test.inc (struct test_fff_f_data): New type.
51209         (RUN_TEST_LOOP_fff_f): New macro.
51210         (fma_test_data): New variable.
51211         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
51212         (fma_towardzero_test_data): New variable.
51213         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
51214         (fma_downward_test_data): New variable.
51215         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
51216         (fma_upward_test_data): New variable.
51217         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
51219         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
51220         (struct test_c_c_data): New type.
51221         (RUN_TEST_LOOP_c_c): New macro.
51222         (cacos_test_data): New variable.
51223         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
51224         (cacosh_test_data): New variable.
51225         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
51226         (casin_test_data): New variable.
51227         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
51228         (casinh_test_data): New variable.
51229         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
51230         (catan_test_data): New variable.
51231         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
51232         (catanh_test_data): New variable.
51233         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
51234         (ccos_test_data): New variable.
51235         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
51236         (ccosh_test_data): New variable.
51237         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
51238         (cexp_test_data): New variable.
51239         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
51240         (clog_test_data): New variable.
51241         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
51242         (clog10_test_data): New variable.
51243         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
51244         (conj_test_data): New variable.
51245         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
51246         (cproj_test_data): New variable.
51247         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
51248         (csin_test_data): New variable.
51249         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
51250         (csinh_test_data): New variable.
51251         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
51252         (csqrt_test_data): New variable.
51253         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
51254         (ctan_test_data): New variable.
51255         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
51256         (ctan_tonearest_test_data): New variable.
51257         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
51258         (ctan_towardzero_test_data): New variable.
51259         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
51260         (ctan_downward_test_data): New variable.
51261         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
51262         (ctan_upward_test_data): New variable.
51263         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
51264         (ctanh_test_data): New variable.
51265         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
51266         (ctanh_tonearest_test_data): New variable.
51267         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
51268         (ctanh_towardzero_test_data): New variable.
51269         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
51270         (ctanh_downward_test_data): New variable.
51271         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
51272         (ctanh_upward_test_data): New variable.
51273         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
51274         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
51275         of BUILD_COMPLEX.
51277         * math/libm-test.inc (struct test_ff_f_data): New type.
51278         (struct test_ff_f_data_nexttoward): Likewise.
51279         (RUN_TEST_LOOP_2_f): New macro.
51280         (RUN_TEST_LOOP_ff_f): Likewise.
51281         (atan2_test_data): New variable.
51282         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
51283         (copysign_test_data): New variable.
51284         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
51285         (fdim_test_data): New variable.
51286         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
51287         (fmax_test_data): New variable.
51288         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
51289         (fmin_test_data): New variable.
51290         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
51291         (fmod_test_data): New variable.
51292         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
51293         (hypot_test_data): New variable.
51294         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
51295         (nextafter_test_data): New variable.
51296         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
51297         (nexttoward_test_data): New variable.
51298         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
51299         (pow_test_data): New variable.
51300         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
51301         (pow_tonearest_test_data): New variable.
51302         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
51303         (pow_towardzero_test_data): New variable.
51304         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
51305         (pow_downward_test_data): New variable.
51306         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
51307         (pow_upward_test_data): New variable.
51308         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
51309         (remainder_test_data): New variable.
51310         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
51311         (scalb_test_data): New variable.
51312         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
51313         * sysdeps/i386/fpu/libm-test-ulps: Update.
51315 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
51317         * math/libm-test.inc (fma_test): Use max_value instead of local
51318         variable fltmax.
51319         (nextafter_test): Likewise.
51321         * math/libm-test.inc (acos_towardzero_test_data): New variable.
51322         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51323         (acos_downward_test_data): New variable.
51324         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51325         (acos_upward_test_data): New variable.
51326         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51327         (acosh_test_data): New variable.
51328         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
51329         (asin_test_data): New variable.
51330         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
51331         (asin_tonearest_test_data): New variable.
51332         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51333         (asin_towardzero_test_data): New variable.
51334         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51335         (asin_downward_test_data): New variable.
51336         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51337         (asin_upward_test_data): New variable.
51338         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51339         (asinh_test_data): New variable.
51340         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
51341         (atan_test_data): New variable.
51342         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
51343         (atanh_test_data): New variable.
51344         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
51345         (cbrt_test_data): New variable.
51346         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
51347         (ceil_test_data): New variable.
51348         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
51349         (cos_test_data): New variable.
51350         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
51351         (cos_tonearest_test_data): New variable.
51352         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51353         (cos_towardzero_test_data): New variable.
51354         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51355         (cos_downward_test_data): New variable.
51356         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51357         (cos_upward_test_data): New variable.
51358         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51359         (cosh_test_data): New variable.
51360         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
51361         (cosh_tonearest_test_data): New variable.
51362         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51363         (cosh_towardzero_test_data): New variable.
51364         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51365         (cosh_downward_test_data): New variable.
51366         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51367         (cosh_upward_test_data): New variable.
51368         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51369         (erf_test_data): New variable.
51370         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
51371         (erfc_test_data): New variable.
51372         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
51373         (exp_test_data): New variable.
51374         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
51375         (exp_tonearest_test_data): New variable.
51376         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51377         (exp_towardzero_test_data): New variable.
51378         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51379         (exp_downward_test_data): New variable.
51380         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51381         (exp_upward_test_data): New variable.
51382         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51383         (exp10_test_data): New variable.
51384         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
51385         (exp2_test_data): New variable.
51386         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
51387         (expm1_test_data): New variable.
51388         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
51389         (fabs_test_data): New variable.
51390         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
51391         (floor_test_data): New variable.
51392         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
51393         (j0_test_data): New variable.
51394         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
51395         (j1_test_data): New variable.
51396         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
51397         (log_test_data): New variable.
51398         (log_test): Run tests with RUN_TEST_LOOP_f_f.
51399         (log10_test_data): New variable.
51400         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
51401         (log1p_test_data): New variable.
51402         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
51403         (log2_test_data): New variable.
51404         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
51405         (logb_test_data): New variable.
51406         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
51407         (logb_downward_test_data): New variable.
51408         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51409         (nearbyint_test_data): New variable.
51410         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
51411         (rint_test_data): New variable.
51412         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
51413         (rint_tonearest_test_data): New variable.
51414         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51415         (rint_towardzero_test_data): New variable.
51416         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51417         (rint_downward_test_data): New variable.
51418         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51419         (rint_upward_test_data): New variable.
51420         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51421         (round_test_data): New variable.
51422         (round_test): Run tests with RUN_TEST_LOOP_f_f.
51423         (sin_test_data): New variable.
51424         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
51425         (sin_tonearest_test_data): New variable.
51426         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51427         (sin_towardzero_test_data): New variable.
51428         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51429         (sin_downward_test_data): New variable.
51430         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51431         (sin_upward_test_data): New variable.
51432         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51433         (sinh_test_data): New variable.
51434         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
51435         (sinh_tonearest_test_data): New variable.
51436         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51437         (sinh_towardzero_test_data): New variable.
51438         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51439         (sinh_downward_test_data): New variable.
51440         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51441         (sinh_upward_test_data): New variable.
51442         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51443         (sqrt_test_data): New variable.
51444         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
51445         (tan_test_data): New variable.
51446         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
51447         (tan_tonearest_test_data): New variable.
51448         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51449         (tan_towardzero_test_data): New variable.
51450         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51451         (tan_downward_test_data): New variable.
51452         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51453         (tan_upward_test_data): New variable.
51454         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51455         (tanh_test_data): New variable.
51456         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
51457         (tgamma_test_data): New variable.
51458         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
51459         (trunc_test_data): New variable.
51460         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
51461         (y0_test_data): New variable.
51462         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
51463         (y1_test_data): New variable.
51464         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
51465         (significand_test_data): New variable.
51466         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
51468 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
51470         [BZ #12387]
51471         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
51473 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
51475         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
51477 2013-05-10  Andreas Jaeger  <aj@suse.de>
51479         [BZ #15448]
51480         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
51481         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
51483 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
51485         * math/gen-libm-test.pl (adjust_arg): New function.
51486         (special_functions): Handle generating output in both functions
51487         and arrays.
51488         (parse_args): Likewise.
51489         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
51490         $in_func argument to parse_args.
51491         * math/libm-test.inc (struct test_f_f_data): New type.
51492         (IF_ROUND_INIT_): New macro.
51493         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
51494         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
51495         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
51496         (IF_ROUND_INIT_FE_UPWARD): Likewise.
51497         (ROUND_RESTORE_): Likewise.
51498         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
51499         (ROUND_RESTORE_FE_TONEAREST): Likewise.
51500         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
51501         (ROUND_RESTORE_FE_UPWARD): Likewise.
51502         (RUN_TEST_LOOP_f_f): New macro.
51503         (acos_test_data): New variable.
51504         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
51505         (acos_tonearest_test_data): New variable.
51506         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51508 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
51510         * benchtests/bench-skeleton.c (startup): Fix coding style.
51512 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
51514         [BZ #6809]
51515         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
51516         negative infinity argument.
51517         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
51518         negative infinity argument.
51519         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
51520         negative infinity argument.
51521         * math/libm-test.inc (tgamma_test): Expect errno to be set for
51522         domain errors.
51524 2013-05-10  Florian Weimer  <fweimer@redhat.com>
51526         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
51527         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
51528         * iconv/iconv_prog.c (main): Likewise.
51529         * locale/programs/charmap-dir.c (charmap_readdir)
51530         (fopen_uncompressed): Likewise.
51531         * locale/programs/locfile.c (siblings_uncached)
51532         (write_locale_data): Use lstat64 instead of lstat.
51533         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
51534         stat.
51536 2013-05-10  Andreas Jaeger  <aj@suse.de>
51538         [BZ #15395]
51539         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
51540         localization.
51541         Include <locale.h>.
51543 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
51545         * elf/dl-close.c (_dl_close_worker): Add comments.
51547 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
51549         [BZ #15359]
51550         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
51551         high part of pi/2.
51552         (__ieee754_rem_pio2l): Update comments.
51554         [BZ #15429]
51555         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
51556         high part of pi/2.
51557         (__ieee754_rem_pio2l): Update comments.
51559         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
51560         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
51562         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
51563         M_PI_4l.
51565         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
51566         (M_PI_34_LOG10El): Likewise.
51567         (M_PI2_LOG10El): Likewise.
51568         (M_PI4_LOG10El): Likewise.
51569         (M_PI_LOG10El): Likewise.
51571 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51573         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51575 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
51577         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
51578         (MINUS_ZERO_INIT): Likewise.
51579         (PLUS_INFTY_INIT): Likewise.
51580         (MINUS_INFTY_INIT): Likewise.
51581         (QNAN_VALUE_INIT): Likewise.
51582         (MAX_VALUE_INIT): Likewise.
51583         (MIN_VALUE_INIT): Likewise.
51584         (MIN_SUBNORM_VALUE_INIT): Likewise.
51585         (plus_zero): Initialize with PLUS_ZERO_INIT.
51586         (minus_zero): Initialize with MINUS_ZERO_INIT.
51587         (plus_infty): Initialize with PLUS_INFTY_INIT.
51588         (minus_infty): Initialize with MINUS_INFTY_INIT.
51589         (qnan_value): Initialize with QNAN_VALUE_INIT.
51590         (max_value): Initialize with MAX_VALUE_INIT.
51591         (min_value): Initialize with MIN_VALUE_INIT.
51592         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
51594         * math/libm-test.inc (RUN_TEST_if_f): New macro.
51595         (jn_test): Use TEST_if_f instead of TEST_ff_f.
51596         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
51597         (yn_test): Use TEST_if_f instead of TEST_ff_f.
51599         * math/libm-test.inc (RUN_TEST_f_f): New macro.
51600         (RUN_TEST_2_f): Likewise.
51601         (RUN_TEST_ff_f): Likewise.
51602         (RUN_TEST_fi_f): Likewise.
51603         (RUN_TEST_fl_f): Likewise.
51604         (RUN_TEST_fff_f): Likewise.
51605         (RUN_TEST_c_f): Likewise.
51606         (RUN_TEST_f_f1): Likewise.
51607         (RUN_TEST_fF_f1): Likewise.
51608         (RUN_TEST_fI_f1): Likewise.
51609         (RUN_TEST_ffI_f1): Likewise.
51610         (RUN_TEST_c_c): Likewise.
51611         (RUN_TEST_cc_c): Likewise.
51612         (RUN_TEST_f_i): Likewise.
51613         (RUN_TEST_f_i_tg): Likewise.
51614         (RUN_TEST_ff_i_tg): Likewise.
51615         (RUN_TEST_f_b): Likewise.
51616         (RUN_TEST_f_b_tg): Likewise.
51617         (RUN_TEST_f_l): Likewise.
51618         (RUN_TEST_f_L): Likewise.
51619         (RUN_TEST_sincos): Likewise.
51620         * math/gen-libm-test.pl (new_test): Take new argument to indicate
51621         whether to show exceptions.  Do not include ");\n" in return
51622         value.
51623         (special_functions): Output call to RUN_TEST_sincos instead of
51624         check_float calls.  Update calls to new_test.
51625         (parse_args): Output call to single RUN_TEST_* macro instead of
51626         check_* calls and other assignments.  Update calls to new_test.
51628         [BZ #2546]
51629         [BZ #2560]
51630         [BZ #5159]
51631         [BZ #15426]
51632         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
51633         input to result for tgamma overflow.
51634         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
51635         (gamma_coeff): New variable.
51636         (NCOEFF): New macro.
51637         (gamma_positive): New function.
51638         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
51639         underflow here.  Use gamma_positive instead of exp (lgamma) for
51640         other arguments.
51641         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
51642         (gamma_coeff): New variable.
51643         (NCOEFF): New macro.
51644         (gammaf_positive): New function.
51645         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
51646         underflow here.  Use gamma_positive instead of exp (lgamma) for
51647         other arguments.
51648         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
51649         (gamma_coeff): New variable.
51650         (NCOEFF): New macro.
51651         (gammal_positive): New function.
51652         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
51653         underflow here.  Use gamma_positive instead of exp (lgamma) for
51654         other arguments.
51655         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
51656         (gamma_coeff): New variable.
51657         (NCOEFF): New macro.
51658         (gammal_positive): New function.
51659         (__ieee754_gammal_r): Handle positive infinity, overflow and
51660         underflow here.  Handle NaN the same as positive infinity.  Remove
51661         check x < 0xffffffff for negative integers.  Use gamma_positive
51662         instead of exp (lgamma) for other arguments.
51663         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
51664         (gamma_coeff): New variable.
51665         (NCOEFF): New macro.
51666         (gammal_positive): New function.
51667         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
51668         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
51669         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
51670         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
51671         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
51672         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
51673         * sysdeps/generic/math_private.h (__gamma_productf): New
51674         prototype.
51675         (__gamma_product): Likewise.
51676         (__gamma_productl): Likewise.
51677         * math/Makefile (libm-calls): Add gamma_product.
51678         * math/libm-test.inc (tgamma_test): Add more tests.
51679         * sysdeps/i386/fpu/libm-test-ulps: Update.
51680         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51682 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
51684         * benchtests/bench-skeleton.c (main): Preheat CPU.
51686 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
51688         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
51690 2013-05-07  Roland McGrath  <roland@hack.frob.com>
51692         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
51693         and _dl_skip_args_internal.
51695 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
51697         * manual/message.texi (Message Translation): Talk about users.
51698         Message to key mapping impacts design.
51700 2013-05-06  Roland McGrath  <roland@hack.frob.com>
51702         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
51704         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
51706         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
51707         * sysdeps/wordsize-64/glob64.c: ... here.
51709         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
51710         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
51711         New macros.
51713         * debug/getlogin_r_chk.c: Moved to ...
51714         * login/getlogin_r_chk.c: ... here.
51715         * debug/Makefile (routines): Move getlogin_r_chk to ...
51716         * login/Makefile (routines): ... here.
51717         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
51718         * login/Versions (libc: GLIBC_2.4): ... here.
51720         * io/poll.c (__poll): Renamed from poll.
51721         Add libc_hidden_def.
51722         (poll): Define as weak alias.
51724         * debug/ptsname_r_chk.c: Moved to ...
51725         * login/ptsname_r_chk.c: ... here.
51726         * debug/Makefile (routines): Move ptsname_r_chk to ...
51727         * login/Makefile (routines): ... here.
51728         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
51729         * login/Versions (libc: GLIBC_2.4): ... here.
51731         * posix/getlogin.c: Moved to ...
51732         * login/getlogin.c: ... here.
51733         * posix/getlogin_r.c: Moved to ...
51734         * login/getlogin_r.c: ... here.
51735         * posix/getlogin_r.c: Moved to ...
51736         * login/getlogin_r.c: ... here.
51737         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
51738         * login/Makefile (routines): ... here.
51739         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
51740         * login/Versions (libc: GLIBC_2.0): ... here.
51742         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
51743         (setrlimit): Define as weak alias.
51745         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
51746         Call __ names for open, ftruncate, and close.
51747         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
51748         (truncate): Define as weak alias.
51750 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
51752         * math/gen-libm-test.pl (parse_args): Initialize x before each
51753         test of frexp, modf and remquo.
51755         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
51756         test signgam value.
51758 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51760         [BZ #15418]
51761         [BZ #15419]
51762         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
51763         internal tests.
51764         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
51766 2013-05-06  Roland McGrath  <roland@hack.frob.com>
51768         * elf/dl-writev.h: New file.
51769         * elf/dl-misc.c: Include it.
51770         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
51771         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
51773 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
51775         * math/libm-test.inc (noXFails): Remove variable.
51776         (noXPasses): Likewise.
51777         (BUILD_COMPLEX_INT): Remove macro.
51778         (print_screen): Remove xfail argument.
51779         (print_screen_max_error): Likewise.
51780         (update_stats): Likewise.
51781         (print_max_error): Likewise.  Update calls to other affected
51782         functions.
51783         (print_complex_max_error): Likewise.
51784         (test_single_exception): Update calls to print_screen.
51785         (test_single_errno): Likewise.
51786         (check_float_internal): Remove xfail argument.  Update calls to
51787         other affected functions.
51788         (check_float): Likewise.
51789         (check_complex): Likewise.
51790         (check_int): Likewise.
51791         (check_long): Likewise.
51792         (check_bool): Likewise.
51793         (check_longlong): Likewise.
51794         (main): Don't print noXFails and noXPasses.
51795         * math/gen-libm-test.pl (top level): Don't mention expected
51796         failure handling in comment.
51797         (new_test): Don't handle expected failures.
51798         (parse_args): Don't mention expected failure handling in comment.
51799         (generate_testfile): Don't handle expected failures.
51800         (parse_ulps): Likewise.
51801         (print_ulps_file): Likewise.
51802         (get_failure): Remove function.
51803         (output_test): Don't handle expected failures.
51804         * make/README.libm-test: Don't mention expected failure handling.
51806         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
51807         (minus_zero): Likewise.
51808         (plus_infty): Likewise.
51809         (minus_infty): Likewise.
51810         (qnan_value): Likewise.
51811         (max_value): Likewise.
51812         (min_value): Likewise.
51813         (min_subnorm_value): Likewise.
51814         (initialize): Do not initialize those variables dynamically.
51816 2013-05-03  Roland McGrath  <roland@hack.frob.com>
51818         * io/open.c (__open_2): Moved to ...
51819         * io/open_2.c: ... this new file.
51820         * io/open64.c (__open64_2): Moved to ...
51821         * io/open64_2.c: ... this new file.
51822         * io/openat.c (__openat_2): Moved to ...
51823         * io/openat_2.c: ... this new file.
51824         * io/openat64.c (__openat64_2): Moved to ...
51825         * io/openat64_2.c: ... this new file.
51826         * io/Makefile (routines): Add them.
51827         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
51828         * sysdeps/unix/sysv/linux/open_2.c: File removed.
51829         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
51830         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
51831         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
51832         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
51833         (__openat64): Add hidden_ver.
51834         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
51835         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
51837         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
51838         Separately conditionalize setting of GLRO(dl_sysinfo) so
51839         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
51840         as well, but the actual setting is only under [NEED_DL_SYSINFO].
51842 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51844         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
51845         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
51846         definition.
51847         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
51848         * sysdeps/unix/sysv/linux/powerpc/init-first.c
51849         (_libc_vdso_platform_setup): Add __vdso_time initialization.
51850         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
51851         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
51853 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
51855         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
51856         test signgam value.
51858         * math/libm-test.inc (hypot_test): Do not use
51859         IGNORE_ZERO_INF_SIGN.
51861 2013-05-03  Andreas Jaeger  <aj@suse.de>
51863         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
51864         Linux 3.9.
51865         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
51866         (PF_MAX): Adjust for VSOCK change.
51868 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51870         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51872 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
51874         [BZ #15264]
51875         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
51876         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
51877         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
51879 2013-05-02  David S. Miller  <davem@davemloft.net>
51881         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51883 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
51885         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
51887 2013-05-01  Roland McGrath  <roland@hack.frob.com>
51889         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
51891 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
51893         [BZ #14952]
51894         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
51895         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
51896         Use __attribute__ ((__gnu_inline__)).
51897         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
51898         Don't use __attribute__ ((__gnu_inline__)).
51900 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
51902         [BZ #15423]
51903         * math/s_catan.c (__catan): Handle small real or imaginary part of
51904         input specially to avoid spurious underflow.
51905         * math/s_catanf.c (__catanf): Likewise.
51906         * math/s_catanh.c (__catanh): Likewise.
51907         * math/s_catanhf.c (__catanhf): Likewise.
51908         * math/s_catanhl.c (__catanhl): Likewise.
51909         * math/s_catanl.c (__catanl): Likewise.
51910         * math/libm-test.inc (catan_test): Add more tests.
51911         (catanh_test): Likewise.
51912         * sysdeps/i386/fpu/libm-test-ulps: Update.
51913         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51915 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51917         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51919 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
51921         [BZ #15416]
51922         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
51923         accurately for denominator in atan2.
51924         * math/s_catanf.c (__catanf): Likewise.
51925         * math/s_catanh.c (__catanh): Likewise.
51926         * math/s_catanhf.c (__catanhf): Likewise.
51927         * math/s_catanhl.c (__catanhl): Likewise.
51928         * math/s_catanl.c (__catanl): Likewise.
51929         * math/libm-test.inc (catan_test): Add more tests.
51930         (catanh_test): Likewise.
51931         * sysdeps/i386/fpu/libm-test-ulps: Update.
51932         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51934 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
51936         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
51938         * benchtests/Makefile (bench): Remove slow benchmarks.
51939         * benchtests/atan-inputs: Add slow benchmark inputs.
51940         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
51941         (BENCH_FUNC): Accept variant offset.
51942         (VARIANT): Define.
51943         * benchtests/bench-skeleton.c (main): Run benchmark for each
51944         variant.
51945         * benchtests/cos-inputs: Add slow benchmark inputs.
51946         * benchtests/exp-inputs: Likewise.
51947         * benchtests/pow-inputs: Likewise.
51948         * benchtests/sin-inputs: Likewise.
51949         * benchtests/slowatan-inputs: Remove.
51950         * benchtests/slowatan.c: Remove.
51951         * benchtests/slowcos-inputs: Remove.
51952         * benchtests/slowcos.c: Remove.
51953         * benchtests/slowexp-inputs: Remove.
51954         * benchtests/slowexp.c: Remove.
51955         * benchtests/slowpow-inputs: Remove.
51956         * benchtests/slowpow.c: Remove.
51957         * benchtests/slowsin-inputs: Remove.
51958         * benchtests/slowsin.c: Remove.
51959         * benchtests/slowtan-inputs: Remove.
51960         * benchtests/slowtan.c: Remove.
51961         * benchtests/tan-inputs: Add slow benchmark inputs.
51962         * scripts/bench.pl: Parse comments and directives.
51964         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
51965         in CPPFLAGS.
51966         ($(objpfx)bench-%.c): Remove *-ITER.
51967         * benchtests/bench-modf.c: Remove definition of ITER.
51968         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
51969         (main): Loop for DURATION seconds instead of fixed number of
51970         iterations.
51971         * scripts/bench.pl: Don't expect iterations in parameters.
51973 2013-04-29  Roland McGrath  <roland@hack.frob.com>
51975         * io/fchdir.c (__fchdir): Renamed from fchdir.
51976         (fchdir): Define as weak alias.
51978 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
51980         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
51981         (ERRNO_EDOM): Likewise.
51982         (ERRNO_ERANGE): Likewise.
51983         (noErrnoTests): New variable.
51984         (init_max_error): Set errno to 0.
51985         (test_single_errno): New function.
51986         (test_errno): Likewise.
51987         (check_float_internal): Call test_errno.  Set errno to 0.
51988         (check_complex): Refer to errno tests in comment.
51989         (check_int): Call test_errno.  Set errno to 0.
51990         (check_long): Likewise.
51991         (check_bool): Likewise.
51992         (check_longlong): Likewise.
51993         (cos_test): Use ERRNO_* flags for errno tests instead of
51994         check_int.
51995         (expm1_test): Likewise.
51996         (fmod_test): Likewise.
51997         (ilogb_test): Likewise.
51998         (lgamma_test): Likewise.
51999         (pow_test): Likewise.
52000         (remainder_test): Likewise.
52001         (sin_test): Likewise.
52002         (tan_test): Likewise.
52003         (yn_test): Likewise.
52004         (initialize): Set errno to 0.
52005         (main): Print number of errno tests.
52006         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
52008 2013-04-29  Andreas Jaeger  <aj@suse.de>
52010         [BZ #15084]
52011         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
52012         and RES_USEVC.
52014         [BZ #15085]
52015         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
52016         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
52017         unimplemented.
52019         [BZ #15380]
52020         * stdlib/random.c (__initstate): Return NULL if
52021         __initstate fails.
52023         [BZ #15086]
52024         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
52025         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
52026         RES_SNGLKUPREOP.
52028 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52030         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52032 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
52034         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
52035         of individual tests.
52036         (casin_test): Likewise.
52037         (casinh_test): Likewise.
52039 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
52041         [BZ #15409]
52042         * math/s_catan.c (__catan): Handle arguments with large real or
52043         imaginary part separately without squaring.
52044         * math/s_catanf.c (__catanf): Likewise.
52045         * math/s_catanh.c (__catanh): Likewise.
52046         * math/s_catanhf.c (__catanhf): Likewise.
52047         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
52048         and redefine.
52049         (__catanhl): Handle arguments with large real or imaginary part
52050         separately without squaring.
52051         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
52052         and redefine.
52053         (__catanl): Handle arguments with large real or imaginary part
52054         separately without squaring.
52055         * math/libm-test.inc (catan_test): Add more tests.
52056         (catanh_test): Likewise.
52057         * sysdeps/i386/fpu/libm-test-ulps: Update.
52058         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52060 2013-04-27  Andreas Jaeger  <aj@suse.de>
52062         [BZ #15007]
52063         * stdlib/stdlib.h: Update guards for qecvt.
52064         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
52065         <stdlib.h>.
52067 2013-04-27  Allan McRae  <allan@archlinux.org>
52069         * sysdeps/i386/fpu/libm-test-ulps: Update.
52071 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
52073         [BZ #15406]
52074         * math/s_catan.c: Include <float.h>.
52075         (__catan): Ensure underflow exception occurs for underflowed
52076         result.
52077         * math/s_catanf.c: Include <float.h>.
52078         (__catanf): Ensure underflow exception occurs for underflowed
52079         result.
52080         * math/s_catanh.c: Include <float.h>.
52081         (__catanh): Ensure underflow exception occurs for underflowed
52082         result.
52083         * math/s_catanhf.c: Include <float.h>.
52084         (__catanhf): Ensure underflow exception occurs for underflowed
52085         result.
52086         * math/s_catanhl.c: Include <float.h>.
52087         (__catanhl): Ensure underflow exception occurs for underflowed
52088         result.
52089         * math/s_catanl.c: Include <float.h>.
52090         (__catanl): Ensure underflow exception occurs for underflowed
52091         result.
52092         * math/libm-test.inc (catan_test): Add more tests.
52093         (catanh_test): Likewise.
52095         [BZ #15405]
52096         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
52097         underflowed result.
52098         * math/s_ccoshf.c (__ccoshf): Likewise.
52099         * math/s_ccoshl.c (__ccoshl): Likewise.
52100         * math/s_csin.c (__csin): Likewise.
52101         * math/s_csinf.c (__csinf): Likewise.
52102         * math/s_csinh.c (__csinh): Likewise.
52103         * math/s_csinhf.c (__csinhf): Likewise.
52104         * math/s_csinhl.c (__csinhl): Likewise.
52105         * math/s_csinl.c (__csinl): Likewise.
52106         * math/libm-test.inc (ccos_test): Add more tests.
52107         (ccosh_test): Likewise.
52108         (csin_test): Likewise.
52109         (csinh_test): Likewise.
52111 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52113         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
52114         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
52115         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
52116         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
52117         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
52118         powerpc/power5+/fpu folders.
52119         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
52122 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
52124         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52126 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
52128         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
52129         additions to variable.
52130         [$(config-machine) = x86_64] (modules-names): Likewise.
52131         ($(objpfx)tst-audit3): Remove dependency.
52132         ($(objpfx)tst-audit3.out): Likewise.
52133         ($(objpfx)tst-audit4): Likewise.
52134         ($(objpfx)tst-audit4.out): Likewise.
52135         ($(objpfx)tst-audit5): Likewise.
52136         ($(objpfx)tst-audit5.out): Likewise.
52137         ($(objpfx)tst-audit6): Likewise.
52138         ($(objpfx)tst-audit6.out): Likewise.
52139         ($(objpfx)tst-audit7): Likewise.
52140         ($(objpfx)tst-audit7.out): Likewise.
52141         (tst-audit3-ENV): Remove variable.
52142         (tst-audit4-ENV): Likewise.
52143         (tst-audit5-ENV): Likewise.
52144         (tst-audit6-ENV): Likewise.
52145         (tst-audit7-ENV): Likewise.
52146         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
52147         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
52148         addition to variable.
52149         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
52150         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
52151         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
52152         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
52153         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
52154         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
52155         tst-audit3, tst-audit4 and tst-audit5.
52156         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
52157         tst-audit6 and tst-audit7.
52158         [$(subdir) = elf] (modules-names): Add audit modules for those
52159         tests.
52160         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
52161         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
52162         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
52163         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
52164         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
52165         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
52166         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
52167         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
52168         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
52169         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
52170         [$(subdir) = elf] (tst-audit3-ENV): New variable.
52171         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
52172         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
52173         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
52174         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
52175         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
52176         Likewise.
52177         [$(subdir) = elf && $(config-cflags-avx) = yes]
52178         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
52179         [$(subdir) = elf && $(config-cflags-avx) = yes]
52180         (CFLAGS-tst-auditmod4a.c): Likewise.
52181         [$(subdir) = elf && $(config-cflags-avx) = yes]
52182         (CFLAGS-tst-auditmod4b.c): Likewise.
52183         [$(subdir) = elf && $(config-cflags-avx) = yes]
52184         (CFLAGS-tst-auditmod6b.c): Likewise.
52185         [$(subdir) = elf && $(config-cflags-avx) = yes]
52186         (CFLAGS-tst-auditmod6c.c): Likewise.
52187         [$(subdir) = elf && $(config-cflags-avx) = yes]
52188         (CFLAGS-tst-auditmod7b.c): Likewise.
52189         * elf/tst-audit3.c: Move to ...
52190         * sysdeps/x86_64/tst-audit3.c: ... here.
52191         * elf/tst-audit4.c: Move to ...
52192         * sysdeps/x86_64/tst-audit4.c: ... here.
52193         * elf/tst-audit5.c: Move to ...
52194         * sysdeps/x86_64/tst-audit5.c: ... here.
52195         * elf/tst-audit6.c: Move to ...
52196         * sysdeps/x86_64/tst-audit6.c: ... here.
52197         * elf/tst-audit7.c: Move to ...
52198         * sysdeps/x86_64/tst-audit7.c: ... here.
52199         * elf/tst-auditmod3a.c: Move to ...
52200         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
52201         * elf/tst-auditmod3b.c: Move to ...
52202         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
52203         * elf/tst-auditmod4a.c: Move to ...
52204         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
52205         * elf/tst-auditmod4b.c: Move to ...
52206         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
52207         * elf/tst-auditmod5a.c: Move to ...
52208         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
52209         * elf/tst-auditmod5b.c: Move to ...
52210         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
52211         * elf/tst-auditmod6a.c: Move to ...
52212         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
52213         * elf/tst-auditmod6b.c: Move to ...
52214         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
52215         * elf/tst-auditmod6c.c: Move to ...
52216         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
52217         * elf/tst-auditmod7a.c: Move to ...
52218         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
52219         * elf/tst-auditmod7b.c: Move to ...
52220         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
52222 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
52224         [BZ #15366]
52225         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
52226         define unconditionally.
52227         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
52228         define unconditionally.
52229         (INT8_C, INT16_C, etc.): Likewise.
52231 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
52233         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
52234         __ehdr_start with hidden visibility.
52236         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
52238 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
52240         * math/libm-test.inc (cos_test): Use accurate hex constants.
52241         (sincost_test): Likewise.
52243 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
52245         * math/libm-test.inc (catan_test): Add more tests.
52246         (catanh_test): Likewise.
52248         * math/s_catanf.c (__catanf): Use suffixed floating-point
52249         constants.
52250         * math/s_catanhf.c (__catanhf): Likewise.
52251         * math/s_catanhl.c (__catanhl): Likewise.
52252         * math/s_catanl.c (__catanl): Likewise.
52254         [BZ #15394]
52255         * math/s_catan.c (__catan): Calculate imaginary part of result
52256         with log1p not log unless computing log of number close to 0.
52257         * math/s_catanf.c (__catanf): Likewise.
52258         * math/s_catanl.c (__catanl): Likewise.
52259         * math/s_catanh.c (__catanh): Calculate real part of result with
52260         log1p not log unless computing log of number close to 0.
52261         * math/s_catanhf.c (__catanhf): Likewise.
52262         * math/s_catanhl.c (__catanhl): Likewise.
52263         * math/libm-test.inc (catan_test): Add more tests.
52264         (catanh_test): Likewise.
52265         * sysdeps/i386/fpu/libm-test-ulps: Update.
52266         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52268 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
52270         * benchtests/Makefile: Mention files in which fast and slow
52271         paths of math functions are implemented.
52273 2013-04-23  Roland McGrath  <roland@hack.frob.com>
52275         * sysdeps/posix/timespec_get.c: New file.
52277 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52279         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
52280         POWER.
52281         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
52282         for POWER.
52283         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
52284         powerpc/power5/fpu folders.
52285         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
52286         * benchtests/Makefile: Add modf testcase.
52287         * benchtests/bench-modf.c: New file: Benchmark test for mo
52289 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
52291         [BZ #14888]
52292         * time/Makefile (tests): Add tst-strptime-whitespace.
52293         * time/strptime_l.c (get_number): Use ISSPACE.
52294         (__strptime_internal): Likewise.
52295         * time/tst-strptime-whitespace.c: New test case.
52297 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
52299         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
52300         member.
52301         (_nss_files_init): Set it here.
52303 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
52305         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
52306         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
52307         unsigned.
52309 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
52311         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
52313 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
52315         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
52316         size just once.
52318 2013-04-21  David S. Miller  <davem@davemloft.net>
52320         * po/ru.po: Update Russion translation from translation project.
52322 2013-04-17  Adam Conrad  <adconrad@0c3.net>
52324         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
52325         and setfsgid.
52327 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
52329         * configure.in: Remove i386 configure warning. Remove i386 case.
52330         * configure: Regenerate.
52331         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
52332         Add example to error message.
52333         * sysdeps/i386/configure: Regenerate.
52335 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
52337         * benchtests/Makefile (bench): Add cos, tan, slowcos and
52338         slowtan.
52339         * benchtests/cos-inputs: New file.
52340         * benchtests/slowcos-inputs: New file.
52341         * benchtests/slowcos.c: New file.
52342         * benchtests/slowtan-inputs: New file.
52343         * benchtests/slowtan.c: New file.
52344         * benchtests/tan-inputs: New file.
52346 2013-04-16  Roland McGrath  <roland@hack.frob.com>
52348         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
52349         considered kosher.
52351 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
52353         * benchtests/Makefile: Include cppflags-iterator.mk to add
52354         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
52356         * Makefile.in (bench-clean): New target.
52357         * benchtests/Makefile (bench-clean): Likewise.
52359 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
52361         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
52363 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
52365         * stdio-common/tstdiomisc.c: Fix coding-style violation.
52367 2013-04-15  Andreas Schwab  <schwab@suse.de>
52369         * nscd/grpcache.c (cache_addgr): Properly check for short write.
52370         * nscd/initgrcache.c (addinitgroupsX): Likewise.
52371         * nscd/pwdcache.c (cache_addpw): Likewise.
52372         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
52373         more than recsize.
52375 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
52377         * benchtests/Makefile (bench): Write all output to
52378         bench-out.tmp together.
52380 2013-04-15  Andreas Schwab  <schwab@suse.de>
52382         * nscd/nscd.c (main): Don't fork again after closing files.
52384 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
52386         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
52388         * benchtests/Rules (bench-deps): Collect dependencies into a
52389         single variable.  Add Makefile to dependencies.
52390         ($(objpfx)bench-%.c): Depend on bench-deps.
52392 2013-04-12  Roland McGrath  <roland@hack.frob.com>
52393             Xavier Roche  <roche+kml2@exalead.com>
52395         [BZ #15361]
52396         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
52397         just that it's a file descriptor.
52398         * manual/llio.texi (Synchronizing AIO Operations): Update description
52399         for EBADF error from aio_fsync.
52401 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
52403         * Rules (bench): Move target definition...
52404         * benchtests/Makefile: ... here.
52406 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
52408         * math/libm-test.inc (cos_test): Fix PI/2 test.
52409         (sincos_test): Likewise.
52410         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
52411         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
52413 2013-04-11  Andreas Schwab  <schwab@suse.de>
52415         [BZ #13988]
52416         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
52417         accept exponent character only when digits were seen.
52418         * stdio-common/Makefile (tests): Add bug26.
52419         * stdio-common/bug26.c: New file.
52421         [BZ #14293]
52422         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
52423         non-freeable.
52425 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
52427         * Makeconfig (rtld-prefix): Define built linker prefix.
52428         * Rules (run-bench): Use it.
52429         * math/Makefile (run-regen-ulps): Likewise.
52431         * Rules (bench): Remove eval.
52433 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
52434             Roland McGrath  <roland@hack.frob.com>
52435             Ondrej Bilka  <neleai@seznam.cz>
52437         [BZ #15346]
52438         * time/getdate.c: Include ctype.h and alloca.h.
52439         (__getdate_r): Trim leading and trailing spaces of input.
52440         * time/tst-getdate.c (tests): Add tests with leading and
52441         trailing spaces.
52443 2013-04-08  Roland McGrath  <roland@hack.frob.com>
52445         [BZ #14280]
52446         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
52447         when computing value.
52449 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
52451         * math/README.libm-test (How can I generate "libm-test-ulps"?):
52452         Use testrun.sh to run libm tests.
52454         [BZ #15309]
52455         * elf/dl-open.c (dl_open_worker): memset all of seen array.
52457 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
52459         [BZ #15264]
52460         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
52462 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
52464         * Makefile.in (regen-ulps): New target.
52465         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
52466         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
52467         [ifneq (no,$(PERL)] (regen-ulps): New target.
52468         [ifeq (no,$(PERL)] (regen-ulps): New target.
52469         * math/libm-test.inc (ulps_file_name): Define.
52470         (output_dir): New variable.
52471         (options): Add "output-dir" option.
52472         (parse_opt): Handle 'o' case.
52473         (main): If output_dir is non-NULL use it as a prefix
52474         otherwise use "".
52475         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
52477 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
52479         [BZ #10060, #10062]
52480         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
52481         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
52482         fail configure if __sync_val_compare_and_swap is not inlined.
52483         * sysdeps/i386/configure: Regenerate.
52484         * configure.in: Build for i686 when configured for i386.
52485         * configure: Regenerate.
52486         * README: Remove i386 reference.
52488 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
52490         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
52491         * sysdeps/s390/s390-64/sysdep.h: Likewise.
52493 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
52495         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
52496         (lmsnanval): New variables.
52497         (F): Add conversion tests.
52498         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
52499         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
52501         * stdio-common/tstdiomisc.c (F): Properly collect individual
52502         tests' results.
52504         [BZ #14686, #15336]
52505         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
52506         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
52507         Instead, use input NaN values or generate a qNaN by arithmetic
52508         operation.  Also fix bugs to comply with the standard.
52509         * math/libm-test.inc (remainder_test): Add more tests.
52511         [BZ #15335, #15342]
52512         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
52513         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
52514         input NaN values or generate a qNaN by arithmetic operation.
52516         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
52517         unreachable code.
52519         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
52520         definitions.
52522 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
52524         [BZ #14478]
52525         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
52526         underflowed result.
52527         * math/s_cexpf.c (__cexpf): Likewise.
52528         * math/s_cexpl.c (__cexpl): Likewise.
52529         * math/libm-test.inc (cexp_test): Add more tests.
52531 2013-04-03  Andreas Schwab  <schwab@suse.de>
52533         [BZ #15330]
52534         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
52535         order arrays from heap if bigger than alloca cutoff.
52537 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
52539         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
52540         (SNAN_TESTS_double): Refer to GCC PR56831.
52541         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
52542         GCC PR56828.
52544 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
52546         * Rules (bench): Move bench.out after the run is complete.
52548         * Rules (bench): Echo currently running benchmark.
52550         * benchtests/Makefile (bench): Add atan and slowatan.
52551         * benchtests/atan-inputs: New file.
52552         * benchtests/slowatan-inputs: New file.
52553         * benchtests/slowatan.c: New file.
52555         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
52556         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
52557         its value.
52559         [BZ #15305]
52560         * sysdeps/unix/sysv/linux/kernel-features.h
52561         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
52562         __ASSUME_XFS_RESTRICTED_CHOWN.
52563         * sysdeps/unix/sysv/linux/pathconf.c
52564         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
52565         Save and restore errno.
52567 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
52569         [BZ #15327]
52570         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
52571         arguments using __kernel_casinh.
52572         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
52573         arguments using __kernel_casinhf.
52574         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
52575         arguments using __kernel_casinhl.
52576         * math/libm-test.inc (cacosh_test): Add more tests.
52577         * sysdeps/i386/fpu/libm-test-ulps: Update.
52578         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52580 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
52582         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
52583         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
52585         * bench/Makefile (bench): Add sin and slowsin.
52586         * benchtests/sin-inputs: New file.
52587         * benchtests/slowsin-inputs: New file.
52588         * benchtests/slowsin.c: New file.
52590         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
52591         (bench): Add slowexp and slowpow.
52592         (exp-ITER): Increase iterations.
52593         (pow-ITER): Likewise.
52594         * benchtests/exp-inputs: Change input.
52595         * benchtests/pow-inputs: Likewise.
52596         * benchtests/slowexp-inputs: New file.
52597         * benchtests/slowexp.c: New file.
52598         * benchtests/slowpow-inputs: New file.
52599         * benchtests/slowpow.c: New file.
52601 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52603         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
52604         instructions.
52605         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
52606         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
52607         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
52608         * benchtests/Makefile: Add rint benchtest.
52609         * benchtests/rint-inputs: Input for rint benchtest.
52611 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
52613         * Versions.def (libm): Add GLIBC_2.18.
52614         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
52615         hidden libm prototypes.
52616         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
52617         * math/Makefile (libm-calls): Add s_issignaling.
52618         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
52619         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
52620         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
52621         declaration.
52622         * math/math.h [__USE_GNU] (issignaling): New macro.
52623         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
52624         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
52625         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
52626         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
52627         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
52628         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
52629         * manual/arith.texi (issignaling): New section.
52630         * manual/libm-err-tab.pl (@all_functions): Update comment.
52631         * math/gen-libm-test.pl (parse_args): Apply special handling for
52632         issignaling.
52633         * math/libm-test.inc (print_float, issignaling_test): New
52634         functions.
52635         (check_float_internal): Add issignaling checks.
52636         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
52637         default definition.
52638         * sysdeps/powerpc/math-tests.h: New file.
52639         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
52640         tests.
52641         * math/test-snan.c (TEST_FUNC): Likewise.
52643 2013-03-30  David S. Miller  <davem@davemloft.net>
52645         * po/de.po: Update from translation team.
52647 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
52649         [BZ #10357]
52650         * math/k_casinh.c (__kernel_casinh): Handle arguments with
52651         imaginary part less than 1.0 and real part less than 0.5
52652         specially.
52653         * math/k_casinhf.c (__kernel_casinhf): Likewise.
52654         * math/k_casinhl.c (__kernel_casinhl): Likewise.
52655         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
52656         (cacos_test): Add more tests.
52657         (casin_test): Likewise.
52658         (casinh_test): Likewise.
52659         * sysdeps/i386/fpu/libm-test-ulps: Update.
52660         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52662 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
52664         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
52665         ONE with its value.
52667         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
52668         (__pow_mp): Replace ONE and MONE with their values.
52669         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
52670         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
52671         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
52672         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
52673         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
52674         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
52676         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
52678         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
52679         (__pow_mp): Replace ZERO and MZERO with their values.
52680         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
52681         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
52682         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
52683         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
52684         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
52685         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
52686         (__sqr): Likewise.
52688         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
52690         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
52692 2013-03-28  Roland McGrath  <roland@hack.frob.com>
52694         * include/stdlib.h [!SHARED] (__call_tls_dtors):
52695         Declare with __attribute__ ((weak)).
52696         * stdlib/exit.c (__libc_atexit) [!SHARED]:
52697         Call __call_tls_dtors only if it's not NULL.
52699 2013-03-28  Roland McGrath  <roland@hack.frob.com>
52701         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
52702         didn't do it already, then set _dl_phdr and _dl_phnum based on the
52703         magic __ehdr_start linker symbol if it's defined.
52704         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
52705         them up here if it was already done.
52707         * elf/dl-support.c (_dl_phdr): Make pointer to const.
52708         (_dl_aux_init): Use const in cast when setting it.
52709         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
52710         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
52711         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
52713         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
52714         Declare them here.
52715         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
52716         * csu/libc-tls.c: Nor here.
52717         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
52719         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
52720         (__libc_message): Never call vsyslog.
52722 2013-03-28  Alan Modra  <amodra@gmail.com>
52724         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
52725         Define as empty.
52726         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
52727         Likewise.
52729 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52731         [BZ #15214]
52732         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
52733         underflow.
52734         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52736 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
52738         [BZ #15304]
52739         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
52740         Don't add gid passed as argument.
52742         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
52744 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
52746         [BZ #15307]
52747         * math/k_casinh.c (__kernel_casinh): Handle arguments with
52748         imaginary part between 1.0 and 1.5 and real part less than 0.5
52749         specially.
52750         * math/k_casinhf.c (__kernel_casinhf): Likewise.
52751         * math/k_casinhl.c (__kernel_casinhl): Likewise.
52752         * math/libm-test.inc (cacos_test): Add more tests.
52753         (casin_test): Likewise.
52754         (casinh_test): Likewise.
52755         * sysdeps/i386/fpu/libm-test-ulps: Update.
52756         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52758 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
52760         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
52761         constants.
52762         (norm): Likewise.
52763         (denorm): Likewise.
52764         (__dbl_mp): Likewise.
52765         (add_magnitudes): Likewise.
52766         (sub_magnitudes): Likewise.
52767         (__add): Likewise.
52768         (__sub): Likewise.
52769         (__mul): Likewise.
52770         (__sqr): Likewise.
52771         (__inv): Likewise.
52772         (__dvd): Likewise.
52774         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
52775         commented code.
52776         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
52777         (__dubcos): Likewise.
52778         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
52779         (__ieee754_acos): Likewise.
52780         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
52781         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
52782         (__exp1): Likewise.
52783         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
52784         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
52785         (log1): Likewise.
52786         (my_log2): Likewise.
52787         (checkint): Likewise.
52788         * sysdeps/ieee754/dbl-64/e_remainder.c
52789         (__ieee754_remainder): Likewise.
52790         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
52791         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
52792         (bsloww): Likewise.
52793         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
52795         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
52796         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
52797         MANTISSA_STORE_T to store computations on mantissa.  Use
52798         macros for rounding and division.
52799         (denorm): Likewise.
52800         (__dbl_mp): Likewise.
52801         (add_magnitudes): Likewise.
52802         (sub_magnitudes): Likewise.
52803         (__mul): Likewise.
52804         (__sqr): Likewise.
52805         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
52806         powers of two in terms of TWOPOW macro.
52807         (mp_no): Make type of mantissa as MANTISSA_T.
52808         [!RADIXI]: Define RADIXI.
52809         [!TWO52]: Define TWO52.
52810         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
52812 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52814         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
52815         llroundl symbol when building for PPC32.
52817 2013-03-24  Mark H Weaver  <mhw@netris.org>
52819         * manual/arith.texi (Normalization Functions): Fix prototypes for
52820         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
52822 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52824         [BZ #13889]
52825         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
52826         high value to check if expl overflow.
52827         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
52828         to check for underflow and overflow.
52829         * math/libm-test.inc: Add exp test.
52831 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
52833         [BZ #11120]
52834         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
52835         with NOT_IN_libc.
52837 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52839         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
52840         symbol.
52842 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
52844         * math/gen-libm-test.pl (parse_args, special_functions): Properly
52845         wrap blocks consisting of several statements.
52847         * sysdeps/generic/math-tests.h: New file.
52848         * sysdeps/i386/fpu/math-tests.h: Likewise.
52849         * math/test-snan.c: Include it.
52850         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
52852 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
52854         [BZ #15285]
52855         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
52856         (__ieee754_j0l): Do not improve calculations using cos of twice
52857         input for inputs above LDBL_MAX / 2.0L.
52858         (__ieee754_y0l): Likewise.
52859         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
52860         (__ieee754_j1l): Do not improve calculations using cos of twice
52861         input for inputs above LDBL_MAX / 2.0L.
52862         (__ieee754_y1l): Likewise.
52863         * math/libm-test.inc (j0_test): Add another test.
52864         (j1_test): Likewise.
52865         (y0_test): Likewise.
52866         (y1_test): Likewise.
52867         * sysdeps/i386/fpu/libm-test-ulps: Update.
52869 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
52871         * Rules ($(objpfx)bench-%.c): Include code from a C source
52872         file.
52874 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
52876         [BZ #15287]
52877         * math/k_casinh.c (__kernel_casinh): Handle arguments with
52878         imaginary part 1.0 and real part less than 0.5 specially.
52879         * math/k_casinhf.c (__kernel_casinhf): Likewise.
52880         * math/k_casinhl.c (__kernel_casinhl): Likewise.
52881         * math/libm-test.inc (cacos_test): Add more tests.
52882         (casin_test): Likewise.
52883         (casinh_test): Likewise.
52884         * sysdeps/i386/fpu/libm-test-ulps: Update.
52885         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52887 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
52889         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
52890         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
52892 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
52894         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
52895         * config.make.in (config-cflags-sse4): Remove variable.
52896         (config-cflags-avx): Likewise.
52897         (config-cflags-sse2avx): Likewise.
52898         (config-cflags-novzeroupper): Likewise.
52899         (config-asflags-i686): Likewise.
52900         (have-mfma4): Likewise.
52901         (have-as-vis3): Likewise.
52902         (MIG): Likewise.
52903         * configure.in (MIG): Do not AC_SUBST.
52904         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
52905         (libc_cv_cc_sse4): Do not AC_SUBST.
52906         (libc_cv_cc_avx): Likewise.
52907         (libc_cv_cc_sse2avx): Likewise.
52908         (libc_cv_cc_novzeroupper): Likewise.
52909         (libc_cv_cc_fma4): Likewise.
52910         (libc_cv_as_i686): Likewise.
52911         (libc_cv_sparc_as_vis3): Likewise.
52912         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
52913         LIBC_CONFIG_VAR.
52914         (config-asflags-i686): Likewise.
52915         (config-cflags-avx): Likewise.
52916         (config-cflags-sse2avx): Likewise.
52917         (have-mfma4): Likewise.
52918         (config-cflags-novzeroupper): Likewise.
52919         * sysdeps/mach/configure.in (MIG): Likewise.
52920         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
52921         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
52922         LIBC_CONFIG_VAR.
52923         (config-cflags-avx): Likewise.
52924         (config-cflags-sse2avx): Likewise.
52925         (have-mfma4): Likewise.
52926         (config-cflags-novzeroupper): Likewise.
52927         * configure: Regenerated.
52928         * sysdeps/i386/configure: Likewise.
52929         * sysdeps/mach/configure: Likewise.
52930         * sysdeps/sparc/configure: Likewise.
52931         * sysdeps/x86_64/configure: Likewise.
52933 2013-03-20  Roland McGrath  <roland@hack.frob.com>
52935         [BZ #14812]
52936         * locale/programs/localedef.c (options): Put N_ translation marker
52937         on argument names, not just descriptions.
52939 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
52941         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
52943 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
52945         [BZ #14176]
52946         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
52948 2013-03-19  Roland McGrath  <roland@hack.frob.com>
52950         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
52951         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
52952         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
52953         [!BEFORE_ABORT] (before_abort): New function.
52954         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
52955         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
52956         (writev_for_fatal): New function.
52957         (WRITEV_FOR_FATAL): New macro; call that.
52958         (backtrace_and_maps): New function.
52959         (BEFORE_ABORT): New macro; call that.
52960         (struct str_list): Type removed.
52961         (__libc_message, __libc_fatal): Functions removed.
52962         Include <sysdeps/posix/libc_fatal.c> instead.
52964 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
52966         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
52967         constants.
52968         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
52969         double constants.
52971 2013-03-19  Andreas Schwab  <schwab@suse.de>
52973         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
52974         * sysdeps/gnu/configure: Regenerate.
52976         * configure.in: Substitute libc_cv_rtlddir.
52977         * configure: Regenerate.
52978         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
52979         * Makeconfig (rtlddir, inst_rtlddir): New variables.
52980         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
52981         * elf/Makefile (install-others, CFLAGS-interp.c)
52982         (ldso_install, common-ldd-rewrite): Likewise.
52983         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
52984         $(inst_slibdir)/$(rtld-installed-name).
52985         * scripts/rellns-sh: Add -p option.
52986         * Makerules (make-shlib-link): Use rellns-sh to get relative name
52987         for source.
52989 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
52991         * manual/nptl.texi: Renamed to ...
52992         * manual/threads.texi: ... this.
52993         * manual/Makefile (chapters): Update.
52995 2013-03-18  Roland McGrath  <roland@hack.frob.com>
52997         [BZ #14812]
52998         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
52999         on argument names, not just descriptions.
53000         * malloc/memusagestat.c (options): Likewise.
53001         * nss/getent.c (options): Likewise.
53003 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
53005         [BZ #14812]
53006         * iconv/iconv_prog.c (options): Put N_ translation marker
53007         on argument names, not just descriptions.
53008         * iconv/iconvconfig.c (options): Likewise.
53010 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
53012         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
53013         implementation which is faster on all x86_64 architectures.
53014         Tested on AMD, Intel Nehalem, SNB, IVB.
53015         * sysdeps/x86_64/strnlen.S: Likewise.
53017         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
53018         Remove all multiarch strlen and strnlen versions.
53019         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
53020         Remove strlen and strnlen related parts.
53022         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
53023         Inline strlen part.
53024         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
53026         * sysdeps/x86_64/multiarch/strlen.S: Remove.
53027         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
53028         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
53029         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
53030         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
53031         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
53033 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
53035         * manual/memory.texi (Malloc Tunable Parameters):
53036         Sort parameters alphabetically. Add comments for missing entries.
53038 2013-03-17  David S. Miller  <davem@davemloft.net>
53040         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53042 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
53044         [BZ #15283]
53045         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
53046         for arguments at most half maximum finite value.
53047         * math/libm-test.inc (j0_test): Add more tests.
53048         (j1_test): Likewise.
53049         (y0_test): Likewise.
53050         (y1_test): Likewise.
53051         * sysdeps/i386/fpu/libm-test-ulps: Update.
53052         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53054         [BZ #14155]
53055         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
53056         1 / x and functions P and Q for arguments above 0x1p256L.
53057         (__ieee754_y0l): Likewise.
53058         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
53059         (__ieee754_y1l): Likewise.
53060         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
53061         (j1_test): Likewise.
53062         (y0_test): Likewise.
53063         (y1_test): Likewise.
53065 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
53067         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
53068         variable.
53070 2013-03-15  Roland McGrath  <roland@hack.frob.com>
53072         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
53073         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
53074         zero since it's initialized to EXEC_PAGESIZE.
53076         * sysdeps/unix/sysv/linux/ldsodefs.h
53077         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
53078         * sysdeps/generic/ldsodefs.h: ... here.
53080 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
53082         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
53084         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
53085         math/test-snan.c.
53086         * math/test-snan.c: Renamed from
53087         sysdeps/powerpc/fpu/test-powerpc-snan.c.
53088         * math/Makefile (tests): Add test-snan.
53089         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
53090         test-powerpc-snan.
53092         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
53093         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
53094         functions.
53095         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
53096         __builtin_nan family of functions.
53097         * math/libm-test.inc (initialize): Initialize qnan_value with
53098         __builtin_nan family of functions.
53099         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
53100         Remove variables.
53101         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
53102         Remove functions.
53103         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
53104         storage class.  Initialize qNaN_var and sNaN_var with
53105         __builtin_nan and __builtin_nans families of functions,
53106         respectively.
53108         * math/libm-test.inc (acosh_test): Also test with qNaN input.
53109         (sqrt_test): Remove duplicate test with qNaN input.
53110         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
53111         (round_test, signbit_test, significand_test): Note missing +/-Inf
53112         as well as qNaN tests.
53114         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
53115         qNaN_var.  Fix a few strings, too.
53116         * math/libm-test.inc (nan_value): Rename to qnan_value.
53117         * math/gen-libm-test.pl (%beautify): Adjust to that.
53118         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
53119         * math/test-misc.c (main): Likewise.
53120         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
53121         to __qnan_bytes, and __qnan_union, respectively.
53122         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
53123         Likewise.
53124         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
53125         and lqnanval, respectively.
53126         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
53127         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
53128         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
53129         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
53131         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
53132         * math/test-misc.c (main) [__x86_64__]: Enable test for long
53133         doubles.
53135         * math/test-misc.c (main): Fix copy'n'pastos.
53136         * misc/tst-efgcvt.c (special): Likewise.
53138         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
53139         Remove declarations.
53141 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
53143         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
53144         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
53145         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
53146         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
53148 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53150         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
53151         macro to return vdso values correctly in IFUNC implementations.
53152         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
53153         Optimization by using IFUNC.
53155 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
53156             Richard Henderson  <rth@redhat.com>
53157             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
53159         * Makefile.in (bench): New target.
53160         * NEWS: Mention the benchmark framework.
53161         * Rules (bench): Likewise.
53162         (binaries-bench): Generate binaries for functions to
53163         benchmark.
53164         * benchtests/Makefile: New makefile for benchmark tests.
53165         * benchtests/bench-skeleton.c: New skeleton file for benchmark
53166         programs.
53167         * benchtests/exp-inputs: New input file for EXP function.
53168         * benchtests/pow-inputs: New input file for POW function.
53169         * scripts/bench.pl: New script to generate source files for
53170         benchmark programs.
53172 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
53174         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
53175         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
53176         computations on mantissa.  Use macros for rounding and
53177         division.
53178         (denorm): Likewise.
53179         (__dbl_mp): Likewise.
53180         (add_magnitudes): Likewise.
53181         (sub_magnitudes): Likewise.
53182         (__mul): Likewise.
53183         (__sqr): Likewise.
53184         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
53185         powers of two in terms of TWOPOW macro.
53186         (mp_no): Make type of mantissa as MANTISSA_T.
53187         [!RADIXI]: Define RADIXI.
53188         [!TWO52]: Define TWO52.
53189         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
53191         * manual/nptl.texi (cindex): Modify threads to pthreads.
53193 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
53195         * sysdeps/x86_64/preconfigure: Regenerated.
53197 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
53199         [BZ #14155]
53200         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
53201         0x1p28 and above.
53202         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
53203         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
53204         0x1p28 and above.
53205         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
53206         * math/libm-test.inc (j0_test): Do not allow one spurious
53207         underflow exception.
53208         (y1_test): Likewise.
53210 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
53212         * manual/Makefile (chapters): Add nptl.
53213         * manual/debug.texi (Debugging Support): Add link to Threads
53214         chapter.
53215         * manual/nptl.texi: New file.
53217         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
53219 2013-03-14  Petr Baudis  <pasky@ucw.cz>
53221         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
53222         for non-NULL pointer before the memory validity test. Pointed
53223         out by Holger Brunck <holger.brunck@keymile.com>.
53225 2013-03-13  Andreas Schwab  <schwab@suse.de>
53227         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
53228         instead of .os.
53230 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
53232         * timezone/zic.c: Update from tzcode 2013b.
53234 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
53236         * manual/install.texi (Configuring and compiling):
53237         Mention i686 and i586.
53238         * INSTALL: Regenerate.
53240 2013-03-12  Roland McGrath  <roland@hack.frob.com>
53242         * sysdeps/init_array/elf-init.c: New file.
53243         * csu/elf-init.c
53244         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
53245         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
53247         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
53248         __gmon_start__ as global, but as static with a .preinit_array pointer.
53249         * sysdeps/init_array/gmon-start.c: New file.  Use that.
53250         * sysdeps/init_array/crti.S: New file, empty except for comments.
53251         * sysdeps/init_array/crtn.S: Likewise.
53253 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
53255         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
53256         definining bcopy.
53257         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53258         Remove Prefer_SSE_for_memop.
53259         * sysdeps/x86_64/multiarch/init-arch.h: Remove
53260         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
53261         HAS_PREFER_SSE_FOR_MEMOP.
53262         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
53263         memset-x86-64.
53264         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
53265         Remove bzero, memset ifunc support.
53266         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
53267         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
53268         * sysdeps/x86_64/multiarch/memset.S: Likewise.
53269         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
53271 2013-03-11  Andreas Schwab  <schwab@suse.de>
53273         [BZ #15234]
53274         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
53275         by SHLIB_COMPAT.
53276         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
53277         (GLIBC_2.16): Remove pthread_atfork.
53279 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
53281         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
53282         (ptestcases.h): Likewise.
53284 2013-03-08  Roland McGrath  <roland@hack.frob.com>
53286         * Makeconfig ($(common-objpfx)config.status): Depend on
53287         sysdeps/*/preconfigure{,.in} too.
53289 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
53291         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
53292         (__free_hook): Use void * instead of __malloc_ptr_t.
53293         (__malloc_hook): Likewise.
53294         (__realloc_hook): Likewise.
53295         (__memalign_hook): Likewise.
53296         (__after_morecore_hook): Likewise.
53297         * malloc/arena.c (save_malloc_hook): Likewise.
53298         (save_free_hook): Likewise.
53299         * malloc/hooks.c (malloc_hook_ini): Likewise.
53300         (realloc_hook_ini): Likewise.
53301         (memalign_hook_ini): Likewise.
53302         * malloc/malloc.c (malloc_hook_ini): Likewise.
53303         (realloc_hook_ini): Likewise.
53304         (memalign_hook_ini): Likewise.
53305         (__free_hook): Likewise.
53306         (__malloc_hook): Likewise.
53307         (__realloc_hook): Likewise.
53308         (__memalign_hook): Likewise.
53309         (__libc_malloc): Likewise.
53310         (__libc_free): Likewise.
53311         (__libc_realloc): Likewise.
53312         (__libc_memalign): Likewise.
53313         (__libc_valloc): Likewise.
53314         (__libc_pvalloc): Likewise.
53315         (__libc_calloc): Likewise.
53316         (__posix_memalign): Likewise.
53317         * malloc/morecore.c (__sbrk): Likewise.
53318         (__default_morecore): Likewise.
53320         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
53322         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
53323         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
53324         __malloc_ptrdiff_t.
53326         * malloc/malloc.h (__malloc_size_t): Remove macro.
53327         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
53328         __malloc_size_t.
53329         (old_memalign_hook): Likewise.
53330         (old_realloc_hook): Likewise.
53331         (struct hdr): Likewise.
53332         (flood): Likewise.
53333         (mallochook): Likewise.
53334         (memalignhook): Likewise.
53335         (reallochook): Likewise.
53336         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
53337         (tr_old_realloc_hook): Likewise.
53338         (tr_old_memalign_hook): Likewise.
53339         (tr_mallochook): Likewise.
53340         (tr_reallochook): Likewise.
53341         (tr_memalignhook): Likewise.
53343 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53345         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
53346         default_ldbl_pack and using as default implementation.
53347         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
53348         implementation.
53349         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
53350         redundant definition.
53351         (ldbl_insert_mantissa): Likewise.
53352         (ldbl_canonicalize): Likewise.
53353         (ldbl_nearbyint): Likewise.
53354         (ldbl_pack): Rename to ldbl_pack_ppc.
53355         (ldbl_unpack): Rename to ldbl_unpack_ppc.
53356         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
53357         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
53359 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
53361         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
53362         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
53363         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
53364         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
53365         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
53366         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
53367         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
53368         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
53370 2013-03-07  Andreas Jaeger  <aj@suse.de>
53372         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53373         bits/mman-linux.h.
53375 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
53377         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
53378         Include mpa.h and declare __MPEXP.
53379         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
53380         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
53381         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
53382         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
53383         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
53384         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
53385         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
53387         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
53388         (__slowpow): Use long double EXPL and LOGL functions to
53389         compute POW.
53390         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
53391         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
53392         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
53393         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
53394         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
53395         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
53397         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
53398         intermediate variable to calculate exponent.
53399         (__sqr): Likewise.
53400         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
53401         Likewise.
53402         (__sqr): Likewise.
53404         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
53405         [!NO__SQR]: Define __sqr.
53406         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
53407         and NO__SQR.  Remove all code except __mul and __sqr.  Include
53408         sysdeps/ieee754/dbl-64/mpa.c.
53409         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
53411         [BZ #12723]
53412         * posix/Makefile (tests): Add tst-pathconf.
53413         * posix/tst-pathconf.c: New test case.
53414         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
53415         _PC_PIPE_BUF.
53416         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
53418 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
53420         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
53422 2013-03-06  Andreas Jaeger  <aj@suse.de>
53424         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
53425         definition via __MAP_ANONYMOUS.
53427         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
53428         it's not part of Linux headers.
53430         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
53431         (MAP_HUGE_MASK): Define.
53433         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
53434         Define.
53435         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
53436         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
53437         Define.
53438         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
53439         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
53440         Define.
53441         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
53442         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
53443         Define.
53444         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
53446         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
53447         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
53448         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
53449         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
53450         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
53451         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
53453         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
53454         Handle f2fs.
53456         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
53457         Handle f2fs and efivarfs.
53459         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
53460         f2fs.
53462         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
53463         (EFIVARFS_MAGIC): Add.
53464         (F2FS_LINK_MAX): Add.
53466 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
53468         * stdio-common/vfprintf.c: Replace __builtin_expect with
53469         __glibc_unlikely.
53471 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
53473         [BZ #13550]
53474         * sysdeps/generic/bp-sym.h: Remove file.
53475         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
53476         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
53477         <bp-sym.h> and <bp-asm.h>.
53478         (__longjmp): Don't use BP_SYM.
53479         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
53480         and <bp-asm.h>.
53481         (memcpy): Don't use BP_SYM.
53482         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
53483         <bp-sym.h> and <bp-asm.h>.
53484         (memcpy): Don't use BP_SYM.
53485         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
53486         <bp-asm.h>.
53487         (memcpy): Don't use BP_SYM.
53488         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
53489         <bp-asm.h>.
53490         (memset): Don't use BP_SYM.
53491         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
53492         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
53493         (__bzero): Don't use BP_SYM.
53494         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
53495         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
53496         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
53497         <bp-sym.h> and <bp-asm.h>.
53498         (memcmp): Don't use BP_SYM.  Remove comment about bounded
53499         pointers.
53500         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
53501         <bp-sym.h> and <bp-asm.h>.
53502         (memcpy): Don't use BP_SYM.
53503         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
53504         <bp-sym.h> and <bp-asm.h>.
53505         (memset): Don't use BP_SYM.
53506         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
53507         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
53508         (__bzero): Don't use BP_SYM.
53509         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
53510         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
53511         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
53512         <bp-sym.h> and <bp-asm.h>.
53513         (strncmp): Don't use BP_SYM.  Remove comment about bounded
53514         pointers.
53515         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
53516         <bp-sym.h> and <bp-asm.h>.
53517         (memcpy): Don't use BP_SYM.
53518         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
53519         <bp-sym.h> and <bp-asm.h>.
53520         (memset): Don't use BP_SYM.
53521         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
53522         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
53523         (__bzero): Don't use BP_SYM.
53524         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
53525         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
53526         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
53527         <bp-sym.h> and <bp-asm.h>.
53528         (__memchr): Don't use BP_SYM.
53529         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
53530         <bp-sym.h> and <bp-asm.h>.
53531         (memcmp): Don't use BP_SYM.  Remove comment about bounded
53532         pointers.
53533         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
53534         <bp-sym.h> and <bp-asm.h>.
53535         (memcpy): Don't use BP_SYM.
53536         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
53537         <bp-sym.h> and <bp-asm.h>.
53538         (__mempcpy): Don't use BP_SYM.
53539         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
53540         <bp-sym.h> and <bp-asm.h>.
53541         (__memrchr): Don't use BP_SYM.
53542         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
53543         <bp-sym.h> and <bp-asm.h>.
53544         (memset): Don't use BP_SYM.
53545         (__bzero): Likewise.
53546         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
53547         <bp-sym.h> and <bp-asm.h>.
53548         (__rawmemchr): Don't use BP_SYM.
53549         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
53550         <bp-sym.h> and <bp-asm.h>.
53551         (__STRCMP): Don't use BP_SYM.
53552         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
53553         <bp-sym.h> and <bp-asm.h>.
53554         (strchr): Don't use BP_SYM.
53555         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
53556         <bp-sym.h> and <bp-asm.h>.
53557         (__strchrnul): Don't use BP_SYM.
53558         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
53559         <bp-sym.h> and <bp-asm.h>.
53560         (strlen): Don't use BP_SYM.
53561         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
53562         <bp-sym.h> and <bp-asm.h>.
53563         (strncmp): Don't use BP_SYM.  Remove comment about bounded
53564         pointers.
53565         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
53566         <bp-sym.h> and <bp-asm.h>.
53567         (__strnlen): Don't use BP_SYM.
53568         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
53569         <bp-sym.h> and <bp-asm.h>.
53570         (__GI__setjmp): Don't use BP_SYM.
53571         (_setjmp): Likewise.
53572         (__sigsetjmp): Likewise.
53573         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
53574         (L(start_addresses)): Don't use BP_SYM.
53575         (_start): Likewise.
53576         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
53577         <bp-asm.h>.
53578         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
53579         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
53580         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
53581         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
53582         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
53583         <bp-asm.h>.
53584         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
53585         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
53586         about bounded pointers.
53587         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
53588         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
53589         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
53590         <bp-asm.h>.
53591         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
53592         about bounded pointers.  Remove GKM FIXME comments.
53593         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
53594         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
53595         <bp-asm.h>.
53596         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
53597         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
53598         Remove GKM FIXME comments.
53599         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
53600         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
53601         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
53602         <bp-asm.h>.
53603         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
53604         about bounded pointers.  Remove GKM FIXME comment.
53605         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
53606         and <bp-asm.h>.
53607         (strncmp): Don't use BP_SYM.  Remove comment about bounded
53608         pointers.
53609         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
53610         <bp-sym.h> and <bp-asm.h>.
53611         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
53612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
53613         <bp-sym.h> and <bp-asm.h>.
53614         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
53615         comment.
53617 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
53619         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
53620         call free(NULL).
53622 2013-03-05  David S. Miller  <davem@davemloft.net>
53624         * po/es.po: Update from translation team.
53626 2013-03-05  Andreas Jaeger  <aj@suse.de>
53628         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
53629         <bits/mman-linux.h>.
53630         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
53631         is fine.
53632         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
53633         <bits/mman-linux.h> to end of file.
53634         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
53635         is fine.
53636         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
53637         <bits/mman-linux.h> to end of file.
53638         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
53639         is fine.
53640         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
53641         <bits/mman-linux.h> to end of file.
53643         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
53644         (MCL_CURRENT, MCL_FUTURE): Define here.
53646 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53648         [BZ #15232]
53649         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
53650         attribute_hidden.
53651         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
53653 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53655         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
53656         fourth parameter needed for rt_sigprocmask syscall.
53657         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
53658         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
53659         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
53660         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
53661         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
53662         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
53664 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
53666         [BZ #13550]
53667         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
53668         comment about bounded pointers.
53669         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
53670         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
53672 2013-03-04  Andreas Jaeger  <aj@suse.de>
53674         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
53675         common definitions.
53677         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
53678         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
53679         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
53680         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
53681         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
53682         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
53684 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53686         [BZ #15055]
53687         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
53688         __ieee754_sqrl instead of __sqrl.
53690 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
53692         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
53693         * sysdeps/powerpc/fpu_control.h: ... here.
53694         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
53695         * sysdeps/powerpc/bits/fenvinline.h: ... here.
53696         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
53697         * sysdeps/powerpc/bits/mathinline.h: ... here.
53699 2013-03-01  Roland McGrath  <roland@hack.frob.com>
53701         * elf/dl-hwcaps.c (_dl_important_hwcaps):
53702         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
53703         to just [NEED_DL_SYSINFO_DSO].
53704         * elf/dl-support.c: Likewise.
53705         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
53706         * elf/rtld.c (dl_main): Likewise.
53707         * elf/setup-vdso.h (setup_vdso): Likewise.
53708         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
53709         * sysdeps/unix/sysv/linux/dl-sysdep.c
53710         (_dl_discover_osversion): Likewise.
53712 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
53714         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
53715         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
53717 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
53719         * NEWS: Mention libm performance improvements and non-x86 PI
53720         futex support.
53722         * csu/libc-start.c (__pthread_initialize_minimal): Change
53723         function arguments.
53724         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
53726 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
53728         [BZ #13550]
53729         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
53730         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
53731         <bp-sym.h> and <bp-asm.h>.
53732         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
53733         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
53734         and <bp-asm.h>.
53735         (memcpy): Don't use BP_SYM.
53736         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
53737         <bp-asm.h>.
53738         (__mpn_add_n): Don't use BP_SYM.
53739         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
53740         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
53741         and <bp-asm.h>.
53742         (__mpn_addmul_1): Don't use BP_SYM.
53743         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
53744         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
53745         <bp-sym.h>.
53746         (_setjmp): Don't use BP_SYM.
53747         (__novmx_setjmp): Likewise.
53748         (__GI__setjmp): Likewise.
53749         (__vmx_setjmp): Likewise.
53750         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
53751         <bp-sym.h>.
53752         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
53753         (__bzero): Don't use BP_SYM.
53754         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
53755         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
53756         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
53757         <bp-sym.h> and <bp-asm.h>.
53758         (memcpy): Don't use BP_SYM.
53759         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
53760         <bp-sym.h> and <bp-asm.h>.
53761         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
53762         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
53763         <bp-sym.h> and <bp-asm.h>.
53764         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
53765         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
53766         <bp-asm.h>.
53767         (__mpn_lshift): Don't use BP_SYM.
53768         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
53769         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
53770         <bp-asm.h>.
53771         (memset): Don't use BP_SYM.
53772         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
53773         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
53774         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
53775         <bp-asm.h>.
53776         (__mpn_mul_1): Don't use BP_SYM.
53777         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
53778         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
53779         <bp-sym.h> and <bp-asm.h>.
53780         (memcmp): Don't use BP_SYM.
53781         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
53782         <bp-sym.h> and <bp-asm.h>.
53783         (memcpy): Don't use BP_SYM.
53784         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
53785         <bp-sym.h> and <bp-asm.h>.
53786         (memset): Don't use BP_SYM.
53787         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
53788         <bp-sym.h> and <bp-asm.h>.
53789         (strncmp): Don't use BP_SYM.
53790         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
53791         <bp-sym.h> and <bp-asm.h>.
53792         (memcpy): Don't use BP_SYM.
53793         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
53794         <bp-sym.h> and <bp-asm.h>.
53795         (memset): Don't use BP_SYM.
53796         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
53797         <bp-sym.h> and <bp-asm.h>.
53798         (__memchr): Don't use BP_SYM.
53799         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
53800         <bp-sym.h> and <bp-asm.h>.
53801         (memcmp): Don't use BP_SYM.
53802         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
53803         <bp-sym.h> and <bp-asm.h>.
53804         (memcpy): Don't use BP_SYM.
53805         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
53806         <bp-sym.h> and <bp-asm.h>.
53807         (__mempcpy): Don't use BP_SYM.
53808         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
53809         <bp-sym.h> and <bp-asm.h>.
53810         (__memrchr): Don't use BP_SYM.
53811         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
53812         <bp-sym.h> and <bp-asm.h>.
53813         (memset): Don't use BP_SYM.
53814         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
53815         <bp-sym.h> and <bp-asm.h>.
53816         (__rawmemchr): Don't use BP_SYM.
53817         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
53818         <bp-sym.h> and <bp-asm.h>.
53819         (__STRCMP): Don't use BP_SYM.
53820         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
53821         <bp-sym.h> and <bp-asm.h>.
53822         (strchr): Don't use BP_SYM.
53823         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
53824         <bp-sym.h> and <bp-asm.h>.
53825         (__strchrnul): Don't use BP_SYM.
53826         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
53827         <bp-sym.h> and <bp-asm.h>.
53828         (strlen): Don't use BP_SYM.
53829         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
53830         <bp-sym.h> and <bp-asm.h>.
53831         (strncmp): Don't use BP_SYM.
53832         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
53833         <bp-sym.h> and <bp-asm.h>.
53834         (__strnlen): Don't use BP_SYM.
53835         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
53836         <bp-asm.h>.
53837         (__mpn_rshift): Don't use BP_SYM.
53838         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
53839         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
53840         <bp-sym.h> and <bp-asm.h>.
53841         (__sigsetjmp): Don't use BP_SYM.
53842         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
53843         (L(start_addresses)): Don't use BP_SYM.
53844         (_start): Likewise.
53845         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
53846         <bp-asm.h>.
53847         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
53848         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
53849         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
53850         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
53851         <bp-asm.h>.
53852         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
53853         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
53854         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
53855         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
53856         <bp-asm.h>.
53857         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
53858         comments.
53859         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
53860         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
53861         <bp-asm.h>.
53862         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
53863         FIXME comments.
53864         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
53865         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
53866         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
53867         <bp-asm.h>.
53868         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
53869         comment.
53870         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
53871         and <bp-asm.h>.
53872         (strncmp): Don't use BP_SYM,
53873         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
53874         <bp-asm.h>.
53875         (__mpn_sub_n): Don't use BP_SYM.
53876         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
53877         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
53878         and <bp-asm.h>.
53879         (__mpn_submul_1): Don't use BP_SYM.
53880         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
53881         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
53882         <bp-sym.h> and <bp-asm.h>.
53883         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
53884         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
53885         <bp-sym.h> and <bp-asm.h>.
53886         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
53887         comment.
53889 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
53891         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
53892         Use ZK to minimize writes to Z.
53893         (sub_magnitudes): Simplify code a bit.
53894         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
53895         Use ZK to minimize writes to Z.
53896         (sub_magnitudes): Simplify code a bit.
53898 2013-02-27  Roland McGrath  <roland@hack.frob.com>
53900         * csu/gmon-start.c: Add special exception to license text.
53902 2013-02-27  Richard Henderson  <rth@redhat.com>
53904         * scripts/config.guess: Update from config.git.
53905         * scripts/config.sub: Likewise.
53907 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
53909         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
53911         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
53913         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
53915         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
53917         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
53919 2013-02-26  Roland McGrath  <roland@hack.frob.com>
53921         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
53922         [$(build-shared = yes].
53924 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
53926         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
53927         (__mul): Reduce iterations for calculating mantissa.
53929         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
53930         MPTWO.
53931         (__mpranred): Likewise.
53933         [BZ #15160]
53934         * malloc/memusagestat.c (main): Draw graphs for heap and stack
53935         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
53937 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
53939         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
53940         Define __attribute__.
53942 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
53944         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
53945         unused.
53946         * posix/regex_internal.h (__attribute): Remove.
53947         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
53948         (re_string_context_at): Likewise.
53949         (bitset_not): Use __attribute__ and mark function as possibly
53950         unused.
53951         (bitset_merge): Likewise.
53952         (bitset_mask): Likewise.
53953         (re_string_char_size_at): Likewise.
53954         (re_string_wchar_at): Likewise.
53955         (re_string_elem_size_at): Likewise.
53957 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
53959         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
53960         code.
53961         (cc32): Likewise.
53963         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
53964         (__acr): Likewise.
53965         (__cpy): Likewise.
53966         (norm): Likewise.
53967         (denorm): Likewise.
53968         (__dbl_mp): Likewise.
53969         (add_magnitudes): Likewise.
53970         (sub_magnitudes): Likewise.
53971         (__mul): Likewise.
53972         (__inv): Likewise.
53974         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
53975         style.
53977         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
53978         style.
53980         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
53981         code.
53983         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
53984         up changes with default code.
53985         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
53986         Likewise.
53988 2013-02-24  Allan McRae  <allan@archlinux.org>
53990         * manual/socket.texi (The Internet Namespace): Order menu items
53991         to match that in the file.
53993         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
53994         node listing of the info page menu.
53996 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
53998         [BZ #13550]
53999         * sysdeps/i386/bp-asm.h: Remove file.
54000         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
54001         (PARMS): Do not use macros from bp-asm.h.
54002         (S1): Likewise.
54003         (S2): Likewise.
54004         (SIZE): Likewise.
54005         (__mpn_add_n): Do not use BP_SYM
54006         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
54007         "bp-asm.h".
54008         (PARMS): Do not use macros from bp-asm.h.
54009         (S1): Likewise.
54010         (SIZE): Likewise.
54011         (__mpn_addmul_1): Do not use BP_SYM
54012         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
54013         "bp-asm.h".
54014         (PARMS): Do not use macros from bp-asm.h.
54015         (SIGMSK): Likewise.
54016         (_setjmp): Likewise.  Do not use BP_SYM.
54017         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
54018         "bp-asm.h".
54019         (PARMS): Do not use macros from bp-asm.h.
54020         (SIGMSK): Likewise.
54021         (setjmp): Likewise.  Do not use BP_SYM.
54022         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
54023         "bp-asm.h".
54024         (PARMS): Do not use macros from bp-asm.h.
54025         (__frexp): Do not use BP_SYM.
54026         (frexp): Likewise.
54027         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
54028         "bp-asm.h".
54029         (PARMS): Do not use macros from bp-asm.h.
54030         (__frexpf): Do not use BP_SYM.
54031         (frexpf): Likewise.
54032         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
54033         "bp-asm.h".
54034         (PARMS): Do not use macros from bp-asm.h.
54035         (__frexpl): Do not use BP_SYM.
54036         (frexpl): Likewise.
54037         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
54038         "bp-asm.h".
54039         (PARMS): Do not use macros from bp-asm.h.
54040         (__remquo): Do not use BP_SYM.
54041         (remquo): Likewise.
54042         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
54043         "bp-asm.h".
54044         (PARMS): Do not use macros from bp-asm.h.
54045         (__remquof): Do not use BP_SYM.
54046         (remquof): Likewise.
54047         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
54048         "bp-asm.h".
54049         (PARMS): Do not use macros from bp-asm.h.
54050         (__remquol): Do not use BP_SYM.
54051         (remquol): Likewise.
54052         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
54053         "bp-asm.h".
54054         (PARMS): Do not use macros from bp-asm.h.
54055         (DEST): Likewise.
54056         (SRC): Likewise.
54057         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
54058         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
54059         "bp-asm.h".
54060         (PARMS): Do not use macros from bp-asm.h.
54061         (strlen): Do not use BP_SYM.
54062         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
54063         "bp-asm.h".
54064         (PARMS): Do not use macros from bp-asm.h.
54065         (S1): Likewise.
54066         (S2): Likewise.
54067         (SIZE): Likewise.
54068         (__mpn_add_n): Do not use BP_SYM.
54069         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
54070         "bp-asm.h".
54071         (PARMS): Do not use macros from bp-asm.h.
54072         (S1): Likewise.
54073         (SIZE): Likewise.
54074         (__mpn_addmul_1): Do not use BP_SYM.
54075         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
54076         weak_alias.
54077         (bzero): Likewise.
54078         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
54079         "bp-asm.h".
54080         (PARMS): Do not use macros from bp-asm.h.
54081         (S): Likewise.
54082         (SIZE): Likewise.
54083         (__mpn_lshift): Do not use BP_SYM.
54084         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
54085         "bp-asm.h".
54086         (PARMS): Do not use macros from bp-asm.h.
54087         (DEST): Likewise.
54088         (SRC): Likewise.
54089         (LEN): Likewise.
54090         (memcpy): Likewise.  Do not use BP_SYM.
54091         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
54092         libc_hidden_def and weak_alias.
54093         (mempcpy): Do not use BP_SYM in weak_alias.
54094         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
54095         "bp-asm.h".
54096         (PARMS): Do not use macros from bp-asm.h.
54097         (DEST): Likewise.
54098         (LEN): Likewise.
54099         [!BZERO_P] (CHR): Likewise.
54100         (memset): Likewise.  Do not use BP_SYM.
54101         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
54102         "bp-asm.h".
54103         (PARMS): Do not use macros from bp-asm.h.
54104         (S1): Likewise.
54105         (SIZE): Likewise.
54106         (__mpn_mul_1): Do not use BP_SYM.
54107         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
54108         "bp-asm.h".
54109         (PARMS): Do not use macros from bp-asm.h.
54110         (S): Likewise.
54111         (SIZE): Likewise.
54112         (__mpn_rshift): Do not use BP_SYM.
54113         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
54114         "bp-asm.h".
54115         (PARMS): Do not use macros from bp-asm.h.
54116         (STR): Likewise.
54117         (CHR): Likewise.
54118         (strchr): Likewise.  Do not use BP_SYM.
54119         (index): Do not use BP_SYM in weak_alias.
54120         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
54121         "bp-asm.h".
54122         (PARMS): Do not use macros from bp-asm.h.
54123         (DEST): Likewise.
54124         (SRC): Likewise.
54125         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
54126         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
54127         "bp-asm.h".
54128         (PARMS): Do not use macros from bp-asm.h.
54129         (strlen): Do not use BP_SYM.
54130         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
54131         "bp-asm.h".
54132         (PARMS): Do not use macros from bp-asm.h.
54133         (S1): Likewise.
54134         (S2): Likewise.
54135         (SIZE): Likewise.
54136         (__mpn_sub_n): Do not use BP_SYM.
54137         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
54138         "bp-asm.h".
54139         (PARMS): Do not use macros from bp-asm.h.
54140         (S1): Likewise.
54141         (SIZE): Likewise.
54142         (__mpn_submul_1): Do not use BP_SYM.
54143         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
54144         "bp-asm.h".
54145         (PARMS): Do not use macros from bp-asm.h.
54146         (S1): Likewise.
54147         (S2): Likewise.
54148         (SIZE): Likewise.
54149         (__mpn_add_n): Do not use BP_SYM.
54150         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
54151         weak_alias.
54152         (bzero): Likewise.
54153         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
54154         "bp-asm.h".
54155         (PARMS): Do not use macros from bp-asm.h.
54156         (BLK2): Likewise.
54157         (LEN): Likewise.
54158         (memcmp): Do not use BP_SYM.
54159         (bcmp): Do not use BP_SYM in weak_alias.
54160         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
54161         "bp-asm.h".
54162         (PARMS): Do not use macros from bp-asm.h.
54163         (DEST): Likewise.
54164         (SRC): Likewise.
54165         (LEN): Likewise.
54166         (memcpy): Likewise.  Do not use BP_SYM.
54167         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
54168         "bp-asm.h".
54169         (PARMS): Do not use macros from bp-asm.h.
54170         (DEST): Likewise.
54171         (SRC): Likewise.
54172         (LEN): Likewise.
54173         (memmove): Likewise.  Do not use BP_SYM.
54174         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
54175         "bp-asm.h".
54176         (PARMS): Do not use macros from bp-asm.h.
54177         (DEST): Likewise.
54178         (SRC): Likewise.
54179         (LEN): Likewise.
54180         (__mempcpy): Likewise.  Do not use BP_SYM.
54181         (mempcpy): Do not use BP_SYM in weak_alias.
54182         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
54183         "bp-asm.h".
54184         (PARMS): Do not use macros from bp-asm.h.
54185         (DEST): Likewise.
54186         (LEN): Likewise.
54187         [!BZERO_P] (CHR): Likewise.
54188         (memset): Likewise.  Do not use BP_SYM.
54189         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
54190         "bp-asm.h".
54191         (PARMS): Do not use macros from bp-asm.h.
54192         (STR2): Likewise.
54193         (strcmp): Do not use BP_SYM.
54194         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
54195         "bp-asm.h".
54196         (PARMS): Do not use macros from bp-asm.h.
54197         (STR): Likewise.
54198         (DELIM): Likewise.
54199         [USE_AS_STRTOK_R] (SAVE): Likewise.
54200         (FUNCTION): Likewise.  Do not use BP_SYM.
54201         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
54202         aliases.
54203         (strtok_r): Likewise.
54204         (__GI___strtok_r): Likewise.
54205         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
54206         (PARMS): Do not use macros from bp-asm.h.
54207         (S): Likewise.
54208         (SIZE): Likewise.
54209         (__mpn_lshift): Do not use BP_SYM.
54210         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
54211         (PARMS): Do not use macros from bp-asm.h.
54212         (STR): Likewise.
54213         (CHR): Likewise.
54214         (__memchr): Do not use BP_SYM.
54215         (memchr): Do not use BP_SYM in weak_alias.
54216         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
54217         (PARMS): Do not use macros from bp-asm.h.
54218         (BLK2): Likewise.
54219         (LEN): Likewise.
54220         (memcmp): Do not use BP_SYM.
54221         (bcmp): Do not use BP_SYM in weak_alias.
54222         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
54223         (PARMS): Do not use macros from bp-asm.h.
54224         (S1): Likewise.
54225         (SIZE): Likewise.
54226         (__mpn_mul_1): Do not use BP_SYM.
54227         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
54228         "bp-asm.h".
54229         (PARMS): Do not use macros from bp-asm.h.
54230         (STR): Likewise.
54231         (CHR): Likewise.
54232         (__rawmemchr): Do not use BP_SYM.
54233         (rawmemchr): Do not use BP_SYM in weak_alias.
54234         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
54235         (PARMS): Do not use macros from bp-asm.h.
54236         (S): Likewise.
54237         (SIZE): Likewise.
54238         (__mpn_rshift): Do not use BP_SYM.
54239         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
54240         (PARMS): Do not use macros from bp-asm.h.
54241         (SIGMSK): Likewise.
54242         (__sigsetjmp): Likewise.  Do not use BP_SYM.
54243         * sysdeps/i386/start.S: Do not include "bp-sym.h".
54244         (_start): Do not use BP_SYM.
54245         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
54246         (PARMS): Do not use macros from bp-asm.h.
54247         (DEST): Likewise.
54248         (SRC): Likewise.
54249         (__stpcpy): Likewise.  Do not use BP_SYM.
54250         (stpcpy): Do not use BP_SYM in weak_alias.
54251         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
54252         "bp-asm.h".
54253         (PARMS): Do not use macros from bp-asm.h.
54254         (DEST): Likewise.
54255         (SRC): Likewise.
54256         (LEN): Likewise.
54257         (__stpncpy): Likewise.  Do not use BP_SYM.
54258         (stpncpy): Do not use BP_SYM in weak_alias.
54259         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
54260         (PARMS): Do not use macros from bp-asm.h.
54261         (STR): Likewise.
54262         (CHR): Likewise.
54263         (strchr): Likewise.  Do not use BP_SYM.
54264         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
54265         "bp-asm.h".
54266         (PARMS): Do not use macros from bp-asm.h.
54267         (STR): Likewise.
54268         (CHR): Likewise.
54269         (__strchrnul): Likewise.  Do not use BP_SYM.
54270         (strchrnul): Do not use BP_SYM in weak_alias.
54271         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
54272         "bp-asm.h".
54273         (PARMS): Do not use macros from bp-asm.h.
54274         (STOP): Likewise.
54275         (strcspn): Do not use BP_SYM.
54276         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
54277         "bp-asm.h".
54278         (PARMS): Do not use macros from bp-asm.h.
54279         (STR): Likewise.
54280         (STOP): Likewise.
54281         (strpbrk): Likewise.  Do not use BP_SYM.
54282         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
54283         "bp-asm.h".
54284         (PARMS): Do not use macros from bp-asm.h.
54285         (STR): Likewise.
54286         (CHR): Likewise.
54287         (strrchr): Likewise.  Do not use BP_SYM.
54288         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
54289         (PARMS): Do not use macros from bp-asm.h.
54290         (SKIP): Likewise.
54291         (strspn): Do not use BP_SYM.
54292         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
54293         (PARMS): Do not use macros from bp-asm.h.
54294         (STR): Likewise.
54295         (DELIM): Likewise.
54296         (SAVE): Likewise.
54297         (FUNCTION): Likewise.  Do not use BP_SYM.
54298         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
54299         aliases.
54300         (strtok_r): Likewise.
54301         (__GI___strtok_r): Likewise.
54302         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
54303         (PARMS): Do not use macros from bp-asm.h.
54304         (S1): Likewise.
54305         (S2): Likewise.
54306         (SIZE): Likewise.
54307         (__mpn_sub_n): Do not use BP_SYM.
54308         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
54309         "bp-asm.h".
54310         (PARMS): Do not use macros from bp-asm.h.
54311         (S1): Likewise.
54312         (SIZE): Likewise.
54313         (__mpn_submul_1): Do not use BP_SYM.
54314         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
54315         <bp-sym.h>.
54316         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
54317         and <bp-asm.h>.
54318         (PARMS): Do not use macros from bp-asm.h.
54319         (FLAGS): Likewise.
54320         (PTID): Likewise.
54321         (TLS): Likewise.
54322         (CTID): Likewise.
54323         (__clone): Do not use BP_SYM.
54324         (clone): Do not use BP_SYM in weak_alias.
54325         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
54326         and <bp-asm.h>.
54327         (PARMS): Do not use macros from bp-asm.h.
54328         (LEN): Likewise.
54329         (__mmap64): Do not use BP_SYM.
54330         (mmap64): Do not use BP_SYM in weak_alias.
54331         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
54332         <bp-sym.h> and <bp-asm.h>.
54333         (PARMS): Do not use macros from bp-asm.h.
54334         (__posix_fadvise64_l64): Do not use BP_SYM.
54335         * sysdeps/unix/sysv/linux/i386/semtimedop.S
54336         (PARMS): Do not use macros from bp-asm.h.
54337         (NSOPS): Likewise.
54338         (semtimedop): Do not use BP_SYM.
54339         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
54340         and <bp-asm.h>.
54342 2013-02-21  Allan McRae  <allan@archlinux.org>
54344         * manual/message.texi (Charset conversion in gettext):
54345         Move @end statement to beginning of line.
54347 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
54349         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
54350         static.
54351         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
54352         Likewise.
54354         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
54355         (denorm): Likewise.
54356         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
54357         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
54359 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54361         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
54362         tail-call to the resolved function if pltexit isn't needed.
54364 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
54366         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
54367         or Y being zero as being unlikely.
54368         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
54369         Likewise.
54371 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
54373         * manual/nss.texi (System Databases and Name Service Switch):
54374         Remove frobnicate @pxref.
54376 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
54378         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
54379         __attribute__ ((unused)) to __attribute__ ((__unused__)).
54381 2013-02-20  Petr Machata  <pmachata@redhat.com>
54383         * elf/elf.h (R_ARM_TARGET1): New macro.
54384         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
54385         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
54386         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
54387         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
54388         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
54389         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
54390         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
54391         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
54392         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
54393         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
54394         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
54395         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
54396         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
54397         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
54398         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
54399         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
54400         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
54401         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
54402         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
54403         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
54404         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
54405         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
54406         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
54407         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
54408         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
54409         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
54410         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
54411         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
54412         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
54413         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
54414         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
54415         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
54416         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
54417         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
54418         (R_ARM_THM_GOT_BREL12): Likewise.
54419         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
54420         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
54421         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
54422         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
54423         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
54424         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
54425         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
54426         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
54427         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
54429 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
54431         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
54432         __attribute_used__ to __attribute__ ((unused)).
54434 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
54436         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
54437         powerpc mpa.c.
54438         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
54439         comment formatting.
54440         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
54442 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
54444         [BZ #13550]
54445         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
54446         Remove macro.
54447         (ENTER): Remove both macro definitions.
54448         (LEAVE): Likewise.
54449         (CHECK_BOUNDS_LOW): Likewise.
54450         (CHECK_BOUNDS_HIGH): Likewise.
54451         (CHECK_BOUNDS_BOTH): Likewise.
54452         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
54453         (RETURN_BOUNDED_POINTER): Likewise.
54454         (RETURN_NULL_BOUNDED_POINTER): Likewise.
54455         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
54456         (POP_ERRNO_LOCATION_RETURN): Likewise.
54457         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
54458         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
54459         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
54460         macros.
54461         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54462         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
54463         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
54464         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
54465         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
54466         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
54467         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
54468         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
54469         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
54470         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
54471         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
54472         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
54473         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
54474         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
54475         removed macros.
54476         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54477         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
54478         macros.
54479         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
54480         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
54481         * sysdeps/i386/i586/memset.S (memset): Likewise.
54482         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
54483         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54484         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
54485         macros.
54486         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
54487         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
54488         Change uses of L(2) to L(out).
54489         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
54490         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
54491         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
54492         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
54493         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
54494         removed macros.
54495         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54496         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
54497         macros.
54498         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
54499         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
54500         (RETURN): Do not use macro LEAVE.
54501         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
54502         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
54503         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
54504         * sysdeps/i386/i686/memset.S (memset): Likewise.
54505         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
54506         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
54507         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
54508         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
54509         Likewise.
54510         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
54511         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
54512         L(1_2) and L(1_3) into L(1).
54513         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
54514         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
54515         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
54516         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
54517         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
54518         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
54519         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
54520         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54521         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
54522         macros.
54523         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
54524         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
54525         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
54526         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
54527         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
54528         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
54529         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
54530         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
54531         * sysdeps/i386/strcspn.S (strcspn): Likewise.
54532         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
54533         * sysdeps/i386/strrchr.S (strrchr): Likewise.
54534         * sysdeps/i386/strspn.S (strspn): Likewise.
54535         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
54536         conditional code.
54537         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
54538         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
54539         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
54540         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
54541         L(1_3) into L(1_1).
54542         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
54543         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
54544         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
54545         macros.
54546         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54548 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
54550         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
54551         macro.
54553 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
54555         * math/atest-exp.c (exp_mpn): Remove ROUND.
54556         * math/atest-exp2.c (exp_mpn): Likewise.
54557         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
54559         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
54560         * stdlib/tst-tls-atexit-lib.c: Likewise.
54561         * stdlib/tst-tls-atexit.c: Likewise.
54563 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
54565         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
54566         and __attribute_alloc_size__.
54568 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
54570         * include/programs/xmalloc.h: Change __attribute_alloc_size to
54571         __attribute_alloc_size__.
54572         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
54573         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
54575 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
54577         * include/programs/xmalloc.h: New file.
54578         * catgets/gencat.c: Include it.
54579         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
54580         * elf/pldd.c: Likewise.
54581         * iconv/iconv_charmap.c: Likewise.
54582         * iconv/iconvconfig.c: Likewise.
54583         * iconv/strtab.c: Likewise.
54584         * locale/programs/locale.c: Likewise.
54585         * locale/programs/localedef.h: Likewise.
54586         * locale/programs/simple-hash.c: Likewise.
54587         * nscd/nscd.h: Likewise.
54588         * nss/makedb.c: Likewise.
54589         * sysdeps/generic/ldconfig.h: Likewise.
54591 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
54593         * Versions.def: Add GLIBC_2.18.
54594         * include/link.h (struct link_map): New member l_tls_dtor_count.
54595         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
54596         (__call_tls_dtors): Likewise.
54597         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
54598         __cxa_thread_atexit_impl.
54599         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
54600         Likewise.
54601         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
54602         Likewise.
54603         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
54604         Likewise.
54605         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
54606         Likewise.
54607         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
54608         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
54609         Likewise.
54610         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
54611         Likewise.
54612         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
54613         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
54614         Likewise.
54615         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
54616         (tests): Add test case tst-tls-atexit.
54617         (modules-names): Add shared library for tst-tls-atexit.
54618         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
54619         (GLIBC_PRIVATE): Add __call_tls_dtors.
54620         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
54621         for libstdc++.
54622         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
54623         * stdlib/tst-tls-atexit.c: New test case.
54624         * stdlib/tst-tls-atexit-lib.c: New test case.
54626         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
54628         * elf/Versions (ld): Add _dl_find_dso_for_object.
54629         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
54630         * elf/dl-open.c (_dl_find_dso_for_object): New function.
54631         (dl_open_worker): Use _dl_find_dso_for_object.
54632         * elf/dl-sym.c (do_sym): Likewise.
54633         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
54635 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54637         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
54638         Syntactic changes only.
54639         (_dl_runtime_profile): Do a tail-call to the resolved function.
54641 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
54643         [BZ #13550]
54644         * sysdeps/x86_64/bp-asm.h: Remove file.
54645         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
54646         <bp-sym.h> and <bp-asm.h>.
54647         (__clone): Do not use BP_SYM.
54648         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
54649         <bp-sym.h> and <bp-asm.h>.
54650         * sysdeps/unix/x86_64/sysdep.S: Likewise.
54651         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
54652         "bp-asm.h".
54653         (_setjmp): Do not use BP_SYM.
54654         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
54655         "bp-asm.h".
54656         (setjmp): Do not use BP_SYM.
54657         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
54658         libc_hidden_def.
54659         (mempcpy): Do not use BP_SYM in weak_alias.
54660         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
54661         "bp-asm.h".
54662         (strchr): Do not use BP_SYM.
54663         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
54664         "bp-asm.h".
54665         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
54666         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
54667         (_start): Do not use BP_SYM.
54668         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
54669         "bp-asm.h".
54670         (strcat): Do not use BP_SYM.
54671         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
54672         "bp-asm.h".
54673         (STRCMP): Do not use BP_SYM.
54674         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
54675         "bp-asm.h".
54676         (STRCPY): Do not use BP_SYM.
54677         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
54678         "bp-asm.h".
54679         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
54680         "bp-asm.h".
54681         (FUNCTION): Do not use BP_SYM.
54682         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
54683         weak_alias.
54684         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
54686 2013-02-17  Andreas Jaeger  <aj@suse.de>
54688         * time/Versions: Sort entries.
54689         * string/Versions: Likewise.
54690         * resolv/Versions: Likewise.
54691         * posix/Versions: Likewise.
54692         * iconv/Versions: Likewise.
54693         * elf/Versions: Likewise.
54694         * wcsmbs/Versions: Likewise.
54696 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
54698         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
54699         loop termination condition.
54701         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
54702         variable to calculate EZ.
54703         (__sqr): Likewise.
54705         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
54706         the lower precision input.
54708 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
54710         [BZ #13550]
54711         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
54712         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
54713         (run-via-rtld-prefix): Do not handle %-bp tests.
54714         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
54715         (all-object-suffixes): Remove .ob.
54716         (bppfx): Remove variable.
54717         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
54718         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
54719         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
54720         [$(build-bounded) = yes] (libtype.ob): Likewise.
54721         * Makerules (elide-routines.ob): Remove variable.
54722         (do-tests-clean): Do not handle *-bp.out.
54723         (common-mostlyclean): Do not handle *-bp and *-bp.out.
54724         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
54725         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
54726         (tests): Do not include $(tests-bp.out).
54727         (xtests): Do not include $(xtests-bp.out).
54728         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
54729         [$(build-bounded) = yes] ($(addprefix
54730         $(objpfx),$(binaries-bounded))): Remove rule.
54731         ($(objpfx)%-bp.out): Remove rule.
54732         * config.make.in (build-bounded): Remove variable.
54733         * crypt/Makefile [$(build-bounded) = yes]
54734         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
54735         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
54736         append to variable.
54737         [$(build-bounded) = yes] (install-lib): Likewise.
54738         [$(build-bounded) = yes] (generated): Likewise.
54739         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
54740         Remove rule.
54741         * intl/Makefile [$(build-bounded) = yes]
54742         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
54743         * math/Makefile [$(build-bounded) = yes]
54744         ($(tests:%=$(objpfx)%-bp): Likewise.
54745         * misc/Makefile [$(build-bounded) = yes]
54746         ($(objpfx)tst-tsearch-bp): Likewise.
54747         * nptl/Makeconfig (bounded-thread-library): Remove variable.
54748         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
54749         Remove dependency.
54750         * string/Makefile (o-objects.ob): Remove variable.
54751         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
54752         (CFLAGS-.ob): Remove variable.
54753         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
54754         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
54755         both definitions of variable.
54756         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
54757         (ASFLAGS-.ob): Remove variable.
54759 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
54761         [BZ #13550]
54762         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
54763         Remove __BOUNDED_POINTERS__ from condition.
54764         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
54765         * string/bits/string2.h [!__NO_STRING_INLINES &&
54766         !__BOUNDED_POINTERS__]: Likewise.
54767         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
54768         Likewise.
54769         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
54770         Remove conditional code.
54771         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
54772         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
54773         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
54774         condition.
54776         [BZ #13550]
54777         * csu/libc-start.c: Do not include <bp-sym.h>.
54778         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
54779         * elf/dl-open.c: Do not include <bp-sym.h>.
54780         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
54781         * math/fegetenv.c: Do not include <bp-sym.h>.
54782         (fegetenv): Do not use BP_SYM in versioned symbols.
54783         * nptl/sysdeps/pthread/bits/libc-lockP.h
54784         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
54785         <bp-sym.h>.
54786         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54787         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
54788         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54789         (__pthread_mutex_destroy): Likewise.
54790         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54791         (__pthread_mutex_lock): Likewise.
54792         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54793         (__pthread_mutex_trylock): Likewise.
54794         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54795         (__pthread_mutex_unlock): Likewise.
54796         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54797         (__pthread_mutexattr_init): Likewise.
54798         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54799         (__pthread_mutexattr_destroy): Likewise.
54800         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54801         (__pthread_mutexattr_settype): Likewise.
54802         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54803         (__pthread_rwlock_init): Likewise.
54804         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54805         (__pthread_rwlock_destroy): Likewise.
54806         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54807         (__pthread_rwlock_rdlock): Likewise.
54808         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54809         (__pthread_rwlock_tryrdlock): Likewise.
54810         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54811         (__pthread_rwlock_wrlock): Likewise.
54812         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54813         (__pthread_rwlock_trywrlock): Likewise.
54814         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54815         (__pthread_rwlock_unlock): Likewise.
54816         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54817         (__pthread_key_create): Likewise.
54818         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54819         (__pthread_setspecific): Likewise.
54820         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54821         (__pthread_getspecific): Likewise.
54822         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
54823         Likewise.
54824         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54825         (_pthread_cleanup_push_defer): Likewise.
54826         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54827         (_pthread_cleanup_pop_restore): Likewise.
54828         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54829         (pthread_setcancelstate): Likewise.
54830         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
54831         <bp-sym.h>.
54832         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
54833         (memchr): Do not use BP_SYM in weak_alias.
54834         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
54835         (fegetenv): Do not use BP_SYM in versioned symbols.
54836         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
54837         (fesetenv): Do not use BP_SYM in versioned symbols.
54838         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
54839         (feupdateenv): Do not use BP_SYM in versioned symbols.
54840         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
54841         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
54842         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
54843         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
54844         (open64): Do not use BP_SYM in weak_alias.
54845         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
54846         (fegetenv): Do not use BP_SYM in versioned symbols.
54847         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
54848         (fesetenv): Do not use BP_SYM in versioned symbols.
54849         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
54850         (feupdateenv): Do not use BP_SYM in versioned symbols.
54851         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
54852         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
54853         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
54854         (feraiseexcept): Do not use BP_SYM in versioned symbols.
54855         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
54856         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
54857         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
54858         <bp-sym.h>.
54859         (__libc_start_main): Do not use BP_SYM.
54861 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
54863         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
54864         redundant return line.
54865         (norm): Likewise.
54866         (denorm): Likewise.
54867         (dbl_mp): Likewise.
54868         (sub_magnitudes): Likewise.
54869         (__add): Likewise.
54870         (__sub): Likewise.
54871         (__mul): Likewise.
54872         (__inv): Likewise.
54873         (__dvd): Likewise.
54874         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
54875         (norm): Likewise.
54876         (denorm): Likewise.
54877         (dbl_mp): Likewise.
54878         (sub_magnitudes): Likewise.
54879         (__add): Likewise.
54880         (__sub): Likewise.
54881         (__mul): Likewise.
54882         (__inv): Likewise.
54883         (__dvd): Likewise.
54885         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
54886         instead of __mul.
54887         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
54888         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
54889         (cc32): Likewise.
54891         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
54892         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
54893         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
54894         of __mul for squares.
54895         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
54896         function
54897         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
54898         Likewise.
54899         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
54900         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
54902 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
54904         [BZ #13550]
54905         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
54906         code.
54907         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
54908         prototype or function definition.  Rename ubp_* variables and
54909         parameters.  Remove argv definitions conditional on
54910         [__BOUNDED_POINTERS__].
54911         * debug/backtrace.c (__backtrace): Do not use __unbounded.
54912         * elf/dl-runtime.c (_dl_fixup): Likewise.
54913         * include/set-hooks.h (RUN_HOOK): Likewise.
54914         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
54915         definition.
54916         * string/strcpy.c (strcpy): Do not use __unbounded.
54917         * sysdeps/generic/frame.h (struct layout): Likewise.
54918         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
54919         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
54920         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
54921         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
54922         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
54923         (__backtrace): Likewise.
54924         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
54925         use __ptrvalue.
54926         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
54927         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
54928         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
54929         Likewise.
54930         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
54931         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
54932         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
54933         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
54934         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
54935         Do not use __unbounded.
54936         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
54937         Rename __unboundedrlimits parameter to rlimits in prototype.
54938         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
54939         Do not use __unbounded.
54940         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
54941         not use __ptrvalue.
54942         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
54943         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
54944         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
54945         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
54946         __ptrvalue or __unbounded.
54947         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
54948         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
54949         use __unbounded.
54950         (__new_msgctl): Do not use __ptrvalue.
54951         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
54952         __unbounded.
54953         (__libc_msgrcv): Do not use __ptrvalue.
54954         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
54955         startup_info): Do not use __unbounded.
54956         (__libc_start_main): Likewise.  Rename ubp_* variables and
54957         parameters.  Remove argv definitions conditional on
54958         [__BOUNDED_POINTERS__].
54959         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
54960         __ptrvalue.
54961         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
54962         use __unbounded.
54963         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
54964         or __ptrvalue.
54965         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
54966         use __unbounded.
54967         (__new_shmctl): Do not use __ptrvalue.
54968         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
54969         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
54970         Likewise.
54971         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
54972         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
54973         (__libc_sigaction): Likewise.
54974         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
54975         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
54976         Likewise.
54977         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
54979 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
54981         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
54983         * string/mempcpy.c: Implement by calling memcpy.
54985 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
54987         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
54989         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
54990         evaluation.
54992         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
54993         values in the mantissa.
54995         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
54996         minimize writes to Z.
54997         (sub_magnitudes): Simplify code a bit.
54999 2013-02-12  Roland McGrath  <roland@hack.frob.com>
55001         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
55002         from the message.  The linker prefixes all warnings with that already.
55004 2013-02-12  Andreas Schwab  <schwab@suse.de>
55006         [BZ #15078]
55007         * posix/regexec.c (extend_buffers): Add parameter min_len.
55008         (check_matching): Pass minimum needed length.
55009         (clean_state_log_if_needed): Likewise.
55010         (get_subexp): Likewise.
55011         * posix/Makefile (tests): Add bug-regex34.
55012         (bug-regex34-ENV): Define.
55013         * posix/bug-regex34.c: New file.
55015         [BZ #11561]
55016         * posix/regcomp.c (parse_bracket_exp): When looking up collating
55017         elements compare against the byte sequence of it, not its name.
55018         * posix/Makefile (tests): Add bug-regex35.
55019         (bug-regex35-ENV): Define.
55020         * posix/bug-regex35.c: New file.
55022 2013-02-11  Tom de Vries  <tom@codesourcery.com>
55024         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
55025         comment.
55026         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
55027         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
55028         (CHECK_EOL): Add undef.
55030 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
55032         * bits/stdlib-bsearch.h: New file.
55033         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
55034         * stdlib/stdlib.h: Likewise.
55036 2013-02-11  Roland McGrath  <roland@hack.frob.com>
55038         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
55039         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
55040         declaration.
55041         * manual/search.texi (Array Search Function): Add missing const in
55042         lfind prototype.
55043         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
55044         declaration to use rlim_t.
55045         (Basic Scheduling Functions): Remove erroneous const from
55046         sched_getparam prototype.  Remove erroneous * from
55047         sched_get_priority_max and sched_get_priority_min prototypes.
55048         (Resource Usage): Fix summary @comment on vtimes to refer to
55049         sys/vtimes.h rather than vtimes.h.
55050         Add missing *s in vtimes prototype.
55051         (Limits on Resources): Fix ulimit prototype to return long int.
55052         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
55053         prototypes to use long int rather than double.
55054         (BSD Random): Fix initstate and setstate to use char *, not void *.
55055         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
55056         prototype to make second argument 'struct aiocb64 *const[]'.
55057         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
55058         (Status of AIO Operations): Remove erroneous const in aio_return and
55059         aio_return64 prototypes.
55060         (Synchronizing I/O): Fix sync prototype to return void.
55061         * manual/startup.texi (Suboptions): Remove an erroneous const in
55062         getsubopt prototype.
55063         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
55064         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
55065         use size_t rather than int.
55066         (Scanning All Users): Likewise for getpwent_r.
55067         (Setting Groups): Add missing const to setgroups prototype.
55068         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
55069         * manual/socket.texi (Host Names): Fix gethostbyaddr and
55070         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
55071         'const void *' rather than 'const char *'.
55072         (Host Address Functions): Likewise for inet_ntop.
55073         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
55074         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
55075         ssize_t for return value.
55076         (Sending Data): Likewise for send, sendto, sendmsg.
55077         (Socket Option Functions): Add a missing const in setsockopt prototype.
55078         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
55079         use wchar_t for the argument.
55080         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
55081         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
55082         take no arguments.
55083         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
55084         double/float/long double for second argument.
55085         Fix return types of significand, significandf, significandl.
55086         * manual/filesys.texi (Setting Permissions): Use mode_t for second
55087         argument in fchmod prototype.
55088         (File Owner): Use uid_t and gid_t in fchown prototype.
55089         (File Times): Add const to utimes, futimes, and lutimes prototypes.
55090         (Making Special Files): Use mode_t and dev_t in mknod prototype.
55091         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
55092         use 'const struct dirent **' as argument types to CMP function pointer
55093         argument.
55094         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
55095         (File Times): Fix summary magic @comment for struct utimbuf and utime
55096         to refer to utime.h, not time.h.
55097         * manual/string.texi (Argz Functions): Add missing const in
55098         argz_extract and argz_next prototypes.
55099         (Finding Tokens in a String): Likewise for basename.
55100         (String/Array Comparison): Fix typo in wcscasecmp prototype.
55101         (Copying and Concatenation): Fix typo in wmemmove prototype.
55102         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
55103         (Signal Stack): Remove erroneous const in sigstack prototype.
55104         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
55105         prototype.
55106         (Simple Calendar Time): Likewise for stime.
55107         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
55108         prototype.
55109         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
55110         say sys/sysctl.h instead.
55111         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
55112         and vsyslog prototypes.
55114 2013-02-11  Tom de Vries  <tom@codesourcery.com>
55116         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
55117         Remove.
55119 2013-02-11  Roland McGrath  <roland@hack.frob.com>
55121         * misc/sys/mman.h: Fix typo in mremap comment.
55123 2013-02-08  Roland McGrath  <roland@hack.frob.com>
55125         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
55126         the '\0' terminator.
55128 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
55130         [BZ #13550]
55131         * debug/segfault.c: Don't include <bp-checks.h>.
55132         * sysdeps/generic/bp-checks.h: Remove file.
55133         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
55134         (__GETDENTS): Don't use CHECK_N.
55135         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
55136         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
55137         (__getgroups): Don't use CHECK_N.
55138         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
55139         (setgroups): Don't use CHECK_N.
55140         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
55141         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
55142         (__libc_msgrcv): Don't use CHECK_N.
55143         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
55144         (__libc_msgsnd): Don't use CHECK_N.
55145         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
55146         <bp-checks.h>.
55147         (__libc_pread): Don't use CHECK_N.
55148         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
55149         include <bp-checks.h>.
55150         (__libc_pread64): Don't use CHECK_N.
55151         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
55152         include <bp-checks.h>.
55153         (__libc_pwrite): Don't use CHECK_N.
55154         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
55155         include <bp-checks.h>.
55156         (__libc_pwrite64): Don't use CHECK_N.
55157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
55158         <bp-checks.h>.
55159         (__libc_pread): Don't use CHECK_N.
55160         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
55161         include <bp-checks.h>.
55162         (__libc_pread64): Don't use CHECK_N.
55163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
55164         include <bp-checks.h>.
55165         (__libc_pwrite): Don't use CHECK_N.
55166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
55167         include <bp-checks.h>.
55168         (__libc_pwrite64): Don't use CHECK_N.
55169         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
55170         (do_pread): Don't use CHECK_N.
55171         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
55172         (do_pread64): Don't use CHECK_N.
55173         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
55174         (do_pwrite): Don't use CHECK_N.
55175         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
55176         (do_pwrite64): Don't use CHECK_N.
55177         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
55178         (__libc_readv): Don't use CHECK_N.
55179         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
55180         (semop): Don't use CHECK_N.
55181         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
55182         <bp-checks.h>.
55183         (semtimedop): Don't use CHECK_N.
55184         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
55185         (__libc_pread): Don't use CHECK_N.
55186         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
55187         <bp-checks.h>.
55188         (__libc_pread64): Don't use CHECK_N.
55189         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
55190         <bp-checks.h>.
55191         (__libc_pwrite): Don't use CHECK_N.
55192         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
55193         <bp-checks.h>.
55194         (__libc_pwrite64): Don't use CHECK_N.
55195         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
55196         <bp-checks.h>.
55197         (__libc_msgrcv): Don't use CHECK_N.
55198         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
55199         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
55200         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
55201         (__libc_writev): Don't use CHECK_N.
55203 2013-02-08  Roland McGrath  <roland@hack.frob.com>
55205         * string/strcpy.c: Removed unused variable.
55207         * Makeconfig (+sysdep-includes): Define with := rather than =.
55208         Use an existing include/ subdir of each sysdeps dir before it.
55210 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
55212         * nscd/connection.c (register_traced_file): Comment function.
55213         [HAVE_INOTIFY] (union __inev): Define.
55214         [HAVE_INOTIFY] (inotify_check_files): New function.
55215         [HAVE_INOTIFY] (clear_db_cache): Likewise.
55216         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
55217         clear_db_cache.
55218         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
55220 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
55222         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
55223         loaded if not already and that a failure is permanent.
55225 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
55227         [BZ #15006]
55228         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
55229         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
55231 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
55233         [BZ #13550]
55234         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
55235         (CHECK_1_NULL_OK): Likewise.
55236         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
55237         (__fxstat): Do not use CHECK_1.
55238         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
55239         <bp-checks.h>.
55240         (___fxstat64): Do not use CHECK_1.
55241         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
55242         <bp-checks.h>.
55243         (__fxstatat): Do not use CHECK_1.
55244         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
55245         <bp-checks.h>.
55246         (__fxstatat64): Do not use CHECK_1.
55247         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
55248         <bp-checks.h>.
55249         (__fxstat): Do not use CHECK_1.
55250         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
55251         <bp-checks.h>.
55252         (__fxstatat): Do not use CHECK_1.
55253         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
55254         <bp-checks.h>.
55255         (__getresgid): Do not use CHECK_1.
55256         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
55257         <bp-checks.h>.
55258         (__getresuid): Do not use CHECK_1.
55259         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
55260         <bp-checks.h>.
55261         (__lxstat): Do not use CHECK_1.
55262         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
55263         <bp-checks.h>.
55264         (__old_msgctl): Do not use CHECK_1.
55265         (__new_msgctl): Likewise.
55266         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
55267         <bp-checks.h>.
55268         (__new_setrlimit): Do not use CHECK_1.
55269         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
55270         <bp-checks.h>.
55271         (__old_shmctl): Do not use CHECK_1.
55272         (__new_shmctl): Likewise.
55273         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
55274         <bp-checks.h>.
55275         (__xstat): Do not use CHECK_1.
55276         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
55277         (__lxstat): Do not use CHECK_1.
55278         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
55279         <bp-checks.h>.
55280         (___lxstat64): Do not use CHECK_1.
55281         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
55282         (__old_msgctl): Do not use CHECK_1.
55283         (__new_msgctl): Likewise.
55284         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
55285         <bp-checks.h>.
55286         (__gettimeofday): Do not use CHECK_1.
55287         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
55288         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
55289         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
55290         <bp-checks.h>.
55291         (__gettimeofday): Do not use CHECK_1.
55292         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
55293         (__old_shmctl): Do not use CHECK_1_NULL_OK.
55294         (__new_shmctl): Do not use CHECK_1.
55295         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
55296         <bp-checks.h>.
55297         (do_sigtimedwait): Do not use CHECK_1.
55298         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
55299         <bp-checks.h>.
55300         (do_sigwaitinfo): Do not use CHECK_1.
55301         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
55302         <bp-checks.h>.
55303         (msgctl): Do not use CHECK_1.
55304         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
55305         <bp-checks.h>.
55306         (shmctl): Do not use CHECK_1.
55307         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
55308         (ustat): Do not use CHECK_1.
55309         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
55310         <bp-checks.h>.
55311         (__fxstat): Do not use CHECK_1.
55312         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
55313         <bp-checks.h>.
55314         (__fxstatat): Do not use CHECK_1.
55315         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
55316         <bp-checks.h>.
55317         (__lxstat): Do not use CHECK_1.
55318         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
55319         <bp-checks.h>.
55320         (__xstat): Do not use CHECK_1.
55321         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
55322         (__xstat): Do not use CHECK_1.
55323         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
55324         (___xstat64): Do not use CHECK_1.
55326         [BZ #13550]
55327         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
55328         definitions.
55329         (CHECK_BOUNDS_HIGH): Likewise.
55330         * string/strcpy.c: Do not include <bp-checks.h>.
55331         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
55333 2013-02-07  Roland McGrath  <roland@hack.frob.com>
55335         * nscd/nscd-client.h (__nscd_drop_map_ref):
55336         Add __attribute__ ((unused)).
55337         * nis/nss-nisplus.h (niserr2nss): Likewise.
55339         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
55340         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
55342         * csu/libc-tls.c (init_static_tls, init_slotinfo):
55343         Remove inline keyword.
55344         * include/rounding-mode.h (round_away): Likewise.
55345         * libio/wfileops.c (adjust_wide_data): Likewise.
55346         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
55347         (__m128i_strloadu_tolower): Likewise.
55348         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
55349         (__m128i_strloadu_tolower): Likewise.
55350         * time/mktime.c (ydhms_diff): Likewise.
55351         * locale/elem-hash.h (elem_hash): Likewise.
55352         * locale/setlocale.c (setdata): Likewise.
55353         * posix/regex_internal.h (re_string_char_size_at): Likewise.
55354         (re_string_wchar_at): Likewise.
55355         (bitset_not, bitset_merge, bitset_mask): Likewise.
55356         [!(__GNUC__ > 3)] (inline): Remove macro.
55357         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
55358         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
55359         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
55360         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
55361         * string/memcmp.c (memcmp_bytes): Likewise.
55362         * locale/programs/locarchive.c (compute_hashval): Likewise.
55363         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
55364         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
55365         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
55366         * nss/getent.c (print_rpc, print_protocols): Likewise.
55367         (print_passwd, print_group, print_aliases): Likewise.
55368         * nis/nss-nisplus.h (niserr2nss): Likewise.
55369         * nscd/connections.c (restart_p): Likewise.
55370         Change return type to bool.
55372 2013-02-05  Roland McGrath  <roland@hack.frob.com>
55374         * Makeconfig (all-Depend-files): Add existing
55375         $(sorted-subdirs:=/Depend) files.
55376         (all-subdirs): Remove nss.
55377         * sysdeps/unix/inet/Subdirs: Add it here instead.
55378         * hesiod/Depend: New file.
55380         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
55381         instead of calling alloca.
55383         * io/lseek.c (__lseek): Rename to __libc_lseek.
55384         Define __lseek as an alias.
55386         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
55388 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
55390         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
55391         else clause and remove check for non-standard endianness.
55393 2013-02-04  David S. Miller  <davem@davemloft.net>
55395         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55397 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
55399         [BZ #13550]
55400         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
55401         (__ubp_memchr): Remove prototype.
55402         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
55403         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
55404         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
55405         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
55406         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
55407         Remove alias.
55408         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
55409         (__ubp_memchr): Likewise.
55410         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
55411         (__ubp_memchr): Likewise.
55412         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
55413         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
55414         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
55415         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
55416         CHECK_STRING.
55417         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
55418         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
55419         (__getcwd): Do not use CHECK_STRING.
55420         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
55421         <bp-checks.h>.
55422         (__real_chown): Do not use CHECK_STRING.
55423         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
55424         <bp-checks.h>.
55425         (fchownat): Do not use CHECK_STRING.
55426         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
55427         CHECK_STRING.
55428         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
55429         <bp-checks.h>.
55430         (__lchown): Do not use CHECK_STRING.
55431         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
55432         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
55433         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
55434         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
55435         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
55436         include <bp-checks.h>.
55437         (truncate64): Do not use CHECK_STRING.
55438         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
55439         <bp-checks.h>.
55440         (__real_chown): Do not use CHECK_STRING.
55441         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
55442         <bp-checks.h>.
55443         (__lchown): Do not use CHECK_STRING.
55444         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
55445         <bp-checks.h>.
55446         (__chown): Do not use CHECK_STRING.
55447         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
55448         <bp-checks.h>.
55449         (truncate64): Do not use CHECK_STRING.
55450         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
55451         Likewise.
55452         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
55453         (__xmknod): Do not use CHECK_STRING.
55454         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
55455         <bp-checks.h>.
55456         (__xmknodat): Do not use CHECK_STRING.
55457         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
55458         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
55460 2013-02-04  Andreas Schwab  <schwab@suse.de>
55462         [BZ #14142]
55463         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
55464         * include/netdb.h: Likewise for h_errno.
55465         * elf/tst-stackguard1.c: Include <tls.h>.
55467 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
55469         * elf/link.h (struct link_map): Extend the l_addr comment.
55470         * include/link.h (struct link_map): Likewise.
55472 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
55474         [BZ #13550]
55475         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
55476         (BOUNDED_1): Remove macro.
55477         * debug/backtrace.c: Don't include <bp-checks.h>.
55478         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
55479         (__backtrace): Likewise.
55480         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
55481         <bp-checks.h>.
55482         (__backtrace): Don't use BOUNDED_1.
55483         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
55484         <bp-checks.h>.
55485         (__backtrace): Don't use BOUNDED_1.
55486         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
55487         (__backtrace): Don't use BOUNDED_1.
55488         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
55489         (shmat): Don't use BOUNDED_N.
55491 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
55493         [BZ #13550]
55494         * sysdeps/generic/bp-start.h: Remove file.
55495         * csu/libc-start.c: Don't include <bp-start.h>.
55496         (LIBC_START_MAIN): Set up __environ directly instead of using
55497         INIT_ARGV_and_ENVIRON.
55498         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
55499         <bp-start.h>.
55501         [BZ #13550]
55502         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
55503         definitions.
55504         (CHECK_FCNTL): Likewise.
55505         (CHECK_N_PAGES): Likewise.
55507         [BZ #13550]
55508         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
55509         definitions.
55510         (CHECK_SIGSET_NULL_OK): Likewise.
55511         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
55512         <bp-checks.h>.
55513         (sigpending): Don't use CHECK_SIGSET.
55514         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
55515         <bp-checks.h>.
55516         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
55517         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
55518         <bp-checks.h>.
55519         (do_sigsuspend): Don't use CHECK_SIGSET.
55520         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
55521         use CHECK_SIGSET.
55522         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
55523         (do_sigwait): Don't use CHECK_SIGSET.
55524         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
55525         use CHECK_SIGSET.
55526         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
55527         include <bp-checks.h>.
55528         (sigpending): Don't use CHECK_SIGSET.
55529         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
55530         include <bp-checks.h>.
55531         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
55532         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
55533         <bp-checks.h>.
55534         (sigpending): Don't use CHECK_SIGSET.
55535         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
55536         <bp-checks.h>.
55537         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
55539         [BZ #13550]
55540         * sysdeps/generic/bp-semctl.h: Remove file.
55541         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
55542         <bp-checks.h> and <bp-semctl.h>.
55543         (__old_semctl): Don't use CHECK_SEMCTL.
55544         (__new_semctl): Likewise.
55545         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
55546         and <bp-semctl.h>.
55547         (__old_semctl): Don't use CHECK_SEMCTL.
55548         (__new_semctl): Likewise.
55549         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
55550         <bp-checks.h> and <bp-semctl.h>.
55551         (__old_semctl): Don't use CHECK_SEMCTL.
55552         (__new_semctl): Likewise.
55553         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
55554         <bp-checks.h> and <bp-semctl.h>.
55555         (semctl): Don't use CHECK_SEMCTL.
55557         [BZ #13550]
55558         * Makerules (elide-bp-thunks): Remove variable.
55559         (elide-routines.oS): Don't use $(elide-bp-thunks).
55560         (elide-routines.os): Likewise.
55561         (elide-routines.o): Likewise.
55562         (elide-routines.op): Likewise.
55563         (elide-routines.og): Likewise.
55564         (objects): Don't use $(bp-thunks).
55565         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
55566         include.
55567         (common-generated): Do not add s-proto-bp.d.
55568         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
55569         (int): Likewise.
55570         (typ): Likewise.
55571         Do not generate makefile rules for bounded-pointer thunks.
55572         * sysdeps/generic/bp-thunks.h: Remove file.
55573         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
55574         * sysdeps/unix/s-proto-bp.S: Likewise.
55576         [BZ #15062]
55577         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
55578         parts of result separately when argument is not close to line from
55579         -i to i and one part of argument is small.
55580         * math/k_casinhf.c (__kernel_casinhf): Likewise.
55581         * math/k_casinhl.c (__kernel_casinhl): Likewise.
55582         * math/libm-test.inc (cacos_test): Add more tests.
55583         (casin_test): Likewise.
55584         (casinh_test): Likewise.
55585         * sysdeps/i386/fpu/libm-test-ulps: Update.
55586         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55588 2013-01-31  David S. Miller  <davem@davemloft.net>
55590         * po/de.po: Update from translation team.
55592 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
55594         * time/tzfile.c: Include stdint.h for SIZE_MAX.
55596 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
55598         * configure.in (_AC_PROG_CC_C89): New definition.
55599         * configure: Regenerate.
55601         * configure.in (AC_PROG_CPP): New definition.
55602         * configure: Regenerate.
55604 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
55606         * debug/tst-backtrace.h: New file.
55607         * debug/tst-backtrace2.c: Include tst-backtrace.h.
55608         (ret): Remove variable.
55609         (x): Likewise.
55610         (FAIL): Remove macro.
55611         (NO_INLINE): Likewise.
55612         (fn1): Use match function instead of strstr.
55613         * debug/tst-backtrace3.c: Include tst-backtrace.h.
55614         (ret): Remove variable.
55615         (x): Likewise.
55616         (FAIL): Remove macro.
55617         (NO_INLINE): Likewise.
55618         (fn): Use match function instead of strstr.
55619         * debug/tst-backtrace4.c: Include tst-backtrace.h.
55620         (ret): Remove variable.
55621         (x): Likewise.
55622         (FAIL): Remove macro.
55623         (NO_INLINE): Likewise.
55624         (handle_signal): Use match function instead of strstr.
55625         * debug/tst-backtrace5.c: Include tst-backtrace.h.
55626         (ret): Remove variable.
55627         (x): Likewise.
55628         (FAIL): Remove macro.
55629         (NO_INLINE): Likewise.
55630         (handle_signal): Use match function instead of strstr.
55632 2013-01-23  Roland McGrath  <roland@hack.frob.com>
55634         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
55636 2013-01-23  David S. Miller  <davem@davemloft.net>
55638         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
55639         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
55640         argument of CAS if possible.
55641         * sysdeps/sparc/sparc64/bits/atomic.h
55642         (__arch_compare_and_exchange_val_32_acq): Likewise.
55643         (__arch_compare_and_exchange_val_64_acq): Likewise.
55645 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
55647         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
55648         * sysdeps/posix/ulimit.c: ... this.
55649         Include <limits.h>.
55650         * sysdeps/unix/bsd/ulimit.c: Remove file.
55652 2013-01-23  Adam Conrad  <adconrad@0c3.net>
55654         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
55655         (LDFLAGS-tst-array5): Likewise.
55657 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
55659         [BZ #15036]
55660         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
55661         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
55662         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
55663         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
55665 2013-01-21  David S. Miller  <davem@davemloft.net>
55667         * sysdeps/sparc/backtrace.c: New file.
55668         * sysdeps/sparc/sparc32/backtrace.h: New file.
55669         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
55670         * sysdeps/sparc/sparc64/backtrace.h: New file.
55671         * sysdeps/sparc/sparc64/backtrace.c: Delete.
55672         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
55673         -funwind-tables.
55675 2013-01-21  Andreas Schwab  <schwab@suse.de>
55677         [BZ #15020]
55678         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
55679         closed its stdout.
55681 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
55683         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
55684         "mpa2.h".
55685         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
55687 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
55688             Mark Mitchell  <mark@codesourcery.com>
55689             Tom de Vries  <tom@codesourcery.com>
55690             Paul Pluzhnikov  <ppluzhnikov@google.com>
55692         * debug/tst-backtrace2.c: New file.
55693         * debug/tst-backtrace3.c: Likewise.
55694         * debug/tst-backtrace4.c: Likewise.
55695         * debug/tst-backtrace5.c: Likewise.
55696         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
55697         (CFLAGS-tst-backtrace3.c): Likewise.
55698         (CFLAGS-tst-backtrace4.c): Likewise.
55699         (CFLAGS-tst-backtrace5.c): Likewise.
55700         (LDFLAGS-tst-backtrace2): Likewise.
55701         (LDFLAGS-tst-backtrace3): Likewise.
55702         (LDFLAGS-tst-backtrace4): Likewise.
55703         (LDFLAGS-tst-backtrace5): Likewise.
55704         (tests): Add new tests tst-backtrace2, tst-backtrace3,
55705         tst-backtrace4 and tst-backtrace5.
55707 2013-01-18  Anton Blanchard  <anton@samba.org>
55708             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
55710         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
55711         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
55712         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
55713         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
55714         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
55715         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
55716         "+r" and remove output regs list as redundant.  Add explicit inline
55717         asm to specify register of return val to work around compiler codegen
55718         bug.  Remove (int) cast on return value.  Add return type parameter to
55719         use in macro so that this macro does not truncate return value for
55720         64-bit values.
55721         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
55722         pass to INTERNAL_VSYSCALL_NCS.
55723         (INLINE_VSYSCALL): Add 'long int' as return type to
55724         INTERNAL_VSYSCALL_NCS macro invocation.
55725         (INTERNAL_VSYSCALL): Add 'long int' as return type to
55726         INTERNAL_VSYSCALL_NCS macro invocation.
55727         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
55729 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
55731         [BZ #14496]
55732         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
55733         Fix application of SIMD FP exception mask.
55735         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
55736         mp_no from a power of two.
55737         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
55738         __mpexp_twomm1.  Use __pow_mp.
55740         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
55741         multiplication.
55743 2013-01-17  David S. Miller  <davem@davemloft.net>
55745         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55747 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
55749         [BZ #15023]
55750         * include/complex.h: Condition contents on [!_COMPLEX_H].
55751         (__kernel_casinhf): New prototype.
55752         (__kernel_casinh): Likewise.
55753         (__kernel_casinhl): Likewise.
55754         * math/Makefile (libm_calls): Add k_casinh.
55755         * math/k_casinh.c: New file.
55756         * math/k_casinhf.c: Likewise.
55757         * math/k_casinhl.c: Likewise.
55758         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
55759         finite nonzero arguments.
55760         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
55761         finite nonzero arguments.
55762         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
55763         finite nonzero arguments.
55764         * math/s_casinh.c: Do not include <float.h>.
55765         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
55766         * math/s_casinhf.c: Do not include <float.h>.
55767         (__casinhf): Move code for finite nonzero arguments to
55768         k_casinhf.c.
55769         * math/s_casinhl.c: Do not include <float.h>.
55770         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
55771         redefine.
55772         (__casinhl): Move code for finite nonzero arguments to
55773         k_casinhl.c.
55774         * math/libm-test.inc (cacos_test): Add more tests.
55775         * sysdeps/i386/fpu/libm-test-ulps: Update.
55776         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55778 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
55780         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
55781         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
55782         [!HAVE_MREMAP]: Remove [defined linux] case.
55783         * malloc/arena.c: Do not include <malloc-sysdep.h>.
55785 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
55787         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
55789 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
55791         * elf/elf.h (R_386_SIZE32): New relocation.
55792         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
55793         R_386_SIZE32.
55794         (elf_machine_rela): Likewise.
55795         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
55796         R_X86_64_SIZE64 and R_X86_64_SIZE32.
55798 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
55800         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
55801         (FP_FAST_FMA): Do not define.
55802         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
55803         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
55804         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
55805         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
55806         !_SOFT_FLOAT]: Likewise.
55807         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
55808         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
55809         value.
55810         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
55811         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
55812         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
55813         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
55814         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
55815         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
55816         file.
55818 2013-01-16  Andreas Schwab  <schwab@suse.de>
55820         [BZ #14327]
55821         * include/stdlib.h (__mktemp): Add declaration.
55822         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
55823         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
55825 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
55827         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
55828         definitions.
55829         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
55830         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
55831         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
55832         definitions here.
55833         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
55834         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
55835         definitions.
55836         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
55837         and ONE.
55838         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
55839         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
55840         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
55841         definitions.
55842         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
55843         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
55844         definitions.
55845         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
55847         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
55849 2013-01-15  David S. Miller  <davem@davemloft.net>
55851         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
55852         trunc{,f} to libm-sysdep_routes.
55853         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
55854         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
55855         file.
55856         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
55857         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
55858         file.
55859         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
55860         file.
55861         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
55862         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
55863         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
55864         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
55865         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
55866         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
55867         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
55868         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
55870         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
55871         nearbyint{,f} to libm-sysdep_routes.
55872         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
55873         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
55874         New file.
55875         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
55876         file.
55877         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
55878         New file.
55879         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
55880         file.
55881         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
55882         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
55883         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
55884         file.
55885         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
55886         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
55887         file.
55888         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
55889         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
55890         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
55892         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
55893         libc_feholdexcept and libc_fesetenv.
55895 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
55897         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
55899 2013-01-14  David S. Miller  <davem@davemloft.net>
55901         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
55902         (SPARC_ASM_VIS2_IFUNC): Likewise.
55903         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
55904         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
55905         use of 'siam' instruction.
55906         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
55907         Likewise.
55908         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
55909         Likewise.
55910         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
55911         Likewise.
55912         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
55913         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
55914         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
55915         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
55916         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
55917         file.
55918         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
55919         file.
55920         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
55921         file.
55922         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
55923         file.
55924         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
55925         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
55926         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
55927         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
55928         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
55929         new VIS2 routines.
55930         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
55931         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
55932         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
55933         Likewise.
55934         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
55935         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
55936         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
55937         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
55938         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
55939         routines to libm-sysdep_routines.
55940         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
55942         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
55943         fdim/fdimf to libm-sysdep_routines.
55944         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
55945         file.
55946         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
55947         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
55948         file.
55949         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
55950         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
55951         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
55952         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
55953         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
55954         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
55955         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
55957 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
55959         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
55960         to optimize copies.
55962         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
55963         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
55964         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
55966         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
55967         local variable MPTWO.
55968         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
55969         Likewise.
55971 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
55973         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
55974         GLOB_NOESCAPE.
55976 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
55978         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
55980 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
55982         * manual/pattern.texi (glob_t): Document gl_flags.
55983         (glob64_t): Likewise.
55985 2013-01-11  David S. Miller  <davem@davemloft.net>
55987         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
55988         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
55989         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
55990         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
55991         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
55992         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
55993         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
55994         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
55995         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
55996         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
55997         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
55998         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
55999         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
56001         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
56002         sparc V9 rather than using V8 code.
56003         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
56004         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
56006         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
56007         Move to...
56008         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
56009         Here.
56011 2013-01-11  Roland McGrath  <roland@hack.frob.com>
56013         [BZ #14941]
56014         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
56015         not in the main loop.
56016         * configure: Regenerated.
56018 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
56020         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
56021         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
56022         to just #else.
56023         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
56024         [!__GLIBC_HAVE_LONG_LONG] case.
56025         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
56026         condition to just #else.
56027         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
56028         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
56029         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
56030         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
56031         unconditional.
56032         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
56033         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
56034         #elif condition to just #else.
56035         * sysdeps/unix/sysv/linux/sys/sysmacros.h
56036         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
56037         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
56038         #elif condition to just #else.
56040 2013-01-11  Steve Ellcey  <sellcey@mips.com>
56042         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
56043         (EF_MIPS_ARCH_64): Fix value.
56044         (EF_MIPS_ARCH_32R2): New.
56045         (EF_MIPS_ARCH_64R2): New.
56047 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
56049         * Makeconfig (+link-pie-before-libc): New.
56050         (+link-pie-after-libc): Likewise.
56051         (+link-pie-tests): Likewise.
56052         (+link-pie): Rewritten.
56053         (link-before-libc): Remove $(config-LDFLAGS).
56054         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
56055         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
56056         (config-LDFLAGS): Renamed to ...
56057         (rtld-LDFLAGS): This.
56058         (rtld-tests-LDFLAGS): New macro.
56059         (link-libc-rpath-link): Likewise.
56060         (link-libc-tests-rpath-link): Likewise.
56061         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
56062         (link-libc): Prepand $(link-libc-rpath-link).
56063         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
56064         (test-program-prefix): New macro.
56065         (test-via-rtld-prefix): Likewise.
56066         (test-program-cmd): Likewise.
56067         (host-test-program-cmd): Likewise.
56068         * Makefile ($(common-objpfx)testrun.sh): Replace
56069         $(run-program-prefix) with $(test-program-prefix).
56070         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
56071         $(rtld-LDFLAGS).
56072         ($(common-objpfx)shlib.lds): Likewise.
56073         (build-module-helper): Likewise.
56074         ($(common-objpfx)format.lds): Likewise.
56075         * Rules (binaries-pie-tests): New.
56076         (binaries-pie-notests): Likewise.
56077         (binaries-pie): Rewritten.
56078         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
56079         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
56080         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
56081         (make-test-out): Replace $(host-built-program-cmd) with
56082         $(host-test-program-cmd).
56083         * config.make.in (build-hardcoded-path-in-tests): New variable.
56084         * configure.in (--enable-hardcoded-path-in-tests): New configure
56085         option.
56086         (hardcoded_path_in_tests): New AC_SUBST.
56087         * configure: Regenerated.
56088         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
56089         $(built-program-cmd) with $(test-program-cmd).
56090         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
56091         (test_program_cmd): This.
56092         * elf/Makefile ($(objpfx)order.out): Run test with
56093         $(test-program-prefix).
56094         ($(objpfx)order2.out): Likewise.
56095         ($(objpfx)tst-initorder.out): Likewise.
56096         ($(objpfx)tst-initorder2.out): Likewise.
56097         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
56098         $(test-program-cmd).
56099         ($(objpfx)tst-array1-static.out): Likewise.
56100         ($(objpfx)tst-array2.out): Likewise.
56101         ($(objpfx)tst-array3.out): Likewise.
56102         ($(objpfx)tst-array4.out): Likewise.
56103         ($(objpfx)tst-array5.out): Likewise.
56104         ($(objpfx)tst-array5-static.out): Likewise.
56105         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
56106         $(test-program-cmd).
56107         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
56108         $(run-program-prefix) with $(test-program-prefix).
56109         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
56110         (test_program_prefix): This.
56111         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
56112         $(run-program-prefix) with $(test-program-prefix).
56113         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
56114         (test_program_prefix): This.
56115         * iconvdata/tst-tables.sh: Likewise.
56116         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
56117         $(run-program-prefix) with $(test-program-prefix).
56118         ($(objpfx)tst-translit.out): Likewise.
56119         ($(objpfx)tst-gettext2.out): Likewise.
56120         ($(objpfx)tst-gettext4.out): Likewise.
56121         ($(objpfx)tst-gettext6.out): Likewise.
56122         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
56123         (test_program_prefix): This.
56124         * intl/tst-gettext2.sh: Likewise.
56125         * intl/tst-gettext4.sh  Likewise.
56126         * intl/tst-gettext6.sh: Likewise.
56127         * intl/tst-translit.sh: Likewise.
56128         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
56129         with $(test-program-cmd).
56130         * libio/Makefile ($(objpfx)test-freopen.out): Replace
56131         $(run-program-prefix) with $(test-program-prefix).
56132         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
56133         (test_program_prefix): This.
56134         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
56135         $(run-program-prefix) with $(test-program-prefix).
56136         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
56137         (test_program_prefix): This.
56138         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
56139         * posix/Makefile ($(objpfx)globtest.out): Replace
56140         $(run-via-rtld-prefix) and $(test-wrapper) with
56141         $(test-program-prefix) and $(test-via-rtld-prefix).
56142         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
56143         $(test-program-prefix).
56144         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
56145         $(host-test-program-cmd).
56146         (tst-spawn-ARGS): Likewise.
56147         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
56148         $(test-program-prefix).
56149         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
56150         (test_via_rtld_prefix): This.
56151         (test_wrapper): Renamed to ...
56152         (test_program_prefix): This.
56153         (run_program_prefix): Replaced by test_program_prefix.
56154         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
56155         (test_program_prefix): This.
56156         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
56157         with $(host-test-program-cmd).
56158         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
56159         $(run-program-prefix) with $(test-program-prefix).
56160         ($(objpfx)tst-printf.out): Likewise.
56161         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
56162         $(test-program-cmd).
56163         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
56164         (test_program_prefix): This.
56165         * stdio-common/tst-unbputc.sh: Likewise.
56166         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
56167         $(run-program-prefix) with $(test-program-prefix).
56168         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
56169         (test_program_prefix): This.
56170         * string/Makefile ($(objpfx)tst-svc.out):  Replace
56171         $(built-program-cmd) with $(test-program-cmd).
56173 2013-01-11  Andreas Jaeger  <aj@suse.de>
56175         [BZ #15003]
56176         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
56177         value. Sync with Linux 3.7.
56179 2013-01-10  David S. Miller  <davem@davemloft.net>
56181         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
56182         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
56183         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
56185 2013-01-10  Roland McGrath  <roland@hack.frob.com>
56187         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
56188         never set.
56189         * configure: Regenerated.
56191 2013-01-10  David S. Miller  <davem@davemloft.net>
56193         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
56194         sparc V9 rather than using V8 code.
56195         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
56196         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
56198 2013-01-10  Roland McGrath  <roland@hack.frob.com>
56200         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
56201         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
56202         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
56203         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
56204         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
56205         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
56206         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
56207         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
56208         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
56209         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
56210         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
56211         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
56212         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
56213         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
56214         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
56215         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
56216         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
56217         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
56218         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
56219         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
56220         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
56221         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
56222         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
56223         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
56224         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
56225         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
56226         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
56228 2013-01-10  David S. Miller  <davem@davemloft.net>
56230         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56232 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
56234         * posix/Makefile (tests-static): New variable.
56235         (tests): Add $(tests-static).
56236         (tst-exec-static-ARGS): New variable.
56237         (tst-spawn-static-ARGS): Likewise.
56238         * posix/tst-exec-static.c: New file.
56239         * posix/tst-spawn-static.c: Likewise.
56240         * posix/tst-exec.c: Support run directly.
56241         * posix/tst-spawn.c: Likewise.
56243 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
56245         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
56246         long.
56247         * math/bits/mathcalls.h (llrint): Likewise.
56248         (llround): Likewise.
56249         * stdlib/stdlib.h (struct drand48_data): Likewise.
56250         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
56251         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
56252         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
56253         Likewise.
56254         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
56255         Likewise.
56256         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
56257         (elf_greg_t): Likewise.
56258         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
56259         (__jmp_buf): Likewise.
56260         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
56261         definitions.
56262         (llrint): Likewise, for all definitions.
56263         (llrintl): Likewise.
56265         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
56266         Remove [__GNUC__] condition.
56267         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
56268         condition to just [__USE_ISOC99].
56269         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
56271 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
56273         [BZ #14200]
56274         * sysdeps/unix/sysv/linux/x86/bits/environments.h
56275         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
56276         defined.
56277         (_POSIX_V6_ILP32_OFF32): Likewise.
56278         (_XBS5_ILP32_OFF32): Likewise.
56279         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
56280         (__ILP32_OFFBIG_LDFLAGS): Likewise.
56282 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
56284         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
56286         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
56287         doubles __mpexp_twomm1.  Adjust usage.
56288         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
56289         Remove.
56291 2013-01-10  Andreas Schwab  <schwab@suse.de>
56293         [BZ #14964]
56294         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
56295         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
56297 2013-01-09  David S. Miller  <davem@davemloft.net>
56299         [BZ #15003]
56300         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
56301         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
56302         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
56303         (TCP_FASTOPEN): Define.
56304         (tcp_repair_opt): New structure.
56305         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
56306         enum values.
56307         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
56308         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
56309         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
56310         (tcp_cookie_transactions): New structure.
56312 2013-01-09  Anton Blanchard  <anton@samba.org>
56314         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
56315         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
56316         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
56317         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
56319 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
56321         * include/features.h (__USE_ANSI): Remove.
56323 2013-01-09  Roland McGrath  <roland@hack.frob.com>
56325         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
56327         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
56329 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
56331         * sysdeps/s390/fpu/libm-test-ulps: Update.
56333         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56335         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
56336         (__acr): Likewise.
56337         (__cpy): Likewise.
56338         (norm): Likewise.
56339         (denorm): Likewise.
56340         (__mp_dbl): Likewise.
56341         (__dbl_mp): Likewise.
56342         (add_magnitudes): Likewise.
56343         (sub_magnitudes): Likewise.
56344         (__add): Likewise.
56345         (__sub): Likewise.
56346         (__mul): Likewise.
56347         (__inv): Likewise.
56348         (__dvd): Likewise.
56349         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
56350         (__acr): Likewise.
56351         (__cpy): Likewise.
56352         (norm): Likewise.
56353         (denorm): Likewise.
56354         (__mp_dbl): Likewise.
56355         (__dbl_mp): Likewise.
56356         (add_magnitudes): Likewise.
56357         (sub_magnitudes): Likewise.
56358         (__add): Likewise.
56359         (__sub): Likewise.
56360         (__mul): Likewise.
56361         (__inv): Likewise.
56362         (__dvd): Likewise.
56363         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
56364         (__acr): Likewise.
56365         (__cpy): Likewise.
56366         (norm): Likewise.
56367         (denorm): Likewise.
56368         (__mp_dbl): Likewise.
56369         (__dbl_mp): Likewise.
56370         (add_magnitudes): Likewise.
56371         (sub_magnitudes): Likewise.
56372         (__add): Likewise.
56373         (__sub): Likewise.
56374         (__mul): Likewise.
56375         (__inv): Likewise.
56376         (__dvd): Likewise.
56378 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
56380         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
56381         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
56382         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
56383         2 && __USE_EXTERN_INLINES]: Likewise.
56385 2013-01-08  Andreas Jaeger  <aj@suse.de>
56387         [BZ# 14985]
56388         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
56389         Remove.
56390         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
56391         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
56393 2013-01-07  Anton Blanchard  <anton@samba.org>
56395         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
56396         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
56397         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
56398         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
56399         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
56400         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
56401         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
56402         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
56403         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
56404         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
56405         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
56406         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
56407         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
56408         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
56409         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
56410         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
56411         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
56412         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
56413         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
56414         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
56415         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
56416         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
56417         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
56418         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
56419         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
56420         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
56421         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
56422         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
56423         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
56424         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
56425         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
56426         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
56427         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
56428         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
56429         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
56430         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
56431         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
56432         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
56433         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
56434         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
56435         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
56436         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
56437         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
56439 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
56441         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
56442         (__MALLOC_PMT): Likewise.
56443         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
56444         [__GNUC__], only on [_LIBC].
56445         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
56446         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
56447         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
56448         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
56449         forward declaration.
56450         (realloc_hook_ini): Likewise.
56451         (memalign_hook_ini): Likewise.
56452         (__libc_memalign): Do not use __MALLOC_PMT in variable
56453         declaration.
56454         (__libc_valloc): Likewise.
56455         (__libc_pvalloc): Likewise.
56456         (__libc_calloc): Likewise.
56457         (__posix_memalign): Likewise.
56459         [BZ #14996]
56460         * math/s_casinh.c: Include <float.h>.
56461         (__casinh): Do not do computation with squaring and square root
56462         for large arguments.
56463         * math/s_casinhf.c: Include <float.h>.
56464         (__casinhf): Do not do computation with squaring and square root
56465         for large arguments.
56466         * math/s_casinhl.c: Include <float.h>.
56467         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
56468         (__casinhl): Do not do computation with squaring and square root
56469         for large arguments.
56470         * math/libm-test.inc (casin_test): Add more tests.
56471         (casinh_test): Likewise.
56472         * sysdeps/i386/fpu/libm-test-ulps: Update.
56473         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56475 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
56477         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
56478         (__x86_64_raw_data_cache_size): Likewise.
56479         (__x86_64_data_cache_size_half): Likewise.
56480         (__x86_64_raw_data_cache_size_half): Likewise.
56481         (__x86_64_shared_cache_size): Likewise.
56482         (__x86_64_raw_shared_cache_size): Likewise.
56483         (__x86_64_shared_cache_size_half): Likewise.
56484         (__x86_64_raw_shared_cache_size_half): Likewise.
56485         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
56486         to ...
56487         (__x86_data_cache_size): This.
56488         (__x86_64_raw_data_cache_size): Renamed to ...
56489         (__x86_raw_data_cache_size): This.
56490         (__x86_64_data_cache_size_half): Renamed to ...
56491         (__x86_data_cache_size_half): This.
56492         (__x86_64_raw_data_cache_size_half): Renamed to ...
56493         (__x86_raw_data_cache_size_half): This.
56494         (__x86_64_shared_cache_size): Renamed to ...
56495         (__x86_shared_cache_size): This.
56496         (__x86_64_raw_shared_cache_size): Renamed to ...
56497         (__x86_raw_shared_cache_size): This.
56498         (__x86_64_shared_cache_size_half): Renamed to ...
56499         (__x86_shared_cache_size_half): This.
56500         (__x86_64_raw_shared_cache_size_half): Renamed to ...
56501         (__x86_raw_shared_cache_size_half): This.
56502         * sysdeps/x86_64/memcpy.S: Updated.
56503         * sysdeps/x86_64/memset.S: Likewise.
56504         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
56505         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
56506         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
56508 2013-01-04  David S. Miller  <davem@davemloft.net>
56510         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56512 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
56514         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
56515         1 to avoid redefinition warning.
56516         (__USE_GNU): Don't define.
56517         (init_signaling_nan): Protoize.
56519         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56521 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
56523         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
56524         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
56525         (__cpymn): Likewise.
56526         (norm): Remove commented code.
56527         (denorm): Likewise.
56528         (__mp_dbl): Likewise.
56529         (__inv): Likewise.
56530         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
56531         (__cpymn): Likewise.
56532         (norm): Remove commented code.
56533         (denorm): Likewise.
56534         (__mp_dbl): Likewise.
56535         (__inv): Likewise.
56537         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
56538         mp_no value for 1.0 and 2.0.
56539         (norm): Use RADIXI instead of radixi.d.
56540         (denorm): Likewise.
56541         (__mul): Use 0.0 instead of zero.d.
56542         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
56543         mp_no value for 1.0 and 2.0.
56544         (norm): Use RADIXI instead of radixi.d.
56545         (denorm): Likewise.
56546         (__mul): Use 0.0 instead of zero.d.
56548 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
56550         [BZ #14994]
56551         * math/s_casinh.c (__casinh): Reduce finite argument to first
56552         quadrant then set signs of results at the end.
56553         * math/s_casinhf.c (__casinhf): Likewise.
56554         * math/s_casinhl.c (__casinhl): Likewise.
56555         * math/libm-test.inc (casin_test): Add more tests.
56556         (casinh_test): Likewise.
56557         * sysdeps/i386/fpu/libm-test-ulps: Update.
56558         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56560 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
56562         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
56564         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
56566         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
56567         declarations.
56568         (denorm): Likewise.
56569         (__mp_dbl): Likewise.
56570         (__inv): Likewise.
56572         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
56573         and adjust the header comment.
56575         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
56576         variable name from declaration.
56578 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
56580         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56581         Initialize COMMON_CPUID_INDEX_7 element.
56582         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
56583         (CPUID_RTM): Likewise.
56584         (HAS_RTM): Likewise.
56585         (COMMON_CPUID_INDEX_7): New enum.
56587 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
56589         [BZ #14981]
56590         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
56591         size is zero, record memory as freed.
56593 2013-01-03  Andreas Jaeger  <aj@suse.de>
56595         * po/ia.po: Add new Interlingua translation.
56597 2012-01-03  Allan McRae  <allan@archlinux.org>
56599         * locale/programs/localedef.c: Fix description of '--posix' flag.
56601 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
56603         * NEWS: Update dates in second copyright notice.
56604         * README: Update copyright dates in example.
56605         * manual/libc.texinfo: Update copyright dates.
56606         * scripts/test-installation.pl: Update copyright date in --version
56607         output.
56609         * hurd/ctty-input.c: Fix copyright notice formatting.
56610         * hurd/ctty-output.c: Likewise.
56611         * hurd/dtable.c: Likewise.
56612         * hurd/hurd-raise.c: Likewise.
56613         * hurd/hurdprio.c: Likewise.
56614         * hurd/msgportdemux.c: Likewise.
56615         * misc/sys/file.h: Likewise.
56616         * misc/sys/ioctl.h: Likewise.
56617         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
56618         * sysdeps/mach/hurd/chdir.c: Likewise.
56619         * sysdeps/mach/hurd/fchdir.c: Likewise.
56620         * sysdeps/mach/hurd/rename.c: Likewise.
56621         * sysdeps/mach/hurd/rmdir.c: Likewise.
56622         * sysdeps/mach/hurd/seekdir.c: Likewise.
56623         * sysdeps/mach/hurd/setsid.c: Likewise.
56624         * sysdeps/posix/wait3.c: Likewise.
56626         * All files with FSF copyright notices: Update copyright dates
56627         using scripts/update-copyrights.
56628         * intl/plural.c: Regenerated.
56629         * locale/programs/charmap-kw.h: Likewise.
56630         * locale/programs/locfile-kw.h: Likewise.
56632 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
56634         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
56635         four values.
56637         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
56638         calculation loop and add branch prediction.
56640         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
56641         check access beyond bounds of m1np.
56643         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
56644         MPTWO.
56645         (__inv): Remove local variable MPTWO to use the global
56646         constant.
56647         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
56648         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
56649         variable MPTWO.
56650         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
56651         MP3HALFS static const.
56653 2013-01-01  David S. Miller  <davem@davemloft.net>
56655         * po/ca.po: Update from translation team.
56657 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
56659         * scripts/update-copyrights: New file.
56660         * Makeconfig: Reformat copyright notice.
56661         * ctype/ctype.h: Likewise.
56662         * debug/swprintf_chk.c: Likewise.
56663         * elf/dl-cache.c: Likewise.
56664         * elf/dl-debug.c: Likewise.
56665         * elf/dl-object.c: Likewise.
56666         * grp/initgroups.c: Likewise.
56667         * hurd/Makefile: Likewise.
56668         * hurd/hurd/signal.h: Likewise.
56669         * hurd/hurdfault.c: Likewise.
56670         * hurd/hurdioctl.c: Likewise.
56671         * hurd/hurdlookup.c: Likewise.
56672         * hurd/intr-msg.c: Likewise.
56673         * iconv/gconv_open.c: Likewise.
56674         * libio/swprintf.c: Likewise.
56675         * locale/lc-ctype.c: Likewise.
56676         * locale/nl_langinfo.c: Likewise.
56677         * mach/Machrules: Likewise.
56678         * mach/Makefile: Likewise.
56679         * malloc/obstack.h: Likewise.
56680         * manual/Makefile: Likewise.
56681         * manual/tsort.awk: Likewise.
56682         * misc/bits/stab.def: Likewise.
56683         * nis/nis_print_group_entry.c: Likewise.
56684         * nis/nis_table.c: Likewise.
56685         * nis/nss_compat/compat-pwd.c: Likewise.
56686         * nis/nss_compat/compat-spwd.c: Likewise.
56687         * po/Makefile: Likewise.
56688         * posix/fnmatch.c: Likewise.
56689         * posix/regex.h: Likewise.
56690         * resolv/Makefile: Likewise.
56691         * resolv/nss_dns/dns-network.c: Likewise.
56692         * resolv/res_hconf.c: Likewise.
56693         * scripts/gen-sorted.awk: Likewise.
56694         * soft-fp/soft-fp.h: Likewise.
56695         * stdio-common/printf.h: Likewise.
56696         * stdlib/monetary.h: Likewise.
56697         * stdlib/random.c: Likewise.
56698         * stdlib/random_r.c: Likewise.
56699         * sysdeps/generic/Makefile: Likewise.
56700         * sysdeps/gnu/Makefile: Likewise.
56701         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
56702         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56703         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
56704         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56705         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
56706         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56707         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56708         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
56709         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
56710         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56711         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
56712         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
56713         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
56714         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
56715         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
56716         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
56717         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
56718         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
56719         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
56720         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56721         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
56722         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
56723         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
56724         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
56725         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
56726         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
56727         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
56728         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
56729         * sysdeps/mach/hurd/errnos.awk: Likewise.
56730         * sysdeps/mach/hurd/fork.c: Likewise.
56731         * sysdeps/mach/hurd/getcwd.c: Likewise.
56732         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
56733         * sysdeps/mach/hurd/mmap.c: Likewise.
56734         * sysdeps/mach/hurd/utimes.c: Likewise.
56735         * sysdeps/mach/hurd/xmknod.c: Likewise.
56736         * sysdeps/posix/profil.c: Likewise.
56737         * sysdeps/posix/readdir_r.c: Likewise.
56738         * sysdeps/powerpc/bits/mathdef.h: Likewise.
56739         * sysdeps/powerpc/bits/setjmp.h: Likewise.
56740         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
56741         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
56742         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
56743         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
56744         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
56745         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
56746         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
56747         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
56748         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
56749         * sysdeps/pthread/lio_listio.c: Likewise.
56750         * sysdeps/sparc/dl-procinfo.h: Likewise.
56751         * sysdeps/unix/i386/sysdep.S: Likewise.
56752         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
56753         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
56754         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
56755         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
56756         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
56757         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
56758         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
56759         * sysdeps/unix/sysv/linux/speed.c: Likewise.
56760         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
56761         * sysdeps/wordsize-32/divdi3.c: Likewise.
56762         * time/sys/time.h: Likewise.
56763         * wcsmbs/Makefile: Likewise.
56765 2013-01-01  David S. Miller  <davem@davemloft.net>
56767         * po/fr.po: Update from translation team.
56769         * catgets/gencat.c: Update copyright year.
56770         * csu/version.c: Likewise.
56771         * debug/catchsegv.sh: Likewise.
56772         * debug/pcprofiledump.c: Likewise.
56773         * debug/xtrace.sh: Likewise.
56774         * elf/ldconfig.c: Likewise.
56775         * elf/ldd.bash.in: Likewise.
56776         * elf/pldd.c: Likewise.
56777         * elf/sotruss.ksh: Likewise.
56778         * elf/sprof.c: Likewise.
56779         * iconv/iconv_prog.c: Likewise.
56780         * iconv/iconvconfig.c: Likewise.
56781         * locale/programs/locale.c: Likewise.
56782         * locale/programs/localedef.c: Likewise.
56783         * login/programs/pt_chown.c: Likewise.
56784         * malloc/memusage.sh: Likewise.
56785         * malloc/memusagestat.c: Likewise.
56786         * malloc/mtrace.pl: Likewise.
56787         * nscd/nscd.c: Likewise.
56788         * nss/getent.c: Likewise.
56789         * nss/makedb.c: Likewise.
56790         * posix/getconf.c: Likewise.
56792 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
56794         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
56795         numbers.
56797 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
56799         * math/bits/mathcalls.h (modf): Use __nonnull.
56801 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
56803         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
56804         (split): Use macro CN instead of the bare value.
56805         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
56806         could be used.
56807         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
56808         instead of the bare value.
56809         (power1): Likewise.
56811 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
56813         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
56814         __ATAN_TWOM.
56815         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
56817         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
56818         their values.
56819         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
56820         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
56821         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
56822         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
56824 2012-12-28  Andreas Jaeger  <aj@suse.de>
56826         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
56827         values are from Linux 3.7.
56829         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
56830         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
56832 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
56834         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
56835         TRUE case.
56837         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
56838         (norm): Likewise.
56839         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
56840         variables with preprocessor constants.
56841         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
56842         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
56843         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
56845 2012-12-27  Bruno Haible  <bruno@clisp.org>
56847         [BZ #14317]
56848         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
56849         only if needed.
56851 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
56853         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
56854         and use variable directly.
56855         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
56857         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
56858         MPONE.
56859         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
56860         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
56861         variable MPONE.
56862         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
56863         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
56864         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
56865         include directive.  Remove local variable MPONE.
56866         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
56867         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
56868         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
56870 2012-12-25  David S. Miller  <davem@davemloft.net>
56872         * version.h (RELEASE): Set to "development".
56873         (VERSION): Set to "2.17.90".
56874         * NEWS: Add 2.18 section.
56876 2012-12-21  David S. Miller  <davem@davemloft.net>
56878         * po/hr.po: Update from translation team.
56880 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56882         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
56884 2012-12-19  Steve Ellcey  <sellcey@mips.com>
56886         * NEWS:  Mention new memcpy for MIPS.
56888 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
56890         * manual/contrib.texi (Contributors): Spelling correction.
56892 2012-12-15  David S. Miller  <davem@davemloft.net>
56894         * po/ru.po: Update from translation team.
56896 2012-12-13  David S. Miller  <davem@davemloft.net>
56898         * NEWS: Mention IFUNC testsuite enhancements.
56900         * po/pl.po: Update from translation team.
56901         * po/bg.po: Likewise.
56903         * manual/contrib.texi (Contributors): Update entries for Hongjiu
56904         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
56906 2012-12-11  David S. Miller  <davem@davemloft.net>
56908         * po/sv.po: Update from translation team.
56910         * po/vi.po: Update from translation team.
56912         * po/cs.po: Update from translation team.
56914         * po/de.po: Update from translation team.
56915         * po/eo.po: Likewise.
56916         * po/nl.po: Likewise.
56918 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
56920         [BZ #14246]
56921         * manual/argp.texi (Argp Helper Functions): Move node to follow
56922         Argp Parsing State.
56924         [BZ #14872]
56925         * manual/conf.texi (Limits on File System Capacity): Mention if
56926         terminating null is included in the max size.
56928 2012-12-10  Andreas Jaeger  <aj@suse.de>
56930         * po/cs.po: Update from translation team.
56932 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
56934         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
56935         void pointer and cast to uintptr_t.
56936         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
56937         path.
56938         * sysdeps/s390/s390-64/memcpy.S: Likewise.
56939         * sysdeps/s390/s390-64/memset.S: Likewise.
56941 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
56943         [BZ #14833]
56944         * menual/message.texi (Message Translation): Fix typos.
56945         (Helper programs for gettext): Likewise.
56947 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
56949         [BZ #14898]
56950         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
56951         Change to -1.
56953 2012-12-07  David S. Miller  <davem@davemloft.net>
56955         * po/libc.pot: Update.
56957 2012-12-07  Richard Henderson  <rth@redhat.com>
56959         [BZ #10114]
56960         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
56961         normal/normal case to before the switch.
56962         (_FP_DIV): Likewise.
56964 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
56965             Mike Frysinger  <vapier@gentoo.org>
56967         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
56968         check for __NR_fadvise64_64.
56970 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
56972         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
56973         0, not just to plain "0" as a statement.
56974         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
56975         with cw.
56977 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
56979         * NEWS: Use sourceware.org in Bugzilla URL.
56981 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
56983         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
56984         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
56986         * stdio-common/tst-put-error.c (do_test): Add newline to the
56987         padded test to ensure flush.
56989 2012-12-05  Jeff Law  <law@redhat.com>
56991         * sunrpc/etc.rpc (fedfs_admin): Add entry.
56993 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
56995         * README: Don't refer to ports add-on as distributed separately.
56996         Mention AArch64 in list of systems supported in the ports add-on.
56998         * LICENSES: Add more non-FSF copyright and license notices.
57000         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
57001         ((unused)).
57003         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
57005         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
57006         10000 as width of padded output.
57008 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
57010         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
57012         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
57013         variable LX with __attribute__ ((unused)).
57014         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
57015         Likewise.
57016         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
57017         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
57018         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
57019         with __attribute__ ((unused)).
57021 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
57023         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
57025 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
57027         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
57028         (CFLAGS-nldbl-acos.c): New variable.
57029         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
57030         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
57031         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
57032         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
57033         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
57034         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
57035         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
57036         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
57037         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
57038         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
57039         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
57040         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
57041         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
57042         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
57043         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
57044         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
57045         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
57046         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
57047         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
57048         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
57049         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
57050         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
57051         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
57052         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
57053         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
57054         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
57055         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
57056         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
57057         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
57058         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
57059         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
57060         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
57061         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
57062         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
57063         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
57064         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
57065         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
57066         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
57067         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
57068         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
57069         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
57070         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
57071         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
57072         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
57073         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
57074         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
57075         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
57076         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
57077         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
57078         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
57079         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
57080         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
57081         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
57082         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
57083         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
57084         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
57085         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
57086         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
57087         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
57088         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
57089         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
57090         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
57091         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
57092         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
57093         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
57094         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
57095         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
57096         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
57097         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
57098         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
57099         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
57100         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
57101         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
57102         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
57103         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
57104         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
57105         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
57106         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
57107         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
57108         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
57109         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
57110         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
57111         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
57112         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
57113         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
57114         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
57115         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
57116         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
57117         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
57118         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
57119         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
57120         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
57121         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
57122         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
57123         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
57124         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
57125         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
57127         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
57128         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
57130         [BZ #14914]
57131         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
57132         whole low double instead of just low 47 bits when splitting values
57133         into two parts.
57135 2012-12-03  Allan McRae  <allan@archlinux.org>
57137         * manual/stdio.texi (Predefined Printf Handlers): Remove
57138         @hsep and @vsep usage.
57140 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
57142         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
57143         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
57145 2012-12-03  Jeff Law  <law@redhat.com>
57147         * time/sys/time.h (settimeofday): Do not mark TV argument
57148         as __nonnull.
57150 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
57152         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
57153         when currently writing and seek to current position when not.
57154         * libio/Makefile (tests): Remove bug-fclose1.
57155         * libio/bug-fclose1.c: Delete.
57157 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
57159         * manual/arith.texi (feenableexcept): Fix typo.
57160         (fedisableexcept): Likewise.
57162 2012-11-30  Roland McGrath  <roland@hack.frob.com>
57164         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
57165         second, differently-typed declaration, rather than a cast.
57167 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
57169         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
57170         * include/rpc/svc.h: ... here.
57172 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
57174         [BZ #13013]
57175         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
57176         depending n and resplen2 to catch cases where answer
57177         equals answerp2.
57179 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
57181         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
57182         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
57184 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
57186         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
57188 2012-11-29  Roland McGrath  <roland@hack.frob.com>
57190         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
57192 2012-11-28  Jeff Law  <law@redhat.com>
57194         [BZ #13761]
57195         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
57196         dataset_temporary.  Track alloca usage into alloca_used.
57197         If dataset is large allocate and release it via malloc/free.
57199 2012-06-04  Florian Weimer  <fweimer@redhat.com>
57201         [BZ #14197]
57202         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
57204 2012-11-28  David S. Miller  <davem@davemloft.net>
57206         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57208 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
57210         [BZ #14803]
57211         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
57212         of pi/2 rounded to nearest to 64 bits.
57213         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
57214         nearest to 64 bits.
57215         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
57216         bits.
57218 2012-11-28  Jeff Law <law@redhat.com>
57219             Martin Osvald <mosvald@redhat.com>
57221         [BZ #14889]
57222         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
57223         * sunrpc/svc.c: Include time.h.
57224         (__svc_accept_failed): New function.
57225         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
57226         any reason other than EINTR, call __svc_accept_failed.
57227         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
57228         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
57230 2012-11-28  Andreas Schwab  <schwab@suse.de>
57232         * scripts/abilist.awk: Also handle indirect functions in .opd
57233         section.
57235 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
57237         [BZ #13881]
57238         * sysdeps/x86/fpu/powl_helper.c: New file.
57239         * sysdeps/x86/fpu/Makefile: Likewise.
57240         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
57241         (p3): New object.
57242         (__ieee754_powl): Use __powl_helper for finite arguments except
57243         integer exponents below 8.
57244         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
57245         (p3): New object.
57246         (__ieee754_powl): Use __powl_helper for finite arguments except
57247         integer exponents below 8.
57248         * math/libm-test.inc (pow_test): Add more tests and enable some
57249         previously disabled tests.
57250         * sysdeps/i386/fpu/libm-test-ulps: Update.
57251         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57253 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
57254             Carlos O'Donell  <carlos_odonell@mentor.com>
57256         * nss/makedb.c (is_prime): Assert that input is odd and greater
57257         than 4.  Note that fact in a comment too.
57258         (next_prime): Add 4 to input.
57260 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
57262         [BZ #11741]
57263         * libio/Makefile (tests): Add test case tst-fwrite-error.
57264         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
57265         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
57266         * libio/tst-fwrite-error.c: New test case.
57268 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
57270         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
57271         before casting to void *.
57272         * include/libc-internal.h (__pointer_type): New macro.
57273         (__integer_if_pointer_type_sub): Likewise.
57274         (__integer_if_pointer_type): Likewise.
57275         (cast_to_integer): Likewise.
57276         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
57277         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
57278         before casting to atomic64_t.
57279         (atomic_exchange_acq): Likewise.
57280         (__arch_exchange_and_add_body): Likewise.
57281         (__arch_add_body): Likewise.
57282         (atomic_add_negative): Likewise.
57283         (atomic_add_zero): Likewise.
57285 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
57287         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
57288         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
57289         (add_fdes): Likewise.
57290         (linear_search_fdes): Likewise.
57291         (binary_search_unencoded_fdes): Likewise.
57293 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
57295         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
57297 2012-11-24  Adam Conrad  <adconrad@0c3.net>
57299         * configure.in: Autodetect C++ header directories.
57300         * configure: Regenerated.
57302 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
57304         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
57306 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
57308         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57310 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
57312         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
57313         LDBL_MANT_DIG == 106]: Disable some tests.
57314         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
57315         Likewise.
57316         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
57317         Likewise.
57319         [BZ #14871]
57320         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
57321         input for small inputs.  Return +/- pi/2 for large inputs.
57322         * math/libm-test.inc (atan_test): Add more tests.
57324         * sysdeps/generic/unwind-dw2-fde-glibc.c
57325         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
57326         __attribute__ ((unused)).
57328         [BZ #14645]
57329         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
57330         x * y if x and y are nonzero and z is zero.
57332         [BZ #14811]
57333         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
57334         nonzero exponents with absolute value below 0x1p-117 to +/-
57335         0x1p-117.
57337         [BZ #14869]
57338         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
57339         up arguments below 2**-450, not just those below 2**-500.
57340         * math/libm-test.inc (hypot_test): Add another test.
57342         [BZ #14868]
57343         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
57344         Return a+b for ratio over 2**120, not 2**60.
57345         * math/libm-test.inc (hypot_test): Add another test.
57347         * math/libm-test.inc (clog_test): Use
57348         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
57349         (clog10_test): Likewise.
57351         [BZ #6778]
57352         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
57354 2012-11-22  Andreas Schwab  <schwab@suse.de>
57356         * sysdeps/i386/fpu/libm-test-ulps: Update.
57358 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
57360         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
57361         printf output with newline.
57363 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
57365         [BZ #14865]
57366         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
57367         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
57368         -z nodlopen, -z initfirst and -z execstack support.
57369         * configure: Regenerated.
57371         * elf/elf.h (DF_1_NODIRECT): New macro.
57372         (DF_1_IGNMULDEF): Likewise.
57373         (DF_1_NOKSYMS): Likewise.
57374         (DF_1_NOHDR): Likewise.
57375         (DF_1_EDITED): Likewise.
57376         (DF_1_NORELOC): Likewise.
57377         (DF_1_SYMINTPOSE): Likewise.
57378         (DF_1_GLOBAUDIT): Likewise.
57379         (DF_1_SINGLETON): Likewise.
57380         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
57381         DT_1_SUPPORTED_MASK bits.
57382         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
57384 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
57386         * sysdeps/unix/make-syscalls.sh: Document prefixes.
57388 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
57390         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
57391         macro.
57393         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
57394         (sendmmsg): Move declarations...
57395         * socket/sys/socket.h: ... here.
57396         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
57397         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
57398         include it from...
57399         * socket/recvmmsg.c: ... this new file.
57400         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
57401         (sendmmsg): Rename to __sendmmsg, create weak alias and make
57402         definition of __sendmmsg hidden.
57403         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
57404         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
57405         Move ENOSYS stub into and include it from...
57406         * socket/sendmmsg.c: ... this new file.
57407         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
57408         (sysdep_routines): Move recvmmsg and sendmmsg...
57409         * socket/Makefile (routines): ... here.
57410         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
57411         (GLIBC_PRIVATE): Add __sendmmsg.
57412         * include/sys/socket.h (__sendmmsg): Add declarations.
57413         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
57414         sendmmsg.
57416 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
57418         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
57419         variable I1 with __attribute__ ((unused)).
57420         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
57422 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
57424         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
57425         DUMMY variables with __attribute__ ((unused)).
57427         * bits/byteswap.h: Include <bits/types.h>.
57428         (__bswap_64): Use __uint64_t instead of unsigned long long int.
57430 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
57432         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
57433         string_t.  Do not manually set errno.
57434         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
57435         length with __strnlen.  Make sure to both set errno and return it on
57436         failure.
57438 2012-11-19  David S. Miller  <davem@davemloft.net>
57440         With help from Joseph Myers.
57441         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
57442         very large arguments properly.
57443         * math/libm-test.inc (atan_test): New tests.
57444         (atan2_test): New tests.
57445         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57446         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57448 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
57450         [BZ #14856]
57451         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
57452         Define to 3.
57454         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
57455         [POSIX] (EADDRNOTAVAIL): Likewise.
57456         [POSIX] (EAFNOSUPPORT): Likewise.
57457         [POSIX] (EALREADY): Likewise.
57458         [POSIX] (ECONNABORTED): Likewise.
57459         [POSIX] (ECONNREFUSED): Likewise.
57460         [POSIX] (ECONNRESET): Likewise.
57461         [POSIX] (EDESTADDRREQ): Likewise.
57462         [POSIX] (EDQUOT): Likewise.
57463         [POSIX] (EHOSTUNREACH): Likewise.
57464         [POSIX] (EIDRM): Likewise.
57465         [POSIX] (EISCONN): Likewise.
57466         [POSIX] (ELOOP): Likewise.
57467         [POSIX] (EMULTIHOP): Likewise.
57468         [POSIX] (ENETDOWN): Likewise.
57469         [POSIX] (ENETUNREACH): Likewise.
57470         [POSIX] (ENOBUFS): Likewise.
57471         [POSIX] (ENODATA): Likewise.
57472         [POSIX] (ENOLINK): Likewise.
57473         [POSIX] (ENOMSG): Likewise.
57474         [POSIX] (ENOPROTOOPT): Likewise.
57475         [POSIX] (ENOSR): Likewise.
57476         [POSIX] (ENOSTR): Likewise.
57477         [POSIX] (ENOTCONN): Likewise.
57478         [POSIX] (ENOTSOCK): Likewise.
57479         [POSIX] (EOPNOTSUPP): Likewise.
57480         [POSIX] (EOVERFLOW): Likewise.
57481         [POSIX] (EPROTO): Likewise.
57482         [POSIX] (EPROTONOSUPPORT): Likewise.
57483         [POSIX] (EPROTOTYPE): Likewise.
57484         [POSIX] (ESTALE): Likewise.
57485         [POSIX] (ETIME): Likewise.
57486         [POSIX] (ETXTBSY): Likewise.
57487         [POSIX] (EWOULDBLOCK): Likewise.
57488         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
57489         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
57490         [POSIX] (SEEK_CUR): Likewise.
57491         [POSIX] (SEEK_END): Likewise.
57492         [POSIX || UNIX98] (mode_t): Do not require.
57493         [POSIX] (off_t): Likewise.
57494         [POSIX] (pid_t): Likewise.
57495         [POSIX] (sys/stat.h): Do not allow header.
57496         [POSIX] (unistd.h): Likewise.
57497         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
57498         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
57499         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
57500         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
57501         require.
57502         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
57503         sigevent): Specify elements.
57504         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
57505         entry.
57506         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
57507         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
57509         * conform/data/cpio.h-data [POSIX]: Disable whole file.
57510         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
57511         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
57512         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
57513         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
57514         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
57515         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
57516         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
57517         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
57518         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
57519         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
57520         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
57521         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
57522         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
57523         Likewise.
57524         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
57525         Likewise.
57526         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
57527         Likewise.
57528         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
57529         Likewise.
57530         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
57531         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
57532         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
57533         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
57534         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
57535         Specify lower bound on value.
57536         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
57537         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
57538         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
57539         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
57540         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
57541         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
57542         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
57543         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
57544         value.
57545         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
57546         as optional.
57547         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
57548         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
57549         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
57550         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
57551         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
57552         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
57553         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
57554         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
57555         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
57556         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
57557         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
57558         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
57559         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
57560         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
57561         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
57562         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
57563         entry.
57564         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
57565         optional.
57566         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
57567         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
57568         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
57569         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
57570         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
57571         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
57572         Likewise.
57573         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
57574         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
57575         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
57576         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
57577         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
57578         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
57579         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
57580         as optional.
57581         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
57582         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
57583         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
57584         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
57585         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
57586         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
57587         specify as optional.
57588         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
57589         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
57590         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
57591         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
57592         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
57593         [XPG3] (NL_LANGMAX): Likewise.
57594         [POSIX || XPG3] (NL_MSGMAX): Likewise.
57595         [POSIX || XPG3] (NL_NMAX): Likewise.
57596         [POSIX || XPG3] (NL_SETMAX): Likewise.
57597         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
57598         [XPG3] (NZERO): Likewise.
57599         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
57600         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
57601         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
57602         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
57603         (REG_ERANGE): Expect.
57604         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
57605         optional-constant.
57606         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
57607         Use (void) in prototype.
57608         [POSIX] (*_t): Allow.
57609         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
57610         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
57611         (WRDE_BADVAL): Expect.
57613         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
57614         expect.
57615         [XPG3 || XPG4] (O_RSYNC): Likewise.
57616         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
57617         Likewise.
57618         [XPG3 || XPG4] (pthread_sigmask): Likewise.
57619         [XPG3 || XPG4] (sigqueue): Likewise.
57620         [XPG3 || XPG4] (sigtimedwait): Likewise.
57621         [XPG3 || XPG4] (sigwaitinfo): Likewise.
57622         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
57623         [XPG3 || XPG4] (vsnprintf): Likewise.
57624         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
57625         Likewise.
57626         [XPG3 || XPG4] (blksize_t): Likewise.
57627         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
57628         Likewise.
57629         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
57630         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
57631         [XPG3 || XPG4] (struct itimerspec): Likewise.
57632         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
57633         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
57634         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
57635         [XPG3 || XPG4] (clockid_t): Likewise.
57636         [XPG3 || XPG4] (timer_t): Likewise.
57637         [XPG3 || XPG4] (clock_getres): Likewise.
57638         [XPG3 || XPG4] (clock_gettime): Likewise.
57639         [XPG3 || XPG4] (clock_settime): Likewise.
57640         [XPG3 || XPG4] (nanosleep): Likewise.
57641         [XPG3 || XPG4] (timer_create): Likewise.
57642         [XPG3 || XPG4] (timer_delete): Likewise.
57643         [XPG3 || XPG4] (timer_gettime): Likewise.
57644         [XPG3 || XPG4] (timer_getoverrun): Likewise.
57645         [XPG3 || XPG4] (timer_settime): Likewise.
57646         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
57647         [XPG3 || XPG4] (getlogin_r): Likewise.
57648         [XPG3 || XPG4] (pread): Likewise.
57649         [XPG3 || XPG4] (pthread_atfork): Likewise.
57650         [XPG3 || XPG4] (pwrite): Likewise.
57652         [BZ #14835]
57653         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
57654         <bits/siginfo.h>.
57656 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
57658         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
57659         finalizing MALLSTREAM.
57661         * sysdeps/mach/hurd/syncfs.c: New file.
57663 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
57665         [BZ #14719]
57666         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
57667         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
57668         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
57669         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
57670         (_nss_dns_gethostbyname4_r): Likewise.
57671         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
57672         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
57674 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
57676         [BZ #13763]
57677         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
57679 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
57681         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
57682         * elf/cache.c (print_entry): Print ",AArch64" for
57683         FLAG_AARCH64_LIB64
57685         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
57686         * elf/cache.c (print_entry): Print ",hard-float" for
57687         FLAG_ARM_LIBHF.
57689 2012-11-18  David S. Miller  <davem@davemloft.net>
57691         With help from Joseph Myers.
57692         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
57693         cutoff to 2**-13.
57694         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
57695         cutoff to 2**-25.
57696         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
57697         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
57698         small.
57699         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
57700         * math/libm-test.inc (y0_test): New tests.
57701         (y1_test): New tests.
57702         * sysdeps/i386/fpu/libm-test-ulps: Update.
57703         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57704         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57706 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
57708         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
57709         64-bit targets.
57710         * configure: Regenerated.
57712 2012-11-17  David S. Miller  <davem@davemloft.net>
57714         [BZ #14811]
57715         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
57716         nonzero exponents with absolute value below 0x1p-128 to +/-
57717         0x1p-128.
57719 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
57721         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
57723         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
57725         * posix/getconf-speclist.c: New file.
57726         * posix/posix-envs.def: Likewise.
57727         * posix/confstr.c (START_ENV_GROUP): New macro.
57728         (END_ENV_GROUP): Likewise.
57729         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
57730         (KNOWN_PRESENT_ENV_STRING): Likewise.
57731         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
57732         (UNKNOWN_ENVIRONMENT): Likewise.
57733         (confstr): Include posix-envs.def instead of handling
57734         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
57735         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
57736         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
57737         (END_ENV_GROUP): Likewise.
57738         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
57739         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
57740         (UNKNOWN_ENVIRONMENT): Likewise.
57741         (__sysconf): Include posix-envs.def instead of handling associated
57742         cases directly here.
57743         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
57744         preprocessing getconf-speclist.c rather than running getconf or
57745         generating empty file.
57747 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
57749         * scripts/check-local-headers.sh: Ignore 'mach' headers.
57751 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
57753         [BZ #14672]
57754         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
57756 2012-11-16  David S. Miller  <davem@davemloft.net>
57758         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
57759         smaller than LDBL_EPSILON/2.0L, just return xm1.
57761 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
57763         * elf/tst-array1.c (init): Set constructor priority to 1000.
57764         (fini): Set destructor priority to 1000.
57765         * elf/tst-array2dep.c: Likewise.
57767 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
57769         [BZ #11741]
57770         * libio/fileops.c (_IO_new_file_write): Correctly return error.
57771         (_IO_new_file_xsputn): Also return EOF if none of the input
57772         data was written when overflow failed.
57773         * libio/iopadn.c (_IO_padn): Likewise.
57774         * libio/iowpadn.c (_IO_wpadn): Likewise.
57775         * stdio-common/tst-put-error.c: Add copyright notice.
57776         (do_test): Add case for printing padded string.
57777         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
57778         _IO_padn returned error.
57779         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
57780         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
57781         return EOF.
57783 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
57785         * libio/libioP.h: Add comment note that the references to C++
57786         bits are now obsolete.
57788 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
57790         * math/libm-test.inc (check_complex): Use asprintf.
57792 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
57794         * debug/pcprofiledump.c (print_version): Update copyright year.
57795         * malloc/memusagestat.c (print_version): Likewise.
57797 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
57799         [BZ #14831]
57800         * elf/Makefile (tests): Add tst-audit8.
57801         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
57802         ($(objpfx)tst-audit8.out): New target.
57803         (tst-audit8-ENV): New variable.
57804         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
57805         audit if l_reloc_result is NULL.
57806         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
57807         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
57808         * elf/tst-audit8.c: New file.
57810 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
57812         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
57813         * misc/Makefile (CFLAGS-select.c): Define.
57814         * posix/Makefile (CFLAGS-pause.c): Define.
57816 2012-11-13  David S. Miller  <davem@davemloft.net>
57818         * crypt/Makefile: Move test targets after toplevel Rules
57819         inclusion.  Grab any necessary sysdep routines when linking.
57820         * crypt/md5.c (md5_process_block): Remove define, we will always
57821         name it __md5_process_block.
57822         (md5_finish_ctx): Update md5_process_block call.
57823         (md5_stream): Likewise.
57824         (md5_process_bytes): Likewise.
57825         (md5_process_block): Rename to __md5_process_block and move to ...
57826         * crypt/md5-block.c: ... here.
57827         * crypt/sha256.c (sha256_process_block): Move to ...
57828         * crypt/sha256-block.c: ... here.
57829         * crypt/sha512.c (sha512_process_block): Move to ...
57830         * crypt/sha512-block.c: ... here.
57831         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
57832         path.
57833         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
57834         * sysdeps/sparc/sparc64/multiarch/Makefile
57835         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
57836         crypt subdir.
57837         (localedef-aux): Add md5 crypto assembler when in locale subdir.
57838         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
57839         multiarch changes.
57840         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
57841         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
57842         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
57843         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
57844         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
57845         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
57846         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
57847         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
57848         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
57849         file.
57850         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
57851         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
57852         file.
57853         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
57855 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
57857         * timezone/tzselect.ksh: Update from tzcode git revision
57858         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
57859         * timezone/zdump.c: Likewise.
57860         * timezone/zic.c: Likewise.
57861         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
57862         in TZVERSION setting, not $(PKGVERSION).
57863         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
57864         REPORT_BUGS_TO settings.
57866         [BZ #14838]
57867         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
57868         macro.
57870 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
57872         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
57873         detection to immediately after _FP_ROUND().
57874         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
57875         bits are 0.
57877 2012-11-11  David S. Miller  <davem@davemloft.net>
57879         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
57880         inttypes.h
57881         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
57882         __close rather than their public counterparts.
57884 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
57886         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
57887         file.
57888         [UNIX98] (sem_timedwait): Do not expect.
57889         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
57890         [XPG4 || UNIX98] (sockatmark): Do not expect.
57891         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
57892         (clock_getcpuclockid): Do not expect.
57893         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
57894         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
57895         Do not expect.
57896         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
57897         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
57898         [UNIX98] (vwscanf): Likewise.
57899         [UNIX98] (vswscanf): Likewise.
57901 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
57903         * timezone/version.h: Remove file.
57904         * timezone/README: Do not refer to version.h.
57905         * timezone/Makefile ($(objpfx)zic.o): New dependency on
57906         $(objpfx)version.h.
57907         ($(objpfx)zdump.o): Likewise.
57908         ($(objpfx)version.h): New target.
57910         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
57911         2012i.
57912         * timezone/README: Don't mention modification to tzselect.ksh.
57913         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
57914         work on unmodified tzselect.ksh.  Substitute version numbers in
57915         tzselect.ksh.
57917         * Makefile (format-me): Remove.
57918         (INSTALL): Adjust indentation.  Use commands directly instead of
57919         using $(format-me).
57921         * aclocal.m4 (ACX_PKGVERSION): New macro.
57922         (ACX_BUGURL): Likewise.
57923         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
57924         (PKGVERSION): New AC_DEFINE_UNQUOTED.
57925         (REPORT_BUGS_TO): Likewise.
57926         * configure: Regenerated.
57927         * config.h.in (PKGVERSION): New macro.
57928         (REPORT_BUGS_TO): Likewise.
57929         * config.make.in (PKGVERSION): New variable.
57930         (PKGVERSION_TEXI): Likewise.
57931         (REPORT_BUGS_TO): Likewise.
57932         (REPORT_BUGS_TEXI): Likewise.
57933         * Makefile (format-me): Use -I$(common-objpfx)manual.
57934         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
57935         ($(common-objpfx)manual/%): New target.
57936         (manual/%): Remove target.
57937         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
57938         (print_version): Use PKGVERSION.
57939         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
57940         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
57941         and REPORT_BUGS_TO.
57942         ($(objpfx)xtrace): Likewise.
57943         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
57944         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
57945         (print_version): Use PKGVERSION.
57946         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
57947         (do_version): Use PKGVERSION.
57948         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
57949         REPORT_BUGS_TO.
57950         (common-ldd-rewrite): Likewise.
57951         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
57952         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
57953         (print_version): Use PKGVERSION.
57954         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
57955         * elf/pldd.c (argp_program_bug_address): Remove variable.
57956         (more_help): New function.
57957         (argp): Use more_help.
57958         (print_version): Use PKGVERSION.
57959         * elf/sln.c (main): Use PKGVERSION.
57960         (usage): Use REPORT_BUGS_TO.
57961         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
57962         (top level): Use PKGVERSION.
57963         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
57964         (print_version): Use PKGVERSION.
57965         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
57966         (print_version): Use PKGVERSION.
57967         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
57968         (print_version): Use PKGVERSION.
57969         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
57970         (print_version): Use PKGVERSION.
57971         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
57972         (print_version): Use PKGVERSION.
57973         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
57974         (print_version): Use PKGVERSION.
57975         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
57976         and BUGURL.
57977         ($(objpfx)memusage): Likewise.
57978         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
57979         (do_version): Use PKGVERSION.
57980         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
57981         (print_version): Use PKGVERSION.
57982         * malloc/mtrace.pl ($PACKAGE): Remove variable.
57983         ($PKGVERSION): New variable.
57984         ($REPORT_BUGS_TO): Likewise.
57985         (usage): Use $REPORT_BUGS_TO.
57986         (top level): Use $PKGVERSION.
57987         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
57988         ($(objpfx)pkgvers.texi): New rule.
57989         ($(objpfx)stamp-pkgvers): Likewise.
57990         * manual/install.texi: Include pkgvers.texi.
57991         (--with-pkgversion): Document new configure option.
57992         (--with-bugurl): Likewise.
57993         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
57994         than necessarily for this particular distribution.  Use
57995         REPORT_BUGS_TO for where to report bugs.
57996         * INSTALL: Regenerated.
57997         * manual/libc.texinfo: Include pkgvers.texi.
57998         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
57999         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
58000         (print_version): Use PKGVERSION.
58001         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
58002         (print_version): Use PKGVERSION.
58003         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
58004         (print_version): Use PKGVERSION.
58005         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
58006         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
58007         macro.
58008         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
58009         (print_version): Use PKGVERSION.
58010         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
58011         (print_version): Use PKGVERSION.
58012         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
58013         and PKGVERSION.
58015         * timezone/checktab.awk: Update from tzcode 2012i.
58016         * timezone/ialloc.c: Likewise.
58017         * timezone/private.h: Likewise.
58018         * timezone/scheck.c: Likewise.
58019         * timezone/tzfile.h: Likewise.
58020         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
58021         (TZVERSION): Hardcode tzcode version number.
58022         * timezone/zdump.c: Update from tzcode 2012i.
58023         * timezone/zic.c: Likewise.
58024         * timezone/version.h: New file.
58025         * timezone/README: Describe version.h.  Update upstream location.
58027         [BZ #14824]
58028         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
58029         (mktemp): Enable declaration.
58030         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
58031         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
58032         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
58033         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
58034         Likewise.
58035         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
58036         Likewise.
58037         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
58038         Likewise.
58039         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
58040         Likewise.
58041         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
58042         Likewise.
58043         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
58044         Likewise.
58046         [BZ #14821]
58047         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
58048         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
58049         for copies of such integer values.
58050         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
58051         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
58053 2012-11-09  Andreas Jaeger  <aj@suse.de>
58055         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
58056         definitions and declarations that are provided by
58057         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
58059 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58061         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
58062         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
58063         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
58064         definition.
58066 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
58068         * elf/elf.h: Update comment before AArch64 relocations.
58070 2012-11-07  David S. Miller  <davem@davemloft.net>
58072         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
58073         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
58074         (__start_context): Declare.
58075         (__makecontext_ret): Delete.
58076         (__makecontext): Hook up __start_context instead of
58077         __makecontext_ret.
58078         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
58079         (sysdep_routines): Add __start_context when in stdlib.
58081 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
58083         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
58084         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
58085         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
58086         hardcoded "nm".
58087         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
58088         (READELF): New variable.  Use it instead of hardcoded "readelf".
58090 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
58092         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
58093         * sysdeps/x86/Makefile: Here.
58094         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
58095         * sysdeps/x86/tst-xmmymm.sh: This.
58097 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
58099         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
58100         expectations.
58101         [UNIX98] (pthread_barrier_t): Do not expect.
58102         [UNIX98] (pthread_barrierattr_t): Likewise.
58103         [UNIX98] (pthread_spinlock_t): Likewise.
58104         [UNIX98] (pthread_barrier_destroy): Likewise.
58105         [UNIX98] (pthread_barrier_init): Likewise.
58106         [UNIX98] (pthread_barrier_wait): Likewise.
58107         [UNIX98] (pthread_barrierattr_destroy): Likewise.
58108         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
58109         [UNIX98] (pthread_barrierattr_init): Likewise.
58110         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
58111         [UNIX98] (pthread_getcpuclockid): Likewise.
58112         [UNIX98] (pthread_mutex_timedlock): Likewise.
58113         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
58114         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
58115         [UNIX98] (pthread_sigmask): Likewise.
58116         [UNIX98] (pthread_spin_destroy): Likewise.
58117         [UNIX98] (pthread_spin_init): Likewise.
58118         [UNIX98] (pthread_spin_lock): Likewise.
58119         [UNIX98] (pthread_spin_trylock): Likewise.
58120         [UNIX98] (pthread_spin_unlock): Likewise.
58121         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
58122         Do not expect.
58123         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
58124         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
58125         [XPG3 || XPG4] (pthread_cond_t): Likewise.
58126         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
58127         [XPG3 || XPG4] (pthread_key_t): Likewise.
58128         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
58129         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
58130         [XPG3 || XPG4] (pthread_once_t): Likewise.
58131         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
58132         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
58133         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
58134         [XPG3 || XPG4] (pthread_t): Likewise.
58136         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
58137         not expect.
58138         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
58140         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
58141         Change function return type to int.
58143         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
58144         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
58145         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
58146         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
58147         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
58148         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
58149         [!POSIX] (posix_madvise): Likewise.
58150         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
58151         && !UNIX98].
58152         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
58153         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
58154         (mode_t): Likewise.
58155         (posix_mem_offset): Likewise.
58156         (posix_typed_mem_get_info): Likewise.
58157         (posix_typed_mem_open): Likewise.
58159         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
58160         Change condition to [XOPEN2K8].
58162         * conform/conformtest.pl: Preprocess allow-header data with -x c
58163         instead of from stdin.
58164         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
58165         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
58166         [C99-based standards] (cerfc): Likewise.
58167         [C99-based standards] (cexp2): Likewise.
58168         [C99-based standards] (cexpm1): Likewise.
58169         [C99-based standards] (clog10): Likewise.
58170         [C99-based standards] (clog1p): Likewise.
58171         [C99-based standards] (clog2): Likewise.
58172         [C99-based standards] (clgamma): Likewise.
58173         [C99-based standards] (ctgamma): Likewise.
58174         [C99-based standards] (cerff): Likewise.
58175         [C99-based standards] (cerfcf): Likewise.
58176         [C99-based standards] (cexp2f): Likewise.
58177         [C99-based standards] (cexpm1f): Likewise.
58178         [C99-based standards] (clog10f): Likewise.
58179         [C99-based standards] (clog1pf): Likewise.
58180         [C99-based standards] (clog2f): Likewise.
58181         [C99-based standards] (clgammaf): Likewise.
58182         [C99-based standards] (ctgammaf): Likewise.
58183         [C99-based standards] (cerfl): Likewise.
58184         [C99-based standards] (cerfcl): Likewise.
58185         [C99-based standards] (cexp2l): Likewise.
58186         [C99-based standards] (cexpm1l): Likewise.
58187         [C99-based standards] (clog10l): Likewise.
58188         [C99-based standards] (clog1pl): Likewise.
58189         [C99-based standards] (clog2l): Likewise.
58190         [C99-based standards] (clgammal): Likewise.
58191         [C99-based standards] (ctgammal): Likewise.
58192         * conform/data/inttypes.h-data [C99-based standards]: Include
58193         stdint.h-data.  Remove all expectations for stdint.h contents.
58194         [C99-based standards] (PRI*): Do not allow.
58195         [C99-based standards] (SCN*): Likewise.
58196         [C99-based standards] (*_t): Likewise.
58197         [C99-based-standards] (PRId8): Expect macro.
58198         [C99-based-standards] (PRIi8): Likewise.
58199         [C99-based-standards] (PRIo8): Likewise.
58200         [C99-based-standards] (PRIu8): Likewise.
58201         [C99-based-standards] (PRIx8): Likewise.
58202         [C99-based-standards] (PRIX8): Likewise.
58203         [C99-based-standards] (SCNd8): Likewise.
58204         [C99-based-standards] (SCNi8): Likewise.
58205         [C99-based-standards] (SCNo8): Likewise.
58206         [C99-based-standards] (SCNu8): Likewise.
58207         [C99-based-standards] (SCNx8): Likewise.
58208         [C99-based-standards] (PRIdLEAST8): Likewise.
58209         [C99-based-standards] (PRIiLEAST8): Likewise.
58210         [C99-based-standards] (PRIoLEAST8): Likewise.
58211         [C99-based-standards] (PRIuLEAST8): Likewise.
58212         [C99-based-standards] (PRIxLEAST8): Likewise.
58213         [C99-based-standards] (PRIXLEAST8): Likewise.
58214         [C99-based-standards] (SCNdLEAST8): Likewise.
58215         [C99-based-standards] (SCNiLEAST8): Likewise.
58216         [C99-based-standards] (SCNoLEAST8): Likewise.
58217         [C99-based-standards] (SCNuLEAST8): Likewise.
58218         [C99-based-standards] (SCNxLEAST8): Likewise.
58219         [C99-based-standards] (PRIdFAST8): Likewise.
58220         [C99-based-standards] (PRIiFAST8): Likewise.
58221         [C99-based-standards] (PRIoFAST8): Likewise.
58222         [C99-based-standards] (PRIuFAST8): Likewise.
58223         [C99-based-standards] (PRIxFAST8): Likewise.
58224         [C99-based-standards] (PRIXFAST8): Likewise.
58225         [C99-based-standards] (SCNdFAST8): Likewise.
58226         [C99-based-standards] (SCNiFAST8): Likewise.
58227         [C99-based-standards] (SCNoFAST8): Likewise.
58228         [C99-based-standards] (SCNuFAST8): Likewise.
58229         [C99-based-standards] (SCNxFAST8): Likewise.
58230         [C99-based-standards] (PRId16): Likewise.
58231         [C99-based-standards] (PRIi16): Likewise.
58232         [C99-based-standards] (PRIo16): Likewise.
58233         [C99-based-standards] (PRIu16): Likewise.
58234         [C99-based-standards] (PRIx16): Likewise.
58235         [C99-based-standards] (PRIX16): Likewise.
58236         [C99-based-standards] (SCNd16): Likewise.
58237         [C99-based-standards] (SCNi16): Likewise.
58238         [C99-based-standards] (SCNo16): Likewise.
58239         [C99-based-standards] (SCNu16): Likewise.
58240         [C99-based-standards] (SCNx16): Likewise.
58241         [C99-based-standards] (PRIdLEAST16): Likewise.
58242         [C99-based-standards] (PRIiLEAST16): Likewise.
58243         [C99-based-standards] (PRIoLEAST16): Likewise.
58244         [C99-based-standards] (PRIuLEAST16): Likewise.
58245         [C99-based-standards] (PRIxLEAST16): Likewise.
58246         [C99-based-standards] (PRIXLEAST16): Likewise.
58247         [C99-based-standards] (SCNdLEAST16): Likewise.
58248         [C99-based-standards] (SCNiLEAST16): Likewise.
58249         [C99-based-standards] (SCNoLEAST16): Likewise.
58250         [C99-based-standards] (SCNuLEAST16): Likewise.
58251         [C99-based-standards] (SCNxLEAST16): Likewise.
58252         [C99-based-standards] (PRIdFAST16): Likewise.
58253         [C99-based-standards] (PRIiFAST16): Likewise.
58254         [C99-based-standards] (PRIoFAST16): Likewise.
58255         [C99-based-standards] (PRIuFAST16): Likewise.
58256         [C99-based-standards] (PRIxFAST16): Likewise.
58257         [C99-based-standards] (PRIXFAST16): Likewise.
58258         [C99-based-standards] (SCNdFAST16): Likewise.
58259         [C99-based-standards] (SCNiFAST16): Likewise.
58260         [C99-based-standards] (SCNoFAST16): Likewise.
58261         [C99-based-standards] (SCNuFAST16): Likewise.
58262         [C99-based-standards] (SCNxFAST16): Likewise.
58263         [C99-based-standards] (PRId32): Likewise.
58264         [C99-based-standards] (PRIi32): Likewise.
58265         [C99-based-standards] (PRIo32): Likewise.
58266         [C99-based-standards] (PRIu32): Likewise.
58267         [C99-based-standards] (PRIx32): Likewise.
58268         [C99-based-standards] (PRIX32): Likewise.
58269         [C99-based-standards] (SCNd32): Likewise.
58270         [C99-based-standards] (SCNi32): Likewise.
58271         [C99-based-standards] (SCNo32): Likewise.
58272         [C99-based-standards] (SCNu32): Likewise.
58273         [C99-based-standards] (SCNx32): Likewise.
58274         [C99-based-standards] (PRIdLEAST32): Likewise.
58275         [C99-based-standards] (PRIiLEAST32): Likewise.
58276         [C99-based-standards] (PRIoLEAST32): Likewise.
58277         [C99-based-standards] (PRIuLEAST32): Likewise.
58278         [C99-based-standards] (PRIxLEAST32): Likewise.
58279         [C99-based-standards] (PRIXLEAST32): Likewise.
58280         [C99-based-standards] (SCNdLEAST32): Likewise.
58281         [C99-based-standards] (SCNiLEAST32): Likewise.
58282         [C99-based-standards] (SCNoLEAST32): Likewise.
58283         [C99-based-standards] (SCNuLEAST32): Likewise.
58284         [C99-based-standards] (SCNxLEAST32): Likewise.
58285         [C99-based-standards] (PRIdFAST32): Likewise.
58286         [C99-based-standards] (PRIiFAST32): Likewise.
58287         [C99-based-standards] (PRIoFAST32): Likewise.
58288         [C99-based-standards] (PRIuFAST32): Likewise.
58289         [C99-based-standards] (PRIxFAST32): Likewise.
58290         [C99-based-standards] (PRIXFAST32): Likewise.
58291         [C99-based-standards] (SCNdFAST32): Likewise.
58292         [C99-based-standards] (SCNiFAST32): Likewise.
58293         [C99-based-standards] (SCNoFAST32): Likewise.
58294         [C99-based-standards] (SCNuFAST32): Likewise.
58295         [C99-based-standards] (SCNxFAST32): Likewise.
58296         [C99-based-standards] (PRId64): Likewise.
58297         [C99-based-standards] (PRIi64): Likewise.
58298         [C99-based-standards] (PRIo64): Likewise.
58299         [C99-based-standards] (PRIu64): Likewise.
58300         [C99-based-standards] (PRIx64): Likewise.
58301         [C99-based-standards] (PRIX64): Likewise.
58302         [C99-based-standards] (SCNd64): Likewise.
58303         [C99-based-standards] (SCNi64): Likewise.
58304         [C99-based-standards] (SCNo64): Likewise.
58305         [C99-based-standards] (SCNu64): Likewise.
58306         [C99-based-standards] (SCNx64): Likewise.
58307         [C99-based-standards] (PRIdLEAST64): Likewise.
58308         [C99-based-standards] (PRIiLEAST64): Likewise.
58309         [C99-based-standards] (PRIoLEAST64): Likewise.
58310         [C99-based-standards] (PRIuLEAST64): Likewise.
58311         [C99-based-standards] (PRIxLEAST64): Likewise.
58312         [C99-based-standards] (PRIXLEAST64): Likewise.
58313         [C99-based-standards] (SCNdLEAST64): Likewise.
58314         [C99-based-standards] (SCNiLEAST64): Likewise.
58315         [C99-based-standards] (SCNoLEAST64): Likewise.
58316         [C99-based-standards] (SCNuLEAST64): Likewise.
58317         [C99-based-standards] (SCNxLEAST64): Likewise.
58318         [C99-based-standards] (PRIdFAST64): Likewise.
58319         [C99-based-standards] (PRIiFAST64): Likewise.
58320         [C99-based-standards] (PRIoFAST64): Likewise.
58321         [C99-based-standards] (PRIuFAST64): Likewise.
58322         [C99-based-standards] (PRIxFAST64): Likewise.
58323         [C99-based-standards] (PRIXFAST64): Likewise.
58324         [C99-based-standards] (SCNdFAST64): Likewise.
58325         [C99-based-standards] (SCNiFAST64): Likewise.
58326         [C99-based-standards] (SCNoFAST64): Likewise.
58327         [C99-based-standards] (SCNuFAST64): Likewise.
58328         [C99-based-standards] (SCNxFAST64): Likewise.
58329         [C99-based-standards] (PRIdMAX): Likewise.
58330         [C99-based-standards] (PRIiMAX): Likewise.
58331         [C99-based-standards] (PRIoMAX): Likewise.
58332         [C99-based-standards] (PRIuMAX): Likewise.
58333         [C99-based-standards] (PRIxMAX): Likewise.
58334         [C99-based-standards] (PRIXMAX): Likewise.
58335         [C99-based-standards] (SCNdMAX): Likewise.
58336         [C99-based-standards] (SCNiMAX): Likewise.
58337         [C99-based-standards] (SCNoMAX): Likewise.
58338         [C99-based-standards] (SCNuMAX): Likewise.
58339         [C99-based-standards] (SCNxMAX): Likewise.
58340         [C99-based-standards] (PRIdPTR): Likewise.
58341         [C99-based-standards] (PRIiPTR): Likewise.
58342         [C99-based-standards] (PRIoPTR): Likewise.
58343         [C99-based-standards] (PRIuPTR): Likewise.
58344         [C99-based-standards] (PRIxPTR): Likewise.
58345         [C99-based-standards] (PRIXPTR): Likewise.
58346         [C99-based-standards] (SCNdPTR): Likewise.
58347         [C99-based-standards] (SCNiPTR): Likewise.
58348         [C99-based-standards] (SCNoPTR): Likewise.
58349         [C99-based-standards] (SCNuPTR): Likewise.
58350         [C99-based-standards] (SCNxPTR): Likewise.
58351         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
58352         allow.
58353         * conform/data/stdint.h-data: Update comments to clarify
58354         requirements.
58355         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
58356         type.
58357         [C99-based standards] (INT8_MAX): Likewise.
58358         [C99-based standards] (INT16_MIN): Likewise.
58359         [C99-based standards] (INT16_MAX): Likewise.
58360         [C99-based standards] (INT32_MIN): Likewise.
58361         [C99-based standards] (INT32_MAX): Likewise.
58362         [C99-based standards] (INT64_MIN): Likewise.
58363         [C99-based standards] (INT64_MAX): Likewise.
58364         [C99-based standards] (UINT8_MAX): Likewise.
58365         [C99-based standards] (UINT16_MAX): Likewise.
58366         [C99-based standards] (UINT32_MAX): Likewise.
58367         [C99-based standards] (UINT64_MAX): Likewise.
58368         [C99-based standards] (INT_LEAST8_MIN): Likewise.
58369         [C99-based standards] (INT_LEAST8_MAX): Likewise.
58370         [C99-based standards] (INT_LEAST16_MIN): Likewise.
58371         [C99-based standards] (INT_LEAST16_MAX): Likewise.
58372         [C99-based standards] (INT_LEAST32_MIN): Likewise.
58373         [C99-based standards] (INT_LEAST32_MAX): Likewise.
58374         [C99-based standards] (INT_LEAST64_MIN): Likewise.
58375         [C99-based standards] (INT_LEAST64_MAX): Likewise.
58376         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
58377         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
58378         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
58379         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
58380         [C99-based standards] (INT_FAST8_MIN): Likewise.
58381         [C99-based standards] (INT_FAST8_MAX): Likewise.
58382         [C99-based standards] (INT_FAST16_MIN): Likewise.
58383         [C99-based standards] (INT_FAST16_MAX): Likewise.
58384         [C99-based standards] (INT_FAST32_MIN): Likewise.
58385         [C99-based standards] (INT_FAST32_MAX): Likewise.
58386         [C99-based standards] (INT_FAST64_MIN): Likewise.
58387         [C99-based standards] (INT_FAST64_MAX): Likewise.
58388         [C99-based standards] (UINT_FAST8_MAX): Likewise.
58389         [C99-based standards] (UINT_FAST16_MAX): Likewise.
58390         [C99-based standards] (UINT_FAST32_MAX): Likewise.
58391         [C99-based standards] (UINT_FAST64_MAX): Likewise.
58392         [C99-based standards] (INTPTR_MIN): Likewise.
58393         [C99-based standards] (INTPTR_MAX): Likewise.
58394         [C99-based standards] (UINTPTR_MAX): Likewise.
58395         [C99-based standards] (INTMAX_MIN): Likewise.
58396         [C99-based standards] (INTMAX_MAX): Likewise.
58397         [C99-based standards] (UINTMAX_MAX): Likewise.
58398         [C99-based standards] (PTRDIFF_MIN): Likewise.
58399         [C99-based standards] (PTRDIFF_MAX): Likewise.
58400         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
58401         [C99-based standards] (SIZE_MAX): Likewise.
58402         [C99-based standards] (WCHAR_MAX): Likewise.
58403         [C99-based standards] (WINT_MAX): Likewise.
58404         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
58405         constraint on value.
58406         [C99-based standards] (WCHAR_MIN): Likewise.
58407         [C99-based standards] (WINT_MIN): Likewise.
58408         [C99-based standards] (*_t): Allow.
58409         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
58410         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
58411         Include math.h-data and complex.h-data.  Remove all expectations
58412         of math.h and complex.h contents.
58413         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
58414         at end of line.
58415         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
58416         (struct tm): Expect tag.
58417         [C99-based-standards] (wcstof): Expect function.
58418         [C99-based-standards] (wcstold): Likewise.
58419         [C99-based-standards] (wcstoll): Likewise.
58420         [C99-based-standards] (wcstoull): Likewise.
58421         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
58422         macro-int-constant.  Specify type.
58423         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
58424         constraint on value.
58425         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
58426         Specify type.
58427         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
58428         Specify value.
58429         [ISO C standards]: Do not allow headers.
58430         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
58431         wcs[abcdefghijklmnopqrstuvwxyz]*.
58432         [ISO C standards] (*_t): Do not allow.
58433         * conform/data/wctype.h-data [C99-based standards] (iswblank):
58434         Expect function.
58435         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
58436         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
58437         Specify type.
58438         [ISO C standards]: Do not allow headers.
58439         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
58440         is[abcdefghijklmnopqrstuvwxyz]*.
58441         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
58442         to[abcdefghijklmnopqrstuvwxyz]*.
58443         [ISO C standards] (*_t): Do not allow.
58444         * conform/data/stdalign.h-data: New file.
58445         * conform/data/stdbool.h-data: Likewise.
58446         * conform/data/stdnoreturn.h-data: Likewise.
58448 2012-11-07  Roland McGrath  <roland@hack.frob.com>
58450         [BZ #14815]
58451         * manual/filesys.texi (Directory Entries): Typo fix.
58452         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
58454 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
58456         * elf/elf.h (EM_AARCH64): New macro.
58457         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
58458         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
58459         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
58460         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
58461         (R_AARCH64_TLSDESC): Likewise.
58462         (NT_ARM_TLS): Likewise.
58463         (NT_ARM_HW_BREAK): Likewise.
58464         (NT_ARM_HW_WATCH): Likewise.
58466 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
58468         [BZ #14811]
58469         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
58470         (__ieee754_powl): Saturate nonzero exponents with absolute value
58471         below 0x1p-79 to +/- 0x1p-79.
58472         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
58473         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
58474         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
58475         nonzero exponents with absolute value below 0x1p-32 to +/-
58476         0x1p-32.
58477         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
58478         (__ieee754_powl): Saturate nonzero exponents with absolute value
58479         below 0x1p-79 to +/- 0x1p-79.
58480         * math/libm-test.inc (pow_test): Add more tests.
58482 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58484         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
58485         _dl_s390_cap_flags with kernel. Increase string length.
58486         (_dl_s390_platforms): Add z196 and zEC12.
58488 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
58490         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
58491         Change XOPEN21K to XOPEN2K.
58493 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
58495         * string/memmove.c: Use memcpy when possible.
58497 2012-11-06  Andreas Jaeger  <aj@suse.de>
58499         * po/eo.po: Update from translation team.
58501 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
58503         [BZ #14793]
58504         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
58505         exponent and small x and y exponents, scale x or y up.  Increase
58506         by 2 the exponent used in scaling up.
58507         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
58508         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
58509         * math/libm-test.inc (fma_test): Add more tests.
58510         (fma_test_towardzero): Likewise.
58511         (fma_test_downward): Likewise.
58512         (fma_test_upward): Likewise.
58514 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
58516         [BZ #14805]
58517         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
58518         fenv_t *.
58520         [BZ #14801]
58521         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
58522         namespace for names of struct fields.
58523         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
58524         fenv_t fields.
58525         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
58526         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
58528 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58530         [BZ #3665]
58531         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
58533 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
58535         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
58536         PTR_DEMANGLE.
58538         [BZ #5246]
58539         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
58540         PTR_DEMANGLE.
58542 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
58544         [BZ #14797]
58545         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
58546         definitely overflow as x * y not x * y + z.
58547         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
58548         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
58549         * math/libm-test.inc (fma_test): Add more tests.
58550         (fma_test_towardzero): Likewise.
58551         (fma_test_downward): Likewise.
58552         (fma_test_upward): Likewise.
58554 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
58556         [BZ #157]
58558         * include/stub-tag.h: Remove file.
58559         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
58560         '#include' of it.
58561         * manual/maint.texi (Porting): Don't reference it.
58562         * Makerules ($(objpfx)stubs): Likewise.
58563         * dirent/closedir.c: Don't include <stub-tag.h>.
58564         * dirent/dirfd.c: Likewise.
58565         * dirent/fdopendir.c: Likewise.
58566         * dirent/getdents.c: Likewise.
58567         * dirent/getdents64.c: Likewise.
58568         * dirent/opendir.c: Likewise.
58569         * dirent/readdir.c: Likewise.
58570         * dirent/readdir64.c: Likewise.
58571         * dirent/readdir64_r.c: Likewise.
58572         * dirent/readdir_r.c: Likewise.
58573         * dirent/rewinddir.c: Likewise.
58574         * dirent/seekdir.c: Likewise.
58575         * dirent/telldir.c: Likewise.
58576         * gmon/profil.c: Likewise.
58577         * grp/setgroups.c: Likewise.
58578         * inet/if_index.c: Likewise.
58579         * io/access.c: Likewise.
58580         * io/chdir.c: Likewise.
58581         * io/chmod.c: Likewise.
58582         * io/chown.c: Likewise.
58583         * io/close.c: Likewise.
58584         * io/dup.c: Likewise.
58585         * io/dup2.c: Likewise.
58586         * io/dup3.c: Likewise.
58587         * io/euidaccess.c: Likewise.
58588         * io/faccessat.c: Likewise.
58589         * io/fchdir.c: Likewise.
58590         * io/fchmod.c: Likewise.
58591         * io/fchmodat.c: Likewise.
58592         * io/fchown.c: Likewise.
58593         * io/fchownat.c: Likewise.
58594         * io/fcntl.c: Likewise.
58595         * io/flock.c: Likewise.
58596         * io/fstatfs.c: Likewise.
58597         * io/fstatfs64.c: Likewise.
58598         * io/fstatvfs.c: Likewise.
58599         * io/fstatvfs64.c: Likewise.
58600         * io/futimens.c: Likewise.
58601         * io/fxstat.c: Likewise.
58602         * io/fxstat64.c: Likewise.
58603         * io/fxstatat.c: Likewise.
58604         * io/fxstatat64.c: Likewise.
58605         * io/getcwd.c: Likewise.
58606         * io/isatty.c: Likewise.
58607         * io/lchmod.c: Likewise.
58608         * io/lchown.c: Likewise.
58609         * io/link.c: Likewise.
58610         * io/linkat.c: Likewise.
58611         * io/lseek.c: Likewise.
58612         * io/lseek64.c: Likewise.
58613         * io/lxstat64.c: Likewise.
58614         * io/mkdir.c: Likewise.
58615         * io/mkdirat.c: Likewise.
58616         * io/mkfifo.c: Likewise.
58617         * io/mkfifoat.c: Likewise.
58618         * io/open.c: Likewise.
58619         * io/open64.c: Likewise.
58620         * io/openat.c: Likewise.
58621         * io/openat64.c: Likewise.
58622         * io/pipe.c: Likewise.
58623         * io/pipe2.c: Likewise.
58624         * io/poll.c: Likewise.
58625         * io/posix_fadvise.c: Likewise.
58626         * io/posix_fadvise64.c: Likewise.
58627         * io/posix_fallocate.c: Likewise.
58628         * io/posix_fallocate64.c: Likewise.
58629         * io/read.c: Likewise.
58630         * io/readlink.c: Likewise.
58631         * io/readlinkat.c: Likewise.
58632         * io/rmdir.c: Likewise.
58633         * io/sendfile.c: Likewise.
58634         * io/sendfile64.c: Likewise.
58635         * io/statfs.c: Likewise.
58636         * io/statfs64.c: Likewise.
58637         * io/statvfs.c: Likewise.
58638         * io/statvfs64.c: Likewise.
58639         * io/symlink.c: Likewise.
58640         * io/symlinkat.c: Likewise.
58641         * io/ttyname.c: Likewise.
58642         * io/ttyname_r.c: Likewise.
58643         * io/umask.c: Likewise.
58644         * io/unlink.c: Likewise.
58645         * io/unlinkat.c: Likewise.
58646         * io/utime.c: Likewise.
58647         * io/utimensat.c: Likewise.
58648         * io/write.c: Likewise.
58649         * io/xmknod.c: Likewise.
58650         * io/xmknodat.c: Likewise.
58651         * io/xstat.c: Likewise.
58652         * io/xstat64.c: Likewise.
58653         * login/getpt.c: Likewise.
58654         * login/grantpt.c: Likewise.
58655         * login/unlockpt.c: Likewise.
58656         * math/e_acoshl.c: Likewise.
58657         * math/e_acosl.c: Likewise.
58658         * math/e_asinl.c: Likewise.
58659         * math/e_atan2l.c: Likewise.
58660         * math/e_atanhl.c: Likewise.
58661         * math/e_coshl.c: Likewise.
58662         * math/e_expl.c: Likewise.
58663         * math/e_fmodl.c: Likewise.
58664         * math/e_gammal_r.c: Likewise.
58665         * math/e_hypotl.c: Likewise.
58666         * math/e_j0l.c: Likewise.
58667         * math/e_j1l.c: Likewise.
58668         * math/e_jnl.c: Likewise.
58669         * math/e_lgammal_r.c: Likewise.
58670         * math/e_log10l.c: Likewise.
58671         * math/e_log2l.c: Likewise.
58672         * math/e_logl.c: Likewise.
58673         * math/e_powl.c: Likewise.
58674         * math/e_rem_pio2l.c: Likewise.
58675         * math/e_sinhl.c: Likewise.
58676         * math/e_sqrtl.c: Likewise.
58677         * math/fclrexcpt.c: Likewise.
58678         * math/fedisblxcpt.c: Likewise.
58679         * math/feenablxcpt.c: Likewise.
58680         * math/fegetenv.c: Likewise.
58681         * math/fegetexcept.c: Likewise.
58682         * math/fegetround.c: Likewise.
58683         * math/feholdexcpt.c: Likewise.
58684         * math/fesetenv.c: Likewise.
58685         * math/fesetround.c: Likewise.
58686         * math/feupdateenv.c: Likewise.
58687         * math/fgetexcptflg.c: Likewise.
58688         * math/fraiseexcpt.c: Likewise.
58689         * math/fsetexcptflg.c: Likewise.
58690         * math/ftestexcept.c: Likewise.
58691         * math/k_cosl.c: Likewise.
58692         * math/k_rem_pio2l.c: Likewise.
58693         * math/k_sinl.c: Likewise.
58694         * math/k_tanl.c: Likewise.
58695         * math/s_asinhl.c: Likewise.
58696         * math/s_atanl.c: Likewise.
58697         * math/s_cbrtl.c: Likewise.
58698         * math/s_erfl.c: Likewise.
58699         * math/s_expm1l.c: Likewise.
58700         * math/s_log1pl.c: Likewise.
58701         * math/s_tanhl.c: Likewise.
58702         * misc/acct.c: Likewise.
58703         * misc/brk.c: Likewise.
58704         * misc/chflags.c: Likewise.
58705         * misc/chroot.c: Likewise.
58706         * misc/fchflags.c: Likewise.
58707         * misc/fgetxattr.c: Likewise.
58708         * misc/flistxattr.c: Likewise.
58709         * misc/fremovexattr.c: Likewise.
58710         * misc/fsetxattr.c: Likewise.
58711         * misc/fsync.c: Likewise.
58712         * misc/ftruncate.c: Likewise.
58713         * misc/futimes.c: Likewise.
58714         * misc/futimesat.c: Likewise.
58715         * misc/getdomain.c: Likewise.
58716         * misc/getdtsz.c: Likewise.
58717         * misc/gethostid.c: Likewise.
58718         * misc/gethostname.c: Likewise.
58719         * misc/getloadavg.c: Likewise.
58720         * misc/getpagesize.c: Likewise.
58721         * misc/getsysstats.c: Likewise.
58722         * misc/getxattr.c: Likewise.
58723         * misc/gtty.c: Likewise.
58724         * misc/ioctl.c: Likewise.
58725         * misc/lgetxattr.c: Likewise.
58726         * misc/listxattr.c: Likewise.
58727         * misc/llistxattr.c: Likewise.
58728         * misc/lremovexattr.c: Likewise.
58729         * misc/lsetxattr.c: Likewise.
58730         * misc/lutimes.c: Likewise.
58731         * misc/madvise.c: Likewise.
58732         * misc/mincore.c: Likewise.
58733         * misc/mlock.c: Likewise.
58734         * misc/mlockall.c: Likewise.
58735         * misc/mmap.c: Likewise.
58736         * misc/mprotect.c: Likewise.
58737         * misc/msync.c: Likewise.
58738         * misc/munlock.c: Likewise.
58739         * misc/munlockall.c: Likewise.
58740         * misc/munmap.c: Likewise.
58741         * misc/preadv.c: Likewise.
58742         * misc/preadv64.c: Likewise.
58743         * misc/ptrace.c: Likewise.
58744         * misc/pwritev.c: Likewise.
58745         * misc/pwritev64.c: Likewise.
58746         * misc/readv.c: Likewise.
58747         * misc/reboot.c: Likewise.
58748         * misc/remap_file_pages.c: Likewise.
58749         * misc/removexattr.c: Likewise.
58750         * misc/revoke.c: Likewise.
58751         * misc/select.c: Likewise.
58752         * misc/setdomain.c: Likewise.
58753         * misc/setegid.c: Likewise.
58754         * misc/seteuid.c: Likewise.
58755         * misc/sethostid.c: Likewise.
58756         * misc/sethostname.c: Likewise.
58757         * misc/setregid.c: Likewise.
58758         * misc/setreuid.c: Likewise.
58759         * misc/setxattr.c: Likewise.
58760         * misc/sstk.c: Likewise.
58761         * misc/stty.c: Likewise.
58762         * misc/swapoff.c: Likewise.
58763         * misc/swapon.c: Likewise.
58764         * misc/sync.c: Likewise.
58765         * misc/syncfs.c: Likewise.
58766         * misc/syscall.c: Likewise.
58767         * misc/truncate.c: Likewise.
58768         * misc/ualarm.c: Likewise.
58769         * misc/usleep.c: Likewise.
58770         * misc/ustat.c: Likewise.
58771         * misc/utimes.c: Likewise.
58772         * misc/vhangup.c: Likewise.
58773         * misc/writev.c: Likewise.
58774         * posix/_exit.c: Likewise.
58775         * posix/alarm.c: Likewise.
58776         * posix/execve.c: Likewise.
58777         * posix/fexecve.c: Likewise.
58778         * posix/fork.c: Likewise.
58779         * posix/fpathconf.c: Likewise.
58780         * posix/getaddrinfo.c: Likewise.
58781         * posix/getegid.c: Likewise.
58782         * posix/geteuid.c: Likewise.
58783         * posix/getgid.c: Likewise.
58784         * posix/getgroups.c: Likewise.
58785         * posix/getlogin.c: Likewise.
58786         * posix/getlogin_r.c: Likewise.
58787         * posix/getpgid.c: Likewise.
58788         * posix/getpid.c: Likewise.
58789         * posix/getppid.c: Likewise.
58790         * posix/getresgid.c: Likewise.
58791         * posix/getresuid.c: Likewise.
58792         * posix/getsid.c: Likewise.
58793         * posix/getuid.c: Likewise.
58794         * posix/glob64.c: Likewise.
58795         * posix/nanosleep.c: Likewise.
58796         * posix/pathconf.c: Likewise.
58797         * posix/pause.c: Likewise.
58798         * posix/posix_madvise.c: Likewise.
58799         * posix/pread.c: Likewise.
58800         * posix/pread64.c: Likewise.
58801         * posix/pwrite.c: Likewise.
58802         * posix/pwrite64.c: Likewise.
58803         * posix/sched_getaffinity.c: Likewise.
58804         * posix/sched_getp.c: Likewise.
58805         * posix/sched_gets.c: Likewise.
58806         * posix/sched_primax.c: Likewise.
58807         * posix/sched_primin.c: Likewise.
58808         * posix/sched_rr_gi.c: Likewise.
58809         * posix/sched_setaffinity.c: Likewise.
58810         * posix/sched_setp.c: Likewise.
58811         * posix/sched_sets.c: Likewise.
58812         * posix/sched_yield.c: Likewise.
58813         * posix/setgid.c: Likewise.
58814         * posix/setlogin.c: Likewise.
58815         * posix/setpgid.c: Likewise.
58816         * posix/setresgid.c: Likewise.
58817         * posix/setresuid.c: Likewise.
58818         * posix/setsid.c: Likewise.
58819         * posix/setuid.c: Likewise.
58820         * posix/sleep.c: Likewise.
58821         * posix/spawni.c: Likewise.
58822         * posix/sysconf.c: Likewise.
58823         * posix/times.c: Likewise.
58824         * posix/wait.c: Likewise.
58825         * posix/wait3.c: Likewise.
58826         * posix/wait4.c: Likewise.
58827         * posix/waitpid.c: Likewise.
58828         * resolv/gai_sigqueue.c: Likewise.
58829         * resource/getpriority.c: Likewise.
58830         * resource/getrlimit.c: Likewise.
58831         * resource/getrusage.c: Likewise.
58832         * resource/nice.c: Likewise.
58833         * resource/setpriority.c: Likewise.
58834         * resource/setrlimit.c: Likewise.
58835         * resource/ulimit.c: Likewise.
58836         * rt/aio_cancel.c: Likewise.
58837         * rt/aio_fsync.c: Likewise.
58838         * rt/aio_read.c: Likewise.
58839         * rt/aio_sigqueue.c: Likewise.
58840         * rt/aio_suspend.c: Likewise.
58841         * rt/aio_write.c: Likewise.
58842         * rt/clock_getres.c: Likewise.
58843         * rt/clock_gettime.c: Likewise.
58844         * rt/clock_nanosleep.c: Likewise.
58845         * rt/clock_settime.c: Likewise.
58846         * rt/lio_listio.c: Likewise.
58847         * rt/mq_close.c: Likewise.
58848         * rt/mq_getattr.c: Likewise.
58849         * rt/mq_notify.c: Likewise.
58850         * rt/mq_open.c: Likewise.
58851         * rt/mq_receive.c: Likewise.
58852         * rt/mq_send.c: Likewise.
58853         * rt/mq_setattr.c: Likewise.
58854         * rt/mq_timedreceive.c: Likewise.
58855         * rt/mq_timedsend.c: Likewise.
58856         * rt/mq_unlink.c: Likewise.
58857         * rt/shm_open.c: Likewise.
58858         * rt/shm_unlink.c: Likewise.
58859         * rt/timer_create.c: Likewise.
58860         * rt/timer_delete.c: Likewise.
58861         * rt/timer_getoverr.c: Likewise.
58862         * rt/timer_gettime.c: Likewise.
58863         * rt/timer_settime.c: Likewise.
58864         * setjmp/__longjmp.c: Likewise.
58865         * setjmp/setjmp.c: Likewise.
58866         * signal/kill.c: Likewise.
58867         * signal/killpg.c: Likewise.
58868         * signal/raise.c: Likewise.
58869         * signal/sigaction.c: Likewise.
58870         * signal/sigaltstack.c: Likewise.
58871         * signal/sigblock.c: Likewise.
58872         * signal/sigignore.c: Likewise.
58873         * signal/sigintr.c: Likewise.
58874         * signal/signal.c: Likewise.
58875         * signal/sigpause.c: Likewise.
58876         * signal/sigpending.c: Likewise.
58877         * signal/sigqueue.c: Likewise.
58878         * signal/sigreturn.c: Likewise.
58879         * signal/sigset.c: Likewise.
58880         * signal/sigsetmask.c: Likewise.
58881         * signal/sigstack.c: Likewise.
58882         * signal/sigsuspend.c: Likewise.
58883         * signal/sigtimedwait.c: Likewise.
58884         * signal/sigvec.c: Likewise.
58885         * signal/sigwait.c: Likewise.
58886         * signal/sigwaitinfo.c: Likewise.
58887         * signal/sysv_signal.c: Likewise.
58888         * socket/accept.c: Likewise.
58889         * socket/accept4.c: Likewise.
58890         * socket/bind.c: Likewise.
58891         * socket/connect.c: Likewise.
58892         * socket/getpeername.c: Likewise.
58893         * socket/getsockname.c: Likewise.
58894         * socket/getsockopt.c: Likewise.
58895         * socket/isfdtype.c: Likewise.
58896         * socket/listen.c: Likewise.
58897         * socket/recv.c: Likewise.
58898         * socket/recvfrom.c: Likewise.
58899         * socket/recvmsg.c: Likewise.
58900         * socket/send.c: Likewise.
58901         * socket/sendmsg.c: Likewise.
58902         * socket/sendto.c: Likewise.
58903         * socket/setsockopt.c: Likewise.
58904         * socket/shutdown.c: Likewise.
58905         * socket/sockatmark.c: Likewise.
58906         * socket/socket.c: Likewise.
58907         * socket/socketpair.c: Likewise.
58908         * stdio-common/ctermid.c: Likewise.
58909         * stdio-common/cuserid.c: Likewise.
58910         * stdio-common/remove.c: Likewise.
58911         * stdio-common/rename.c: Likewise.
58912         * stdio-common/renameat.c: Likewise.
58913         * stdio-common/tempname.c: Likewise.
58914         * stdlib/getcontext.c: Likewise.
58915         * stdlib/makecontext.c: Likewise.
58916         * stdlib/setcontext.c: Likewise.
58917         * stdlib/swapcontext.c: Likewise.
58918         * stdlib/system.c: Likewise.
58919         * streams/fattach.c: Likewise.
58920         * streams/fdetach.c: Likewise.
58921         * streams/getmsg.c: Likewise.
58922         * streams/getpmsg.c: Likewise.
58923         * streams/putmsg.c: Likewise.
58924         * streams/putpmsg.c: Likewise.
58925         * sysdeps/unix/bsd/getpt.c: Likewise.
58926         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
58927         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
58928         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
58929         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
58930         Likewise.
58931         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
58932         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
58933         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
58934         * sysvipc/msgctl.c: Likewise.
58935         * sysvipc/msgget.c: Likewise.
58936         * sysvipc/msgrcv.c: Likewise.
58937         * sysvipc/msgsnd.c: Likewise.
58938         * sysvipc/semctl.c: Likewise.
58939         * sysvipc/semget.c: Likewise.
58940         * sysvipc/semop.c: Likewise.
58941         * sysvipc/semtimedop.c: Likewise.
58942         * sysvipc/shmat.c: Likewise.
58943         * sysvipc/shmctl.c: Likewise.
58944         * sysvipc/shmdt.c: Likewise.
58945         * sysvipc/shmget.c: Likewise.
58946         * termios/tcdrain.c: Likewise.
58947         * termios/tcflow.c: Likewise.
58948         * termios/tcflush.c: Likewise.
58949         * termios/tcgetattr.c: Likewise.
58950         * termios/tcgetpgrp.c: Likewise.
58951         * termios/tcsendbrk.c: Likewise.
58952         * termios/tcsetattr.c: Likewise.
58953         * termios/tcsetpgrp.c: Likewise.
58954         * time/adjtime.c: Likewise.
58955         * time/clock.c: Likewise.
58956         * time/getitimer.c: Likewise.
58957         * time/gettimeofday.c: Likewise.
58958         * time/setitimer.c: Likewise.
58959         * time/settimeofday.c: Likewise.
58960         * time/stime.c: Likewise.
58961         * time/time.c: Likewise.
58963 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
58965         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
58966         /usr/old/bin.
58968         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
58969         instead of spaces.
58970         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
58972 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
58974         [BZ #14796]
58975         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
58976         FE_TONEAREST before applying Dekker multiplication and Knuth
58977         addition.  Clear inexact exceptions and check for exact zero
58978         results afterwards.
58979         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
58980         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
58981         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
58982         * math/libm-test.inc (fma_test): Add more tests.
58983         (fma_test_towardzero): Likewise.
58984         (fma_test_downward): Likewise.
58985         (fma_test_upward): Likewise.
58986         * sysdeps/generic/math_private.h (default_libc_fesetround): New
58987         function.
58988         (libc_fesetround): New macro.
58989         (libc_fesetroundf): Likewise.
58990         (libc_fesetroundl): Likewise.
58991         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
58992         function.
58993         (libc_fesetround_387): Likewise.
58994         (libc_fesetroundf): New macro.
58995         (libc_fesetround): Likewise.
58996         (libc_fesetroundl): Likewise.
58997         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
58998         function.
58999         (libc_fesetroundf): New macro.
59000         (libc_fesetround): Likewise.
59001         (libc_fesetroundl): Likewise.
59002         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
59003         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
59004         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
59005         libm_hidden_ver.
59006         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
59007         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
59008         libm_hidden_def.
59009         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
59010         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
59011         libm_hidden_ver.
59012         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
59013         libm_hidden_def.
59015         [BZ #3439]
59016         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
59017         integer constant usable in #if and use that to give value to enum
59018         constant.
59019         (FE_DIVBYZERO): Likewise.
59020         (FE_UNDERFLOW): Likewise.
59021         (FE_OVERFLOW): Likewise.
59022         (FE_INVALID): Likewise.
59023         (FE_INVALID_SNAN): Likewise.
59024         (FE_INVALID_ISI): Likewise.
59025         (FE_INVALID_IDI): Likewise.
59026         (FE_INVALID_ZDZ): Likewise.
59027         (FE_INVALID_IMZ): Likewise.
59028         (FE_INVALID_COMPARE): Likewise.
59029         (FE_INVALID_SOFTWARE): Likewise.
59030         (FE_INVALID_SQRT): Likewise.
59031         (FE_INVALID_INTEGER_CONVERSION): Likewise.
59032         (FE_TONEAREST): Likewise.
59033         (FE_TOWARDZERO): Likewise.
59034         (FE_UPWARD): Likewise.
59035         (FE_DOWNWARD): Likewise.
59036         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
59037         (FE_DIVBYZERO): Likewise.
59038         (FE_OVERFLOW): Likewise.
59039         (FE_UNDERFLOW): Likewise.
59040         (FE_INEXACT): Likewise.
59041         (FE_TONEAREST): Likewise.
59042         (FE_DOWNWARD): Likewise.
59043         (FE_UPWARD): Likewise.
59044         (FE_TOWARDZERO): Likewise.
59045         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
59046         (FE_UNDERFLOW): Likewise.
59047         (FE_OVERFLOW): Likewise.
59048         (FE_DIVBYZERO): Likewise.
59049         (FE_INVALID): Likewise.
59050         (FE_TONEAREST): Likewise.
59051         (FE_TOWARDZERO): Likewise.
59052         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
59053         (FE_OVERFLOW): Likewise.
59054         (FE_UNDERFLOW): Likewise.
59055         (FE_DIVBYZERO): Likewise.
59056         (FE_INEXACT): Likewise.
59057         (FE_TONEAREST): Likewise.
59058         (FE_TOWARDZERO): Likewise.
59059         (FE_UPWARD): Likewise.
59060         (FE_DOWNWARD): Likewise.
59061         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
59062         (FE_DIVBYZERO): Likewise.
59063         (FE_OVERFLOW): Likewise.
59064         (FE_UNDERFLOW): Likewise.
59065         (FE_INEXACT): Likewise.
59066         (FE_TONEAREST): Likewise.
59067         (FE_DOWNWARD): Likewise.
59068         (FE_UPWARD): Likewise.
59069         (FE_TOWARDZERO): Likewise.
59071 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
59073         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
59075 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
59077         * scripts/cross-test-ssh.sh (command): Use newlines to separate
59078         commands.  Quote $PWD.
59079         (blacklist_exports): Don't use remove_newlines.  Replace "declare
59080         -x" by "export".
59081         (remove_newlines): Remove.
59083 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
59085         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
59086         * stdlib/stdlib.h (atof): Moved to ...
59087         * include/bits/stdlib-float.h: Here.  New file.
59088         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
59089         * stdlib/bits/stdlib-float.h: New file.
59090         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
59091         -mno-sse -mno-mmx.
59092         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
59093         <xmmintrin.h>.
59095 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
59097         * conform/conformtest.pl (@headers): Add fenv.h.
59098         * conform/data/fenv.h-data: New file.
59099         * include/fenv.h [_ISOMAC]: Disable all contents of file except
59100         include of <math/fenv.h>.
59102         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
59103         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
59104         && !UNIX98].  Enables tests for XOPEN2K8.
59105         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
59106         POSIX2008]: Likewise.
59108         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
59109         (struct rusage): Do not expect type or its members.
59111         [BZ #3439]
59112         * math/math.h (FP_NAN): Define macro to integer constant usable in
59113         #if and use that to give value to enum constant.
59114         (FP_INFINITE): Likewise.
59115         (FP_ZERO): Likewise.
59116         (FP_SUBNORMAL): Likewise.
59117         (FP_NORMAL): Likewise.
59119 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
59121         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
59122         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
59123         arguments.
59125 2012-11-02  Roland McGrath  <roland@hack.frob.com>
59127         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
59128         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
59129         autoconf-time if not.
59130         * configure.in: Remove AC_PREREQ.
59132 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
59134         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
59135         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
59136         of the internal implementation.
59138 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
59140         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
59141         except include of <misc/sys/syslog.h>.
59143 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
59145         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
59146         function returns with a NULL context exit with zero.
59148 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
59150         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
59152 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
59154         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
59155         (run_program_cmd): This.
59156         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
59157         (tst_langinfo): New variable.  Use it.
59159 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
59161         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
59162         floating point opcodes.
59164 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
59166         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
59167         variable.
59169         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
59171         * sysdeps/mach/hurd/powerpc: Remove directory.
59172         * sysdeps/mach/powerpc: Likewise.
59174 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
59176         * scripts/check-local-headers.sh: Ignore c++ headers.
59178 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
59180         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
59181         __libc_cleanup_region_start argument.
59183 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
59185         [BZ #14784]
59186         [BZ #14785]
59187         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
59188         x * y using scaling, not as x * y + z.
59189         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
59190         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
59191         * math/libm-test.inc (fma_test): Add more tests.
59192         (fma_test_towardzero): Likewise.
59193         (fma_test_downward): Likewise.
59194         (fma_test_upward): Likewise.
59196 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
59198         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
59200 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
59202         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
59203         New variable.
59205 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
59207         * rt/tst-shm.c (worker): Correct checking for mmap failure.
59209 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
59211         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
59212         Fix sort order.
59213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
59214         Likewise.
59216 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
59218         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
59219         Fix the order of the list for glibc 2.17.
59220         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
59221         Likewise.
59223 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
59225         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59227 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
59229         [BZ #14610]
59230         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
59231         for low part of x being zero before using __atanl (y).
59232         * math/libm-test.inc (atan2_test): Add another test.
59234         * manual/install.texi (Configuring and compiling): Document
59235         general use of test-wrapper and test-wrapper-env.
59236         * INSTALL: Regenerated.
59238         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
59239         (__fma): Do not extract and scale down low bits on after-rounding
59240         systems when result rounded to normal precision would have normal
59241         exponent.
59242         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
59243         (__fmal): Do not extract and scale down low bits on after-rounding
59244         systems when result rounded to normal precision would have normal
59245         exponent.
59246         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
59247         (__fmal): Do not extract and scale down low bits on after-rounding
59248         systems when result rounded to normal precision would have normal
59249         exponent.
59250         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
59251         macro.
59252         (fma_test): Add more tests.
59253         (fma_test_towardzero): Likewise.
59254         (fma_test_downward): Likewise.
59255         (fma_test_upward): Likewise.
59257 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
59259         * sysdeps/i386/tininess.h: Renamed to ...
59260         * sysdeps/x86/tininess.h: This.
59261         * sysdeps/x86_64/tininess.h: Removed.
59263 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
59265         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
59266         input.  Use $(build-program-cmd).
59267         ($(objpfx)tst-array1-static.out): Likewise.
59268         ($(objpfx)tst-array2.out): Likewise.
59269         ($(objpfx)tst-array3.out): Likewise.
59270         ($(objpfx)tst-array4.out): Likewise.
59271         ($(objpfx)tst-array5.out): Likewise.
59272         ($(objpfx)tst-array5-static.out): Likewise.
59274 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
59276         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
59277         if defined.
59279         * nss/nsswitch.h (nss_interface_function): Provide new
59280         macro for use with NSS functions.
59281         * grp/initgroups.c: Use new macro.
59282         * nss/getXXbyYY.c: Likewise.
59283         * nss/getXXbyYY_r.c: Likewise.
59284         * nss/getXXent.c: Likewise.
59285         * nss/getXXent_r.c: Likewise.
59286         * sysdeps/posix/getaddrinfo.c: Likewise.
59288 2012-10-30  Andreas Jaeger  <aj@suse.de>
59290         * po/ru.po: Update Russion translation from translation project.
59292 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
59294         [BZ #14152]
59295         [BZ #14783]
59296         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
59297         result and shift together with sticky bit instead of replicating
59298         round-to-nearest rounding.
59299         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
59300         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
59301         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
59302         missing underflow exceptions.
59303         (fma_test_towardzero): Add more tests.
59304         (fma_test_downward): Likewise.
59305         (fma_test_upward): Likewise.
59307         [BZ #14047]
59308         * sysdeps/generic/tininess.h: New file.
59309         * sysdeps/i386/tininess.h: Likewise.
59310         * sysdeps/sh/tininess.h: Likewise.
59311         * sysdeps/x86_64/tininess.h: Likewise.
59312         * stdlib/tst-strtod-underflow.c: Likewise.
59313         * stdlib/tst-tininess.c: Likewise.
59314         * stdlib/strtod_l.c: Include <tininess.h>.
59315         (round_and_return): Do not set errno for exact underflow cases.
59316         Force an underflow exception when setting errno for underflow.
59317         Determine underflow based on rounding to normal precision if
59318         TININESS_AFTER_ROUNDING.
59319         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
59320         ERANGE for exact underflow cases.
59321         * stdlib/Makefile (tests): Add tst-tininess and
59322         tst-strtod-underflow.
59323         ($(objpfx)tst-tininess): Use $(link-libm).
59324         ($(objpfx)tst-strtod-underflow): Likewise.
59326 2012-10-30  Andreas Jaeger  <aj@suse.de>
59328         [BZ#14767]
59329         * elf/Makefile (tests): Remove conditional for have-initfini-array
59330         since this is now always required and the variable does not exist
59331         anymore.
59332         (tests-static): Likewise.
59333         (modules-names): Likewise.
59335         * po/eo.po: Add Esperanto translation from translation project.
59337         * elf/tst-array1.c (fini_array): Make writeable so that it can be
59338         merged with constructor/destructor.
59339         (init_array): Likewise.
59340         * elf/tst-array2dep.c (fini_array): Likewise.
59341         (init_array): Likewise.
59343 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
59345         * manual/message.texi: Delete @cartouche tags.
59347 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
59349         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
59350         EOPNOTSUPP.
59351         * sysdeps/mach/hurd/fsync.c: Likewise.
59353         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
59354         [_POSIX_REALTIME_SIGNALS]: Change condition to
59355         [_POSIX_REALTIME_SIGNALS > 0].
59357 2012-10-27  Andreas Jaeger  <aj@suse.de>
59359         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
59360         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
59361         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
59362         [__WORDSIZE != 64]: Likewise.
59364 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
59366         *  iconvdata/tst-table.sh: Remove ${SHELL}.
59367         *  iconvdata/tst-tables.sh: Likewise.
59369 2012-10-25  David S. Miller  <davem@davemloft.net>
59371         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
59372         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
59373         of strtoull.
59375         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
59376         ifunc-impl-list.c
59377         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
59378         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
59379         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
59380         file.
59382 2012-10-25  Roland McGrath  <roland@hack.frob.com>
59384         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
59385         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
59386         __getdirentries.
59388 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
59389             Jim Blandy  <jimb@codesourcery.com>
59391         * scripts/cross-test-ssh.sh: New file.
59392         * manual/install.texi (Configuring and compiling): Document use of
59393         cross-test-ssh.sh.
59394         * INSTALL: Regenerated.
59396 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
59398         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
59399         EOPNOTSUPP.
59401 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
59403         * Makeconfig (run-program-prefix): Fix comment.
59405 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
59406             Jim Blandy  <jimb@codesourcery.com>
59408         * Makeconfig (test-wrapper): New variable,
59409         (test-wrapper-env): Likewise.
59410         [$(cross-compiling) = yes && $(test-wrapper) != ""]
59411         (run-built-tests): Define to yes.
59412         (run-program-prefix): Use $(test-wrapper).
59413         (built-program-cmd): Likewise.
59414         * Rules (make-test-out): Use $(test-wrapper-env) and
59415         $(host-built-program-cmd).
59416         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
59417         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
59418         tst-pathopt.sh.
59419         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
59420         $(test-wrapper-env) to tst-rtld-load-self.sh.
59421         ($(objpfx)order2.out): Use $(test-wrapper).
59422         ($(objpfx)tst-initorder.out): Likewise.
59423         ($(objpfx)tst-initorder2.out): Likewise.
59424         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
59425         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
59426         (test_wrapper_env): New variable.  Use it to run ld.so.
59427         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
59428         Use it to run ld.so.
59429         (test_wrapper_env): Likewise.
59430         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
59431         $(test-wrapper) to run-iconv-test.sh.
59432         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
59433         (ICONV): Use $test_wrapper.
59434         * posix/Makefile ($(objpfx)globtest.out): Pass
59435         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
59436         globtest.sh, not $(run-program-prefix).
59437         * posix/globtest.sh (run_via_rtld_prefix): New variable.
59438         (test_wrapper): Likewise.
59439         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
59440         set together with run_via_rtld_prefix.
59441         (run_program_prefix): Define in terms of test_wrapper and
59442         run_via_rtld_prefix.
59444 2012-10-24  Roland McGrath  <roland@hack.frob.com>
59446         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
59447         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
59448         Targets removed.
59450         [BZ #14743]
59451         * include/time.h: Remove librt_hidden_proto (clock_gettime).
59452         Declare __clock_getres, __clock_gettime, __clock_settime,
59453         __clock_nanosleep, and __clock_getcpuclockid.
59454         * rt/clock_gettime.c: Define __clock_gettime as an alias.
59455         Remove librt_hidden_def (clock_gettime).
59456         * sysdeps/unix/clock_gettime.c: Likewise.
59457         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
59458         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
59459         * rt/clock_getres.c: Define __clock_getres as an alias.
59460         * sysdeps/posix/clock_getres.c: Likewise.
59461         * rt/clock_settime.c: Define __clock_settime as an alias.
59462         * sysdeps/unix/clock_settime.c: Likewise.
59463         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
59464         * sysdeps/unix/clock_nanosleep.c: Likewise.
59465         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
59466         * rt/clock-compat.c: New file.
59467         * rt/Makefile (librt-routines): Add clock-compat and move
59468         $(clock-routines) to ...
59469         (routines): ... here, new variable.
59470         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
59471         Don't add get_clockfreq here.
59472         * rt/Versions (libc: GLIBC_2.17): New version set.
59473         Add clock_* symbols here.
59474         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
59475         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
59476         (GLIBC_2.17): Add clock_* symbols.
59477         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
59478         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
59479         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
59480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
59481         Likewise.
59482         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
59483         Likewise.
59484         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
59485         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
59486         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
59487         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
59488         * NEWS: Mention the move.
59490         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
59491         Use __open, __read, __close rather than their public counterparts.
59492         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
59493         (__get_clockfreq_via_cpuinfo): Likewise.
59494         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
59495         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
59497         * config.h.in (HAVE_IFUNC): New #undef.
59498         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
59499         was successful.
59500         * configure: Regenerated.
59502 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
59504         * configure.in: Move READELF check to start of file.
59505         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
59506         libc_cv_asm_gnu_indirect_function in the process.
59507         * configure: Regenerated.
59509 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
59511         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
59512         send the output to /dev/null.
59513         (libc_cv_cc_with_libunwind): Likewise.
59514         (libc_cv_as_noexecstack): Likewise.
59515         * configure: Regenerate.
59517 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
59519         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
59521         * posix/globtest.sh (TMPDIR): Do not set.
59522         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
59523         (testout): Likewise.
59525 2012-10-24  Andreas Jaeger  <aj@suse.de>
59527         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
59528         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
59529         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
59530         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
59531         posix_fadvise64, posix_fallocate64.
59533         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
59534         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
59535         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
59536         Likewise.
59537         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
59538         Likewise.
59539         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
59541         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
59542         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
59543         <bits/fcntl-linux.h>.
59544         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
59546         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
59547         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
59548         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
59549         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
59550         [__WORDSIZE != 64]: Likewise.
59552 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
59554         * Makeconfig (run-built-tests): New variable.
59555         * Rules [$(cross-compiling) = yes]: Change condition to
59556         [$(run-built-tests) = no].
59557         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
59558         to [$(run-built-tests) = yes].
59559         * elf/Makefile [$(cross-compiling) = no]: Likewise.
59560         * grp/Makefile [$(cross-compiling) = no]: Likewise.
59561         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
59562         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
59563         * intl/Makefile [$(cross-compiling) = no]: Likewise.
59564         * io/Makefile [$(cross-compiling) = no]: Likewise.
59565         * libio/Makefile [$(cross-compiling) = no]: Likewise.
59566         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
59567         * misc/Makefile [$(cross-compiling) = no]: Likewise.
59568         * posix/Makefile [$(cross-compiling) = no]: Likewise.
59569         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
59570         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
59571         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
59572         * string/Makefile [$(cross-compiling) = no]: Likewise.
59574         * posix/Makefile ($(objpfx)globtest.out): Pass
59575         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
59576         $(rtld-installed-name).
59577         * posix/globtest.sh (elf_objpfx): Remove variable.
59578         (rtld_installed_name): Likewise.
59579         (library_path): Likewise.
59580         (run_program_prefix): New variable.  Use for running globtest
59581         binary.
59583 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
59584             Joseph Myers  <joseph@codesourcery.com>
59586         * Makeconfig (host-built-program-cmd): New variable.
59587         * elf/Makefile (tst-stackguard1-ARGS): Use
59588         $(host-built-program-cmd).
59589         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
59590         (tst-spawn-ARGS): Likewise.
59591         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
59593 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
59594             Jim Blandy  <jimb@codesourcery.com>
59596         * Makeconfig (run-via-rtld-prefix): New variable.
59597         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
59598         (built-program-cmd): Likewise.
59600 2012-10-22  Andreas Jaeger  <aj@suse.de>
59602         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
59603         __O_RSYNC if it exists, otherwise to O_SYNC.
59605 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
59606             Joseph Myers  <joseph@codesourcery.com>
59608         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
59609         /dev/null.
59610         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
59611         from /dev/null
59612         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
59613         /dev/null.
59615 2012-10-22  Andreas Jaeger  <aj@suse.de>
59617         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
59618         Define always.
59619         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
59621         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
59622         bits/fcntl-linux.h.
59624         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
59625         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
59627         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
59628         to __O_LARGEFILE.
59629         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
59630         to __O_LARGEFILE.
59632 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
59633             Joseph Myers  <joseph@codesourcery.com>
59635         * config.make.in (NM): New variable.
59637 2012-10-21  Andreas Jaeger  <aj@suse.de>
59639         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
59640         definitions and declarations that are provided by
59641         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
59643 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
59645         [BZ #14683]
59646         * elf/Makefile (tests-static): Add tst-leaks1-static.
59647         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
59648         ($(objpfx)tst-leaks1-static): New rule.
59649         ($(objpfx)tst-leaks1-static-mem): Likewise.
59650         (tst-leaks1-static-ENV): New macro.
59651         * elf/dl-open.c (dl_open_worker): Check the main application
59652         only if SHARED is defined.
59653         * elf/tst-leaks1-static.c: New file.
59655 2012-10-20  Andreas Jaeger  <aj@suse.de>
59657         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
59658         generic values for Linux.
59659         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
59660         and declarations that are provided by <bits/fcntl-linux.h> and
59661         include <bits/fcntl-linux.h>.
59662         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
59663         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
59665 2012-10-20  Roland McGrath  <roland@hack.frob.com>
59667         * io/fcntl.h: Move include of <bits/types.h> to the top and
59668         include it unconditionally.
59670 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
59672         * wcsmbs/Makefile (tests-ifunc): New variable.
59673         (tests): Add $(tests-ifunc).
59674         * wcsmbs/test-wcschr-ifunc.c: New file.
59675         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
59676         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
59677         * wcsmbs/test-wcslen-ifunc.c: Likewise.
59678         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
59679         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
59681         * string/Makefile (tests-ifunc): New variable.
59682         (tests): Add $(tests-ifunc).
59683         * string/test-memccpy.c (TEST_NAME): New macro.
59684         * string/test-memchr.c (TEST_NAME): Likewise.
59685         * string/test-memcmp.c (TEST_NAME): Likewise.
59686         * string/test-memcpy.c (TEST_NAME): Likewise.
59687         * string/test-memmem.c (TEST_NAME): Likewise.
59688         * string/test-memmove.c (TEST_NAME): Likewise.
59689         * string/test-memset.c (TEST_NAME): Likewise.
59690         * string/test-rawmemchr.c (TEST_NAME): Likewise.
59691         * string/test-stpcpy.c (TEST_NAME): Likewise.
59692         * string/test-stpncpy.c (TEST_NAME): Likewise.
59693         * string/test-strcasecmp.c (TEST_NAME): Likewise.
59694         * string/test-strcasestr.c (TEST_NAME): Likewise.
59695         * string/test-strcat.c (TEST_NAME): Likewise.
59696         * string/test-strchr.c (TEST_NAME): Likewise.
59697         * string/test-strcmp.c(TEST_NAME): Likewise.
59698         * string/test-strcpy.c (TEST_NAME): Likewise.
59699         * string/test-strcspn.c (TEST_NAME): Likewise.
59700         * string/test-strlen.c (TEST_NAME): Likewise.
59701         * string/test-strncasecmp.c (TEST_NAME): Likewise.
59702         * string/test-strncmp.c (TEST_NAME): Likewise.
59703         * string/test-strncpy.c (TEST_NAME): Likewise.
59704         * string/test-strnlen.c (TEST_NAME): Likewise.
59705         * string/test-strpbrk.c (TEST_NAME): Likewise.
59706         * string/test-strrchr.c (TEST_NAME): Likewise.
59707         * string/test-strspn.c (TEST_NAME): Likewise.
59708         * string/test-strstr.c (TEST_NAME): Likewise.
59709         * string/test-bcopy-ifunc.c: New file.
59710         * string/test-bzero-ifunc.c: Likewise.
59711         * string/test-memccpy-ifunc.c: Likewise.
59712         * string/test-memchr-ifunc.c: Likewise.
59713         * string/test-memcmp-ifunc.c: Likewise.
59714         * string/test-memcpy-ifunc.c: Likewise.
59715         * string/test-memmem-ifunc.c: Likewise.
59716         * string/test-memmove-ifunc.c: Likewise.
59717         * string/test-mempcpy-ifunc.c: Likewise.
59718         * string/test-memset-ifunc.c: Likewise.
59719         * string/test-rawmemchr-ifunc.c: Likewise.
59720         * string/test-stpcpy-ifunc.c: Likewise.
59721         * string/test-stpncpy-ifunc.c: Likewise.
59722         * string/test-strcasecmp-ifunc.c: Likewise.
59723         * string/test-strcasestr-ifunc.c: Likewise.
59724         * string/test-strcat-ifunc.c: Likewise.
59725         * string/test-strchr-ifunc.c: Likewise.
59726         * string/test-strchrnul-ifunc.c: Likewise.
59727         * string/test-strcmp-ifunc.c: Likewise.
59728         * string/test-strcpy-ifunc.c: Likewise.
59729         * string/test-strcspn-ifunc.c: Likewise.
59730         * string/test-strlen-ifunc.c: Likewise.
59731         * string/test-strncasecmp-ifunc.c: Likewise.
59732         * string/test-strncat-ifunc.c: Likewise.
59733         * string/test-strncmp-ifunc.c: Likewise.
59734         * string/test-strncpy-ifunc.c: Likewise.
59735         * string/test-strnlen-ifunc.c: Likewise.
59736         * string/test-strpbrk-ifunc.c: Likewise.
59737         * string/test-strrchr-ifunc.c: Likewise.
59738         * string/test-strspn-ifunc.c: Likewise.
59739         * string/test-strstr-ifunc.c: Likewise.
59741         * debug/Makefile (tests-ifunc): New variable.
59742         (tests): Add $(tests-ifunc).
59743         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
59744         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
59745         * debug/test-stpcpy_chk-ifunc.c: New file.
59746         * debug/test-strcpy_chk-ifunc.c: Likewise.
59748 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
59750         [BZ #13601]
59751         * elf/dl-load.c (open_verify): Retry read if the entire ELF
59752         header is not read in.
59754 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
59756         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
59757         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
59758         directly.  Pass built executable to script as
59759         $(built-program-cmd).
59760         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
59761         $testprogram without using LD_LIBRARY_PATH and $ldso.
59763         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
59764         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
59765         $(rtld-installed-name).
59766         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
59767         (rtld_installed_name): Likewise.
59768         (library_path): Likewise.
59769         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
59770         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
59771         $(run-program-prefix) to tst-tables.sh.
59772         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
59773         it to run tst-table-from and tst-table-to.
59774         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
59775         Pass it to tst-table.sh.
59776         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
59777         $(run-program-prefix) to tst-gettext.sh.
59778         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
59779         tst-translit.sh.
59780         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
59781         tst-gettext2.sh.
59782         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
59783         to run tst-gettext.
59784         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
59785         to run tst-gettext2.
59786         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
59787         to run tst-translit.
59788         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
59789         $(run-program-prefix) to tst-mtrace.sh.
59790         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
59791         to run tst-mtrace.
59792         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
59793         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
59794         $(rtld-installed-name).
59795         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
59796         (rtld_installed_name): Likewise.
59797         (run_program_prefix): New variable.  Use it to run wordexp-test.
59799         * Makeconfig (ARCH): Remove all definitions.
59800         (machine): Likewise.
59801         [ARCH]: Remove conditional code.
59802         [!objdir]: Give error.
59803         [!objdir] (objpfx): Remove.
59804         [!objdir] (common-objpfx): Likewise.
59805         [!objdir] (common-objdir): Likewise.
59806         * configure.in (config_makefile): Remove.  Hardcode Makefile in
59807         AC_CONFIG_FILES call.
59808         * configure: Regenerated.
59810         [BZ #13888]
59811         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
59812         or TMPDIR.
59813         (testout): Likewise.
59815         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
59816         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
59817         $(rtld-installed-name).
59818         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
59819         (rtld_installed_name): Likwise.
59820         (runit): Remove function.
59821         (run_getconf): New variable,  Use it for running getconf binary.
59823 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
59825         [BZ #14716]
59826         * string/test-memmem.c (check_result): New function.
59827         (do_one_test): Use it.
59828         (check1): New function.
59829         (test_main): Use it.
59831 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
59833         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
59835 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
59837         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
59838         (_G_LSEEK64): Likewise.
59839         (_G_MMAP64): Likewise.
59840         (_G_FSTAT64): Likewise.
59841         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
59842         (_G_LSEEK64): Likewise.
59843         (_G_MMAP64): Likewise.
59844         (_G_FSTAT64): Likewise.
59845         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
59846         unconditional.  Call __mmap64 directly.
59847         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
59848         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
59849         __lseek64 directly.
59850         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
59851         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
59852         __mmap64 directly.
59853         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
59854         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
59855         __lseek64 directly.
59856         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
59857         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
59858         __lseek64 directly.
59859         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
59860         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
59861         __lseek64 directly.
59862         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
59863         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
59864         __fxstat64 directly.
59865         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
59866         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
59867         unconditional.
59868         (freopen64) [!_G_OPEN64]: Remove conditional code.
59869         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
59870         unconditional.
59871         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
59872         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
59873         unconditional.
59874         (ftello64) [!_G_LSEEK64]: Remove conditional code.
59875         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
59876         unconditional.
59877         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
59878         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
59879         unconditional.
59880         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
59881         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
59882         unconditional.
59883         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
59884         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
59885         unconditional.
59886         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
59887         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
59888         unconditional.
59889         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
59891 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
59893         [BZ #12140]
59894         * manual/memory.texi (Malloc Tunable Parameters): Add note
59895         about free list pointers overwriting some perturb bytes.
59896         Wording suggested by Roland McGrath.
59898 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
59900         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
59901         (lgamma_test): Likewise.
59902         (tgamma_test): Likewise.
59904 2012-10-16  Florian Weimer  <fweimer@redhat.com>
59906         [BZ #14700]
59907         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
59908         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
59910 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
59912         * NEWS: Mention BZ #14716.
59913         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
59914         when removing AVAILABLE1_USES_J macro.
59916 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
59918         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
59919         (__bswap_64): __uint64_t for unsigned 64-bit int.
59921 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
59923         * include/string.h (memmem): Declare libc hidden alias.
59924         * string/memmem.c (memmem): Define libc hidden alias.
59925         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
59926         __read, __close instead of open, read, close.
59928 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
59930         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
59931         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
59932         global and hidden.
59933         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
59934         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
59935         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
59936         Likewise.
59937         (__rawmemchr_sse2): Likewise.
59938         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
59939         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
59940         (__strchr_sse2): Likewise.
59941         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
59942         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
59943         (__strcasecmp_sse2): Likewise.
59944         (__strncasecmp_sse2): Likewise.
59945         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
59946         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
59947         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
59948         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
59949         (__strrchr_sse2): Likewise.
59950         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
59951         ifunc-impl-list.c.
59952         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
59953         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
59954         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
59955         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
59956         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
59957         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
59958         * sysdeps/x86_64/multiarch/memset.S: Likewise.
59959         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
59960         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
59961         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
59962         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
59963         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
59964         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
59965         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
59966         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
59967         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
59968         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
59969         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
59970         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
59971         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
59972         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
59973         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
59974         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
59975         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
59976         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
59977         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
59978         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
59979         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
59980         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
59981         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
59983         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
59984         global and hidden.
59985         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
59986         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
59987         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
59988         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
59989         Likewise.
59990         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
59991         Likewise.
59992         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
59993         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
59994         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
59995         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
59996         ifunc-impl-list.c.
59997         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
59998         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
59999         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
60000         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
60001         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
60002         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
60003         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
60004         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
60005         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
60006         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
60007         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
60008         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
60009         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
60010         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
60011         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
60012         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
60013         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
60014         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
60015         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
60016         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
60017         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
60018         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
60019         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
60020         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
60021         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
60022         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
60023         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
60024         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
60025         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
60026         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
60027         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
60028         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
60029         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
60030         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
60031         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
60032         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
60033         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
60034         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
60035         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
60036         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
60037         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
60039         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
60040         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
60041         * include/ifunc-impl-list.h: New file.
60042         * misc/ifunc-impl-list.c: Likewise.
60043         * misc/Makefile (routines): Add ifunc-impl-list.
60044         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
60045         * string/test-string.h: Include <ifunc-impl-list.h>.
60046         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
60047         TEST_NAME]: New variables.
60048         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
60049         are defined.
60050         (test_init): Call __libc_ifunc_impl_list to initialize
60051         func_list if TEST_IFUNC and TEST_NAME are defined.
60053         * string/Makefile (strop-tests): Add bcopy and bzero.
60054         * string/test-bcopy.c: New file.
60055         * string/test-bzero.c: Likewise.
60056         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
60057         defined.
60058         * string/test-memset.c: Support bzero test if TEST_BZERO is
60059         defined.
60060         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
60061         __libc_memmove.
60062         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
60063         __libc_memset.
60064         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
60065         of memset.
60067 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
60069         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
60070         * configure: Regenerated.
60072         * Makeconfig (+link-static-before-libc): Don't include
60073         $(link-static-libc).
60075         * libio/libio.h (_IO_pos_t): Remove.
60077 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
60079         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
60080         McGrath.
60082 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
60084         * crypt/crypt-entry.c: Include fips-private.h.
60085         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
60086         * crypt/md5c-test.c (main): Tolerate disabled MD5.
60087         * sysdeps/unix/sysv/linux/fips-private.h: New file.
60088         * sysdeps/generic/fips-private.h: New file, dummy fallback.
60090 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
60092         * crypt/crypt-private.h: Include stdbool.h.
60093         (_ufc_setup_salt_r): Return bool.
60094         * crypt/crypt-entry.c: Include errno.h.
60095         (__crypt_r): Return NULL with EINVAL for bad salt.
60096         * crypt/crypt_util.c (bad_for_salt): New.
60097         (_ufc_setup_salt_r): Check that salt is long enough and within
60098         the specified alphabet.
60099         * crypt/badsalttest.c: New file.
60100         * crypt/Makefile (tests): Add it.
60101         ($(objpfx)badsalttest): New.
60103 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
60105         * NEWS: Add entry for BZ #14602.
60107 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
60109         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
60110         type-generic.
60111         * math/libm-test.inc: Update comment listing what functions and
60112         macros are tested.
60113         (isgreater_test): New function.
60114         (isgreaterequal_test): Likewise.
60115         (isless_test): Likewise.
60116         (islessequal_test): Likewise.
60117         (islessgreater_test): Likewise.
60118         (isunordered_test): Likewise.
60119         (main): Call the new functions.
60121 2012-10-09  Roland McGrath  <roland@hack.frob.com>
60123         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
60124         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
60125         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
60126         * sysdeps/i386/configure: Regenerated.
60127         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
60128         * sysdeps/mach/configure: Regenerated.
60129         * sysdeps/mach/hurd/configure: Regenerated.
60130         * sysdeps/powerpc/configure: Regenerated.
60131         * sysdeps/powerpc/powerpc32/configure: Regenerated.
60132         * sysdeps/powerpc/powerpc64/configure: Regenerated.
60133         * sysdeps/s390/s390-32/configure: Regenerated.
60134         * sysdeps/s390/s390-64/configure: Regenerated.
60135         * sysdeps/sh/configure: Regenerated.
60136         * sysdeps/sparc/configure: Regenerated.
60137         * sysdeps/unix/sysv/linux/configure: Regenerated.
60138         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
60139         * sysdeps/x86_64/configure: Regenerated.
60141         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
60142         defined.  Don't check if MAP is NULL.
60144 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
60146         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
60147         (_G_stat64): Likewise.
60148         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
60149         (_G_stat64): Likewise.
60150         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
60151         instead of struct _G_stat64.
60152         * libio/fileops.c (mmap_remap_check): Likewise.
60153         (decide_maybe_mmap): Likewise.
60154         (_IO_new_file_seekoff): Likewise.
60155         (_IO_file_stat): Likewise.
60156         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
60157         _G_off64_t.
60158         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
60159         instead of struct _G_stat64.
60160         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
60162 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
60164         [BZ #14602]
60165         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
60166         Replace with ...
60167         (CHECK_EOL): New macro.
60168         (two_way_short_needle): Check beginning of haystack for EOL.  Use
60169         CHECK_EOL.
60170         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
60171         Replace with CHECK_EOL.
60172         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
60173         Replace with CHECK_EOL.
60175 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
60177         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
60178         type-generic.
60179         * math/libm-test.inc: Update comment listing what functions and
60180         macros are tested.
60181         (finite_test): New function.
60182         (isinf_test): Likewise.
60183         (isnan_test): Likewise.
60184         (fpclassify_test): Test subnormal input.
60185         (isfinite_test): Likewise.
60186         (isnormal_test): Likewise.
60187         (main): Call the new functions.
60189 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
60191         [BZ #14660]
60192         * Makerules (%.dynsym): Force C locale when running
60193         $(OBJDUMP) --dynamic-syms.
60195 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
60197         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
60198         <stdint.h>.
60200 2012-10-06  David S. Miller  <davem@davemloft.net>
60202         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
60203         upper 32-bits of the length value in %o2 since we use branch-on-register
60204         tests which consider the entire 64-bit register.
60206 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
60208         * string/test-strstr.c (check2): Add a test for page boundary.
60210 2012-10-05  David S. Miller  <davem@davemloft.net>
60212         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
60213         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
60214         file.
60215         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
60216         sysdep_routines.
60217         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
60218         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
60219         and bzero when HWCAP_SPARC_CRYPTO is present.
60221 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
60223         [BZ #14602]
60224         * string/test-strstr.c (check2): New function.
60225         (test_main): Call check2.
60227         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
60228         and bug-strchr1.
60229         * string/bug-strcasestr1.c (do_test): Moved to ...
60230         * string/test-strcasestr.c (check1): Here.  New function.
60231         (do_one_test): Break out result checking code into ...
60232         (check_result): This.  New function.
60233         (do_one_test): Call check_result.
60234         (test_main): Call check1.
60235         * string/bug-strchr1.c (do_test): Moved to ...
60236         * string/test-strchr.c (check1): Here.  New function.
60237         (do_one_test): Break out result checking code into ...
60238         (check_result): This.  New function.
60239         (do_one_test): Call check_result.
60240         (test_main): Call check1.
60241         * string/bug-strstr1.c (main): Moved to ...
60242         * string/test-strstr.c (check1): Here.  New function.
60243         (do_one_test): Break out result checking code into ...
60244         (check_result): This.  New function.
60245         (do_one_test): Call check_result.
60246         (test_main): Call check1.
60247         * string/bug-strcasestr1.c: Removed.
60248         * string/bug-strchr1.c: Likewise.
60249         * string/bug-strstr1.c: Likewise.
60251         * elf/Makefile (dl-routines): Add hwcaps.
60252         * elf/dl-support.c (_dl_important_hwcaps): Removed.
60253         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
60254         (_dl_important_hwcaps): Moved to ...
60255         * elf/dl-hwcaps.c: Here.  New file.
60256         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
60258         [BZ #14557]
60259         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
60260         if IS_IN_rtld isn't defined.
60262         * elf/dl-support.c (_dl_sysinfo_map): New.
60263         Include "get-dynamic-info.h" and "setup-vdso.h".
60264         (_dl_non_dynamic_init): Call setup_vdso.
60265         * elf/dynamic-link.h: Don't include <assert.h>.
60266         (elf_get_dynamic_info): Moved to ...
60267         * elf/get-dynamic-info.h: Here.  New file.
60268         * elf/dynamic-link.h: Include "get-dynamic-info.h".
60269         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
60270         * elf/setup-vdso.h: Here.  New file.
60271         * elf/rtld.c: Include "setup-vdso.h".
60272         (dl_main): Call setup_vdso.
60274 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
60276         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
60277         creal in comment listing functions tested.  List finite, isinf,
60278         isnan, isless, islessequal, isgreater, isgreaterequal,
60279         islessgreater, isunordered, lgamma_r and pow10 as functions and
60280         macros not tested.  Mention which functions not tested are aliases
60281         for other functions.  Fix typo.  Note that signs of NaNs are not
60282         tested.
60284         * scripts/config.guess: Update from config.git.
60285         * scripts/config.sub: Likewise.
60287 2012-10-04  Roland McGrath  <roland@hack.frob.com>
60289         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
60290         * misc/madvise.c (madvise): Renamed to __madvise.
60291         Make madvise a weak alias.
60292         * include/sys/mman.h: Declare __madvise.
60293         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
60294         * sysdeps/unix/syscalls.list
60295         (madvise): Make __madvise the strong name, and madvise a weak alias.
60296         * sysdeps/unix/sysv/linux/syscalls.list
60297         (madvise, mmap): Remove redundant entries.
60298         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
60299         * malloc/malloc.c (mtrim): Likewise.
60300         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
60302 2012-10-03  Roland McGrath  <roland@hack.frob.com>
60304         * sysdeps/mach/hurd/dl-cache.c: File removed.
60305         * config.h.in (USE_LDCONFIG): New #undef.
60306         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
60307         * configure: Regenerated.
60308         * elf/Makefile (dl-routines): Add dl-cache only under
60309         [$(use-ldconfig) = yes].
60310         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
60311         cache on [USE_LDCONFIG].
60312         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
60313         [USE_LDCONFIG].
60314         * elf/rtld.c (dl_main): Likewise.
60316 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
60318         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
60319         _SC_LEVEL4_CACHE_LINESIZE.
60321 2012-10-03  Roland McGrath  <roland@hack.frob.com>
60323         * sysdeps/unix/bsd/confstr.h: File removed.
60325 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
60327         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
60328         sys/sdt-config.h.
60330 2012-10-02  Roland McGrath  <roland@hack.frob.com>
60332         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
60333         Make 'mapoff' field ElfW(Off) rather than off_t.
60335 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
60337         * nscd/Makefile: Remove nscd-cflags and all its users.
60338         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
60339         (CFLAGS-nonlib): Add compiler flags for nscd modules.
60341         [BZ #10631]
60342         * malloc.c (malloc_printerr): Clarify error message.
60344 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
60346         [BZ #14648]
60347         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60348         Set bit_FMA_Usable if FMA is supported.
60349         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
60350         macro.
60351         (bit_FMA4_Usable): Updated.
60352         (index_FMA_Usable): New macro.
60353         (CPUID_FMA): Likewise.
60354         (HAS_FMA): Defined with bit_FMA_Usable.
60356 2012-10-01  Roland McGrath  <roland@hack.frob.com>
60358         * bits/types.h (__swblk_t): Type removed.
60359         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
60360         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
60361         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
60362         (__SWBLK_T_TYPE): Likewise.
60363         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
60364         (__SWBLK_T_TYPE): Likewise.
60365         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
60366         (__SWBLK_T_TYPE): Likewise.
60367         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
60368         (__SWBLK_T_TYPE): Likewise.
60370 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
60371             Honza Horak <hhorak@redhat.com>
60373         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
60374         (xdr_mapname): Use YPMAXMAP as maxsize.
60375         (xdr_peername): Use YPMAXPEER as maxsize.
60376         (xdr_keydat): Use YPAXRECORD as maxsize.
60377         (xdr_valdat): Use YPMAXRECORD as maxsize.
60379 2012-10-01  Roland McGrath  <roland@hack.frob.com>
60381         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
60383         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
60384         * csu/init-first.c: ... here.
60385         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
60386         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
60387         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
60388         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
60389         * sysdeps/i386/init-first.c: File removed.
60390         * sysdeps/sh/init-first.c: File removed.
60392 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
60394         [BZ #14645]
60395         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
60396         if x * y might underflow to zero and z is zero.
60397         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
60398         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
60399         * math/libm-test.inc (min_subnorm_value): New variable.
60400         (fma_test): Add more tests.
60401         (fma_test_towardzero): Likewise.
60402         (fma_test_downward): Likewise.
60403         (fma_test_upward): Likewise.
60404         (initialize): Set min_subnorm_value.
60406 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
60408         [BZ #14638]
60409         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
60410         0 + 0.
60411         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
60412         mode for addition resulting in exact zero.
60413         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
60414         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
60415         exact 0 + 0.
60416         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
60417         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
60418         * math/libm-test.inc (fma_test): Add more tests.
60419         (fma_test_towardzero): New function.
60420         (fma_test_downward): Likewise.
60421         (fma_test_upward): Likewise.
60422         (main): Call the new functions.
60424 2012-09-28  David S. Miller  <davem@davemloft.net>
60426         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
60428 2012-09-28  Roland McGrath  <roland@hack.frob.com>
60430         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
60431         instead of SIGALRM.
60433         * sysdeps/gnu/_G_config.h: Moved to ...
60434         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
60435         * sysdeps/mach/hurd/_G_config.h: Moved to ...
60436         * sysdeps/generic/_G_config.h: ... here.
60438         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
60440         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
60442         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
60443         Conditionalize target on [libnss_test1.so-version].
60445         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
60447         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
60448         (elfobjdir): Move out of conditionals.
60450         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
60451         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
60452         (__nss_lookup_function): Conditionalize label remove_from_tree on
60453         [!DO_STATIC_NSS || SHARED], matching its only use.
60455 2012-09-28  David S. Miller  <davem@davemloft.net>
60457         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
60458         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
60459         file.
60460         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
60461         sysdep_routines.
60462         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
60463         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
60464         when HWCAP_SPARC_CRYPTO is present.
60466 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
60468         * io/tst-mknodat.c: Create a FIFO instead of a socket.
60470 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
60472         [BZ #6530]
60473         * stdio-common/vfprintf.c (process_string_arg): Revert
60474         2000-07-22 change.
60476 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
60478         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
60479         for testcase.
60480         * stdio-common/tst-sprintf.c: Include <locale.h>
60481         (main): Test sprintf's handling of incomplete multibyte
60482         characters.
60484 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
60486         * elf/dl-runtime.c (VERSYMIDX): Removed.
60487         * elf/dl-version.c (VERSYMIDX): Likewise.
60488         * elf/do-rel.h (VERSYMIDX): Likewise.
60489         (VALIDX): Likewise.
60490         * elf/dynamic-link.h (VERSYMIDX): Likewise.
60491         * elf/rtld.c (VALIDX): Likewise.
60492         (ADDRIDX): Likewise.
60493         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
60494         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
60495         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
60496         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
60497         (VALIDX): Likewise.
60498         (ADDRIDX): Likewise.
60500 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
60502         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
60504 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
60506         [BZ #11438]
60507         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
60508         to global scope.
60509         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
60510         addresses are in the same scope as 192.0.2/24.
60511         * posix/gai.conf: Document new scope table defaults.
60513 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
60515         [BZ #5298]
60516         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
60517         for ftell.  Compute offsets from write pointers instead.
60518         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
60520 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
60522         [BZ #14543]
60523         * libio/Makefile (tests): New test case tst-fseek.
60524         * libio/tst-fseek.c: New test case to verify that fseek/ftell
60525         combination works in wide mode.
60526         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
60527         state when the external buffer state changes.
60529 2012-09-27  David S. Miller  <davem@davemloft.net>
60531         [BZ #14376]
60532         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
60533         pass reloc->r_addend in as the 'high' argument to
60534         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
60536         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60538 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
60540         * rt/tst-aio2.c: Include <pthread.h>.
60541         * rt/tst-aio3.c: Likewise.
60543 2012-09-27  Steve Ellcey  <sellcey@mips.com>
60545         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
60547 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
60549         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
60550         contents on [SHARED].
60552 2012-09-26  Marek Polacek  <polacek@redhat.com>
60554         [BZ #14530]
60555         [BZ #13741]
60556         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
60557         for C++ and GCC <4.3 as well as for non GCC compilers.
60559 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
60561         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60563 2012-09-25  Roland McGrath  <roland@hack.frob.com>
60565         * Makefile.in (all, install): Declare with .PHONY.
60566         Reported by Michael Hope <michael.hope@linaro.org>.
60568 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
60570         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
60571         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
60572         system header.
60573         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
60574         Likewise.
60575         (sydep_routines): Add the new and the internal functions.
60576         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
60577         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
60578         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
60579         (GLIBC_2.17): Add the new function.
60580         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
60581         (GLIBC_2.17): Likewise.
60582         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
60583         (GLIBC_2.17): Likewise.
60584         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
60585         (GLIBC_2.17): Likewise.
60586         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
60588 2012-09-25  Alan Modra  <amodra@gmail.com>
60590         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
60591         Add release barrier before setting once_control to say
60592         initialisation is done.  Add hints on lwarx.  Use macro in
60593         place of isync.
60594         (clear_once_control): Add release barrier.
60596 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
60598         [BZ #13629]
60599         * math/s_clog.c (__clog): Handle more values close to |z| = 1
60600         specially.
60601         * math/s_clog10.c (__clog10): Likewise.
60602         * math/s_clog10f.c (__clog10f): Likewise.
60603         * math/s_clog10l.c (__clog10l): Likewise.
60604         * math/s_clogf.c (__clogf): Likewise.
60605         * math/s_clogl.c (__clogl): Likewise.
60606         * math/Makefile (libm-calls): Add x2y2m1.
60607         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
60608         (__x2y2m1): Likewise.
60609         (__x2y2m1l): Likewise.
60610         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
60611         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
60612         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
60613         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
60614         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
60615         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
60616         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
60617         * sysdeps/i386/fpu/libm-test-ulps: Update.
60618         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60620         [BZ #14621]
60621         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
60622         int as type of variable DEPTH.
60623         (glob): Use size_t instead of int as type of variables NEWCOUNT
60624         and OLD_PATHC.
60626 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60628         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
60629         Add s_sincosf-sse2.
60630         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
60631         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
60632         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
60633         macros for using routine as __sincosf_ia32.
60634         Use macro for function declaration and weak_alias.
60635         * sysdeps/i386/fpu/libm-test-ulps: Update.
60637         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
60638         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60640         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
60641         subnormal argument.
60642         * math/s_cexpf.c (__cexpf): Likewise.
60643         * math/s_csinf.c (__csinf): Likewise.
60644         * math/s_csinhf.c (__csinhf): Likewise.
60645         * math/s_ctanf.c (__ctanf): Likewise.
60646         * math/s_ctanhf.c (__ctanhf): Likewise.
60647         * math/s_ccosh.c (__ccoshf): Likewise.
60648         * math/s_cexp.c (__cexpl): Likewise.
60649         * math/s_csin.c (__csin): Likewise.
60650         * math/s_csinh.c (__csinh): Likewise.
60651         * math/s_ctan.c (__ctan): Likewise.
60652         * math/s_ctanh.c (ctanh): Likewise.
60653         * math/s_ccoshl.c (__ccoshl): Likewise.
60654         * math/s_cexpl.c (__cexpl): Likewise.
60655         * math/s_csinl.c (__csinl): Likewise.
60656         * math/s_csinhl.c (__csinhl): Likewise.
60657         * math/s_ctanl.c (__ctanl): Likewise.
60658         * math/s_ctanhl.c (__ctanhl): Likewise.
60660 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
60662         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
60663         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
60664         (_IO_off_t): Define to __off_t, not _G_off_t.
60665         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
60666         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
60667         (_IO_wint_t): Define to wint_t, not _G_wint_t.
60668         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
60669         type of __dummy and __dummy2 fields.
60670         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
60671         (_G_ssize_t): Likewise.
60672         (_G_off_t): Likewise.
60673         (_G_pid_t): Likewise.
60674         (_G_uid_t): Likewise.
60675         (_G_wchar_t): Likewise.
60676         (_G_wint_t): Likewise.
60677         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
60678         (_G_ssize_t): Likewise.
60679         (_G_off_t): Likewise.
60680         (_G_pid_t): Likewise.
60681         (_G_uid_t): Likewise.
60682         (_G_wchar_t): Likewise.
60683         (_G_wint_t): Likewise.
60684         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
60685         (_G_ssize_t): Likewise.
60686         (_G_off_t): Likewise.
60687         (_G_pid_t): Likewise.
60688         (_G_uid_t): Likewise.
60689         (_G_wchar_t): Likewise.
60690         (_G_wint_t): Likewise.
60692 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
60694         * malloc/arena.c: Include malloc-sysdep.h.
60695         (shrink_heap): Use check_may_shrink_heap to decide if madvise
60696         is sufficient to shrink the heap or an unmap is needed.
60697         * sysdeps/generic/malloc-sysdep.h: New file.  Define
60698         new function check_may_shrink_heap.
60699         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
60700         new function check_may_shrink_heap.
60702 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
60704         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
60705         comments.
60707 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
60709         * catgets/test-gencat.sh: Add "set -e".
60710         * elf/tst-pathopt.sh: Likewise.
60711         * grp/tst_fgetgrent.sh: Likewise.
60712         * iconvdata/run-iconv-test.sh: Likewise.
60713         * intl/tst-gettext.sh: Likewise.
60714         * intl/tst-gettext2.sh: Likewise.
60715         * intl/tst-gettext4.sh: Likewise.
60716         * intl/tst-gettext6.sh: Likewise.
60717         * intl/tst-translit.sh: Likewise.
60718         * io/ftwtest-sh: Likewise.
60719         * libio/test-freopen.sh: Likewise.
60720         * malloc/tst-mtrace.sh: Likewise.
60721         * posix/globtest.sh: Likewise.
60722         * posix/tst-getconf.sh: Likewise.
60723         * posix/wordexp-tst.sh: Likewise.
60724         * stdio-common/tst-printf.sh: Likewise.
60725         * stdio-common/tst-unbputc.sh: Likewise.
60726         * stdlib/tst-fmtmsg.sh: Likewise.
60727         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
60728         * catgets/Makefile: Do not specify -e option when running
60729         testsuite shell scripts.
60730         * elf/Makefile: Likewise.
60731         * grp/Makefile: Likewise.
60732         * iconvdata/Makefile: Likewise.
60733         * intl/Makefile: Likewise.
60734         * io/Makefile: Likewise.
60735         * libio/Makefile: Likewise.
60736         * malloc/Makefile: Likewise.
60737         * posix/Makefile: Likewise.
60738         * stdio-common/Makefile: Likewise.
60739         * stdlib/Makefile: Likewise.
60740         * sysdeps/x86_64/Makefile: Likewise.
60742         * io/ftwtest-sh: Add copyright header.
60743         * posix/globtest.sh: Likewise.
60744         * posix/tst-getconf.sh: Likewise.
60745         * posix/wordexp-tst.sh: Likewise.
60746         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
60748 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
60750         [BZ #13679]
60751         * Makeconfig (+link): Defined as $(+link-static) if
60752         $(build-shared) isn't yes.
60753         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
60754         isn't yes.
60755         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
60757         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
60759         [BZ #14562]
60760         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
60761         new chunk size with MALLOC_ALIGN_MASK.
60763 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
60765         [BZ #5044]
60766         * stdio-common/printf_fphex.c: Include <stdbool.h> and
60767         <rounding-mode.h>.
60768         (__printf_fphex): Determine rounding using get_rounding_mode and
60769         round_away.
60770         * stdio-common/tst-printf-round.c (struct hex_test): New
60771         structure.
60772         (hex_tests): New variable.
60773         (test_hex_in_one_mode): New function.
60774         (do_test): Also run tests for hex float output.
60776 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
60778         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
60779         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
60780         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
60781         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
60782         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
60783         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
60784         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
60785         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
60787 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
60789         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
60790         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
60791         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
60792         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
60794 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
60796         [BZ #14579]
60797         * elf/rtld.c (dl_main): Limit the check for self loading to normal
60798         mode only.
60799         * elf/tst-rtld-load-self.sh: New test.
60800         * elf/Makefile: Run it.
60802 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
60804         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
60805         (tst-writev-ENV): Remove.
60806         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
60808 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
60810         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
60812 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
60814         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
60815         unconditional.
60816         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
60817         Likewise.
60818         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
60819         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
60820         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
60821         Likewise.
60823 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
60825         [BZ #14587]
60826         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
60827         * config.make.in (have-cpp-asm-debuginfo): Removed.
60828         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
60829         * configure: Regenerated.
60831 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
60833         [BZ #5044]
60834         * stdio-common/printf_fp.c: Include <stdbool.h> and
60835         <rounding-mode.h>.
60836         (___printf_fp): Determine rounding using get_rounding_mode and
60837         round_away.
60838         * stdio-common/tst-printf-round.c: New file.
60839         * stdio-common/Makefile (tests): Add tst-printf-round.
60840         (link-libm): New variable.
60841         ($(objpfx)tst-printf-round): Depend in $(link-libm).
60843 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
60845         [BZ #14576]
60846         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
60847         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
60848         Likewise.
60849         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
60850         Likewise.
60852 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
60854         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
60855         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
60856         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
60857         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
60859 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
60861         [BZ #14518]
60862         * include/rounding-mode.h: New file.
60863         * sysdeps/generic/get-rounding-mode.h: Likewise.
60864         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
60865         * stdlib/strtod_l.c: Include <rounding-mode.h>.
60866         (MAX_VALUE): New macro.
60867         (MIN_VALUE): Likewise.
60868         (overflow_value): New function.
60869         (underflow_value): Likewise.
60870         (round_and_return): Use overflow_value and underflow_value to
60871         determine return values in overflow and underflow cases.  Use
60872         round_away to determine rounding depending on rounding mode.
60873         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
60874         determine return values in overflow and underflow cases.
60875         * stdlib/tst-strtod-round.c: Include <fenv.h>.
60876         (struct test_results): New structure.
60877         (struct test): Use struct test_results to store expected results
60878         for all rounding modes.
60879         (TEST): Include expected results for all rounding modes.
60880         (test_in_one_mode): New function.
60881         (do_test): Use test_in_one_mode to compute and check results.
60882         Check results for all rounding modes.
60883         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
60884         $(link-libm).
60886 2012-12-09  Allan McRae  <allan@archlinux.org>
60888         * sysdeps/i386/fpu/libm-test-ulps: Update
60890 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
60892         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
60893         (_G_int32_t): Likewise.
60894         (_G_uint16_t): Likewise.
60895         (_G_uint32_t): Likewise.
60896         (_G_HAVE_BOOL): Likewise.
60897         (_G_HAVE_ATEXIT): Likewise.
60898         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
60899         (_G_HAVE_IO_FILE_OPEN): Likewise.
60900         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
60901         (_G_int32_t): Likewise.
60902         (_G_uint16_t): Likewise.
60903         (_G_uint32_t): Likewise.
60904         (_G_HAVE_BOOL): Likewise.
60905         (_G_HAVE_ATEXIT): Likewise.
60906         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
60907         (_G_HAVE_IO_FILE_OPEN): Likewise.
60908         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
60909         (_G_int32_t): Likewise.
60910         (_G_uint16_t): Likewise.
60911         (_G_uint32_t): Likewise.
60912         (_G_HAVE_BOOL): Likewise.
60913         (_G_HAVE_ATEXIT): Likewise.
60914         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
60915         (_G_HAVE_IO_FILE_OPEN): Likewise.
60917 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
60919         * csu/libc-tls.c: Update copyright years.
60921 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
60923         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
60924         [!_G_USING_THUNKS]: Remove conditional code.
60925         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
60926         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
60928         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
60929         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
60930         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
60931         (_G_VTABLE_LABEL_PREFIX): Likewise.
60932         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
60933         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
60934         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
60935         (_G_VTABLE_LABEL_PREFIX): Likewise.
60936         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
60937         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
60938         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
60939         (_G_VTABLE_LABEL_PREFIX): Likewise.
60940         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
60942 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
60944         * libio/Makefile: Include ../Makeconfig before tests.
60945         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
60946         only if $(build-shared) is yes.
60948         * iconv/gconv_db.c: Update copyright years.
60950 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60952         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
60953         unwind info if defined PIC. Fix special cases description.
60954         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
60956         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
60957         DP_HI_MASK entry.
60958         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
60960 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
60962         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
60964         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
60965         is NULL.
60967         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
60968         (LDLIBS-tst-chk4): This.
60969         (LDFLAGS-tst-chk5): Renamed to ...
60970         (LDLIBS-tst-chk5): This.
60971         (LDFLAGS-tst-chk6): Renamed to ...
60972         (LDLIBS-tst-chk6): This.
60973         (LDFLAGS-tst-lfschk4): Renamed to ...
60974         (LDLIBS-tst-lfschk4): This.
60975         (LDFLAGS-tst-lfschk5): Renamed to ...
60976         (LDLIBS-tst-lfschk5): This.
60977         (LDFLAGS-tst-lfschk6): Renamed to ...
60978         (LDLIBS-tst-lfschk6): This.
60980         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
60981         on $(common-objpfx)soversions.mk.
60983 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
60985         [BZ #10014]
60986         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
60987         example host name.
60989 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
60991         * malloc/arena.c (arena_get_retry): New function that gets
60992         another arena for the caller to try its request on.
60993         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
60994         current arena cannot fulfill the request.
60995         (__libc_memalign): Likewise.
60996         (__libc_memalign): Likewise.
60997         (__libc_pvalloc): Likewise.
60998         (__libc_calloc): Likewise.
61000 2012-09-05  John Tobey  <john.tobey@gmail.com>
61002         [BZ #13542]
61003         * manual/arith.texi (Operations on Complex): Fix description
61004         of carg branch cut.
61006 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
61008         [BZ #10014]
61009         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
61010         host name.
61012         [BZ #10038]
61013         * manual/memory.texi (Memory): Make order of menu items match
61014         order of sections.
61016 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
61018         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
61019         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
61020         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
61022 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
61024         * csu/libc-tls.c (static_dtv): Renamed to ...
61025         (_dl_static_dtv): This.  Make it global.
61026         (_dl_initial_dtv): Removed.
61027         (__libc_setup_tls): Updated.
61028         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
61029         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
61030         DL_INITIAL_DTV.
61032 2012-09-06  Petr Machata  <pmachata@redhat.com>
61034         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
61035         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
61036         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
61037         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
61039 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
61041         [BZ #14545]
61042         * csu/libc-tls.c (_dl_initial_dtv): New variable.
61043         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
61044         freeing dtv[-1].
61046 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
61048         [BZ #14544]
61049         * Makeconfig (link-static-before-libc): Replace $(+prector)
61050         with $(+prectorT).
61051         (link-static-after-libc): Replace $(+postctor) with
61052         $(+postctorT).
61053         (link-bounded): Replace $(+prector)/$(+postctor) with
61054         $(+prectorT)/$(+postctorT).
61055         (+prectorT): New macro.
61056         (+postctorT): Likewise.
61058 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
61060         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
61061         (round_str): Handle values above the maximum for IBM long double
61062         as inexact.
61063         * stdlib/tst-strtod-round.c (tests): Regenerated.
61065 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61067         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
61068         assembler flag.
61069         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
61070         zarch_nohighgprs around the zarch optimized routines.
61071         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
61072         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
61073         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
61074         for zarch.
61076 2012-09-05  David S. Miller  <davem@davemloft.net>
61078         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61080         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
61081         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
61082         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
61083         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
61084         entries.
61086 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
61088         * malloc/arena.c: Fold copyright years.
61089         * malloc/mcheck.c, malloc/memusage.c: Likewise.
61091 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
61093         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
61095 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
61097         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
61099 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
61101         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
61102         change internal state upon failure.
61104 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
61106         * malloc/mcheck.c (mcheck_check_all): Fix typo.
61107         * malloc/memusage.c (mmap): Likewise.
61108         (mmap64, mremap): Likewise.  Adjust name in comment.
61110 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
61112         * libio/fileops.c: Fix typos in comments.
61113         * libio/oldfileops.c: Likewise.
61114         * libio/wfileops.c: Likewise.
61116 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
61118         [BZ #1349]
61119         * malloc/Makefile (tests): Add tst-malloc-usable test case.
61120         (tst-malloc-usable-ENV): Set environment for test case.
61121         * malloc/hooks.c (malloc_check_get_size): New function to get
61122         requested size.
61123         * malloc/malloc.c (musable): Use malloc_check_get_size.
61124         * malloc/tst-malloc-usable.c: New test case.
61126 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
61128         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
61130 2012-09-05  Allan McRae  <allan@archlinux.org>
61132         [BZ #13966]
61133         * configure.in (CXX_SYSINCLUDES): Use compiler output to
61134         determine header location.
61135         * configure: Regenerated.
61137 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
61139         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
61140         float format.
61141         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
61142         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
61143         format.
61144         (test): Regenerate.
61146 2012-09-04  David S. Miller  <davem@davemloft.net>
61148         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
61149         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
61150         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
61152 2012-09-04  Florian Weimer  <fweimer@redhat.com>
61154         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
61155         failures.
61157         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
61159 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
61161         [BZ #9914]
61162         * libio/iogetdelim.c: Include <limits.h>.
61163         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
61164         + len + 1 would overflow.
61166 2012-09-03  Andreas Jaeger  <aj@suse.de>
61168         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61169         * sysdeps/i386/fpu/libm-test-ulps: Update.
61171 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61173         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
61174         Add s_sinf-sse2, s_conf-sse2.
61176         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
61177         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
61178         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
61179         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
61181         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
61182         for using routine as __sinf_ia32.
61183         Use macro for function declaration and weak_alias.
61184         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
61185         for using routine as __cosf_ia32.
61186         Use macro for function declaration and weak_alias.
61188         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
61189         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
61191         * sysdeps/x86_64/fpu/s_sinf.S: New file.
61192         * sysdeps/x86_64/fpu/s_cosf.S: New file.
61193         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61195         * math/libm-test.inc (cos_test): Add more test cases.
61196         (sin_test): Likewise.
61197         (sincos_test): Likewise.
61199 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61201         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
61202         (IFUNC_RESOLVE): Make pointers to the specialized implementations
61203         hidden.
61204         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
61206 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
61208         [BZ #14538]
61209         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
61210         first element of the GOT.
61211         (elf_machine_load_address): Return the difference between
61212         the runtime address of _DYNAMIC and elf_machine_dynamic ().
61214 2012-09-01  Allan McRae  <allan@archlinux.org>
61216         [BZ #13412]
61217         * configure.in (AWK): Require gawk version 3.0 or later.
61218         * configure: Regenerated.
61220 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
61222         * sysdeps/unix/sysv/linux/kernel-features.h
61223         (__ASSUME_POSIX_CPU_TIMERS): Remove.
61224         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
61225         [__NR_clock_getres]: Make code unconditional.
61226         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
61227         (clock_getcpuclockid): Remove code left unreachable by removal of
61228         conditionals.
61229         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
61230         code unconditional.
61231         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
61232         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
61233         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
61234         Make code unconditional.
61235         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
61236         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
61237         * sysdeps/unix/sysv/linux/clock_settime.c
61238         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
61239         conditional code.
61240         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
61241         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
61243 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
61245         [BZ #14476]
61246         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
61247         scripts/test-installation.pl.
61249         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
61250         and $ld_so_version if it is set.
61252 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
61254         [BZ #14516]
61255         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
61256         failure if reading from procfs failed.
61257         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
61259 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
61261         * sysdeps/unix/sysv/linux/kernel-features.h
61262         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
61263         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
61264         Remove conditional code.
61265         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61266         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
61267         Remove conditional code.
61268         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61269         * sysdeps/unix/sysv/linux/i386/fxstat.c
61270         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
61271         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61272         * sysdeps/unix/sysv/linux/i386/fxstatat.c
61273         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
61274         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61275         * sysdeps/unix/sysv/linux/i386/lxstat.c
61276         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
61277         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61278         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
61279         Remove conditional code.
61280         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61281         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
61282         Remove conditional code.
61283         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61284         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
61285         <kernel-features.h>.
61286         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
61287         Remove.
61288         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
61289         Remove conditional code.
61290         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61291         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
61292         Remove conditional.
61294 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
61296         [BZ #5400]
61297         * NEWS: Add fixed bug number.
61299 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
61301         [BZ #14519]
61302         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
61303         underflowing exponent in case of negative sign.
61304         * stdlib/tst-strtod-round-data: Add more tests.
61305         * stdlib/tst-strtod-round.c (tests): Regenerated.
61307         [BZ #3479]
61308         * stdlib/strtod_l.c (NDIG): Remove.
61309         (HEXNDIG): Likewise.
61310         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
61311         smallest representable value.
61312         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
61313         lie within an exact representation of 1/2 ulp of the result.
61314         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
61315         unconditionally.
61316         (TENS_P9_IDX): Define unconditionally.
61317         (TENS_P9_SIZE): Likewise.
61318         (TENS_P10_IDX): Likewise.
61319         (TENS_P10_SIZE): Likewise.
61320         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
61321         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
61322         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
61323         entries for 10^2^13 and 10^2^14.
61324         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
61325         (TENS_P13_IDX): Define.
61326         (TENS_P13_SIZE): Likewise.
61327         (TENS_P14_IDX): Likewise.
61328         (TENS_P14_SIZE): Likewise.
61329         (_fpioconst_pow10): Change array size to
61330         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
61331         unconditional.
61332         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
61333         1024]: Add entries for 10^2^13 and 10^2^14.
61334         [LAST_POW10 > _LAST_POW10]: Remove #error.
61335         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
61336         (_fpioconst_pow10): Change array size to
61337         FPIOCONST_POW10_ARRAY_SIZE.
61338         * stdlib/gen-fpioconst.c: New file.
61339         * stdlib/gen-tst-strtod-round.c: Likewise.
61340         * stdlib/tst-strtod-round-data: Likewise.
61341         * stdlib/tst-strtod-round.c: Likewise.
61342         * stdlib/Makefile (tests): Add tst-strtod-round.
61344         [BZ #14459]
61345         * stdlib/strtod_l.c: Include <stdint.h>.
61346         (NDEBUG): Do not define.
61347         (round_and_return): Change EXPONENT parameter to type intmax_t.
61348         Rearrange calculations to avoid internal overflow possibilities.
61349         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
61350         Rearrange calculations to avoid internal overflow possibilities.
61351         Assert that number fits inside MPNSIZE limbs.
61352         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
61353         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
61354         calculations and add assertions to avoid internal overflow
61355         possibilities.  Add casts to avoid signed/unsigned operations.
61356         * stdlib/tst-strtod-overflow.c: New file.
61357         * stdlib/Makefile (tests): Add tst-strtod-overflow.
61359 2012-08-25  Marek Polacek  <polacek@redhat.com>
61361         * time/time.h: Fix some typos in comments.
61363 2012-08-23  Roland McGrath  <roland@hack.frob.com>
61365         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
61366         * posix/tst-rfc3484-2.c: Likewise.
61367         * posix/tst-rfc3484-3.c: Likewise.
61369 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
61371         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
61372         (EF_ARM_ABI_FLOAT_HARD): Likewise.
61374 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
61376         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
61377         #include of fxstatat64.c.
61379 2012-08-22  Roland McGrath  <roland@hack.frob.com>
61381         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
61382         * shadow/getspent_r.c: Likewise.
61383         * shadow/getspnam.c: Likewise.
61384         * shadow/getspnam_r.c: Likewise.
61385         * gshadow/getsgent.c: Likewise.
61386         * gshadow/getsgent_r.c: Likewise.
61387         * gshadow/getsgnam.c: Likewise.
61388         * gshadow/getsgnam_r.c: Likewise.
61389         * inet/getnetbyad.c: Likewise.
61390         * inet/getnetbyad_r.c: Likewise.
61391         * inet/getnetbynm.c: Likewise.
61392         * inet/getnetbynm_r.c: Likewise.
61393         * inet/getnetent.c: Likewise.
61394         * inet/getnetent_r.c: Likewise.
61395         * inet/getproto.c: Likewise.
61396         * inet/getproto_r.c: Likewise.
61397         * inet/getprtent.c: Likewise.
61398         * inet/getprtent_r.c: Likewise.
61399         * inet/getprtname.c: Likewise.
61400         * inet/getprtname_r.c: Likewise.
61401         * inet/getrpcbyname.c: Likewise.
61402         * inet/getrpcbyname_r.c: Likewise.
61403         * inet/getrpcbynumber.c: Likewise.
61404         * inet/getrpcbynumber_r.c: Likewise.
61405         * inet/getrpcent.c: Likewise.
61406         * inet/getrpcent_r.c: Likewise.
61407         * inet/getaliasent.c: Likewise.
61408         * inet/getaliasent_r.c: Likewise.
61409         * inet/getaliasname.c: Likewise.
61410         * inet/getaliasname_r.c: Likewise.
61411         * nscd/getgrgid_r.c: Likewise.
61412         * nscd/getgrnam_r.c: Likewise.
61413         * nscd/gethstbyad_r.c: Likewise.
61414         * nscd/gethstbynm3_r.c: Likewise.
61415         * nscd/getpwnam_r.c: Likewise.
61416         * nscd/getpwuid_r.c: Likewise.
61417         * nscd/getsrvbynm_r.c: Likewise.
61418         * nscd/getsrvbypt_r.c: Likewise.
61419         * nscd/gai.c: Likewise.
61421         * configure.in (build_nscd): New substituted variable, set
61422         by --disable-build-nscd and defaults to $use_nscd.
61423         * configure: Regenerated.
61424         * config.make.in (build-nscd): New substituted variable.
61425         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
61426         Change conditional to require [$(build-nscd) = yes] as well.
61427         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
61429         [BZ# 13696]
61430         * configure.in (use_nscd): New substituted variable, set by
61431         --disable-nscd.  If enabled, define USE_NSCD.
61432         * configure: Regenerated.
61433         * config.h.in: Add USE_NSCD.
61434         * config.make.in (use-nscd): New substituted variable.
61435         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
61436         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
61437         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
61438         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
61439         (CFLAGS-getgrnam_r.c): Likewise.
61440         (CFLAGS-initgroups.c): Likewise.
61441         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
61442         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
61443         Variables removed.
61444         * inet/getnetgrent_r.c
61445         (nscd_setnetgrent): New function, broken out of ...
61446         (setnetgrent): ... here.  Call it.
61447         (innetgr): Conditionalize nscd bits on [USE_NSCD].
61448         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
61449         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
61450         * nscd/Makefile (routines, aux): Move definitions after include of
61451         Makeconfig.  Conditionalize on [$(use-nscd) != no].
61452         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
61453         Conditionalize on [USE_NSCD].
61454         (is_nscd, nscd_init_cb): Likewise.
61455         (nss_load_library): Conditionalize init callback on [USE_NSCD].
61456         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
61457         * nss/nss_db/db-init.c: Likewise.
61458         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
61459         [USE_NSCD].
61460         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
61461         (make_request): Use it.
61462         (cache_valid_p): New function.
61463         (__check_pf): Use it.
61464         * NEWS: Add item for --disable-nscd.
61466 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
61468         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
61469         to support sed >= 4.2.1-20-ga9bf076.
61470         * configure: Regenerated.
61472 2012-08-22  Roland McGrath  <roland@hack.frob.com>
61474         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
61475         Conditionalize whole body on [IREL].
61477 2012-08-22  Jeff Law <law@redhat.com>
61479         [BZ #14505]
61480         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
61481         if the family is PF_UNSPEC.
61483 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
61485         * Makerules (lib-version): Rename from V.
61486         (install-lib-nosubdir): Change V to lib-version.
61488 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
61490         [BZ #14252]
61491         * powerpc32/power6/wcschr.c: New file.
61492         * powerpc32/power6/wcscpy.c: New file.
61493         * powerpc32/power6/wcsrchr.c: New file.
61494         * powerpc64/power6/wcschr.c: New file.
61495         * powerpc64/power6/wcscpy.c: New file.
61496         * powerpc64/power6/wcsrchr.c: New file.
61498 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
61500         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
61501         (two_way_short_needle): Use it.
61502         * string/strstr.c (AVAILABLE1_USES_J): Define.
61503         * string/strcasestr.c: Likewise.
61505         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
61506         array references.
61507         * string/strcasestr.c (TOLOWER): Make side-effect safe.
61509         [BZ #11607]
61510         * NEWS: Add an entry.
61511         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
61512         define their defaults.
61513         (two_way_short_needle): Detect end-of-string on-the-fly.
61514         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
61515         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
61516         * string/bug-strcasestr1.c: New test.
61517         * string/Makefile: Run it.
61519 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
61521         [BZ #11607]
61522         * string/str-two-way.h (two_way_short_needle): Optimize matching of
61523         the first character.
61525 2012-08-21  Roland McGrath  <roland@hack.frob.com>
61527         * csu/elf-init.c (__libc_csu_irel): Function removed.
61528         * csu/libc-start.c (apply_irel): New function.
61529         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
61531 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
61533         * sysdeps/unix/sysv/linux/kernel-features.h
61534         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
61535         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
61536         <kernel-features.h>.
61537         [__NR_fadvise64_64]: Make code unconditional.
61538         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
61539         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
61540         !__NR_fadvise64_64)]: Likewise.
61541         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
61542         !__NR_fadvise64_64))]: Likewise.
61543         [__NR_fadvise64]: Make code unconditional.
61544         [!__NR_fadvise64]: Remove conditional code.
61545         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
61546         <kernel-features.h>.
61547         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
61548         unconditional.
61549         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
61550         conditional code.
61551         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
61552         not include <kernel-features.h>.
61553         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
61554         unconditional.
61555         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
61556         conditional code.
61557         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
61558         include <kernel-features.h>.
61559         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
61560         unconditional.
61561         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
61562         conditional code.
61564 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
61566         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
61567         slight instruction rearrangements per scrollpipe analysis.
61568         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
61570 2012-08-20  Roland McGrath  <roland@hack.frob.com>
61572         * manual/syslog.texi (syslog; vsyslog, closelog):
61573         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
61574         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
61576         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
61577         DSOCAPS to match condition on defining it.
61579 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
61581         * sysdeps/unix/sysv/linux/kernel-features.h
61582         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
61583         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
61584         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
61585         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
61586         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
61587         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
61588         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
61589         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
61590         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
61591         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
61593         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
61594         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
61596         * sysdeps/unix/sysv/linux/kernel-features.h
61597         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
61598         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
61599         unconditional.
61600         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
61601         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
61602         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
61603         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
61604         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
61605         Make code unconditional.
61606         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
61607         (__mmap64) [!__NR_mmap2]: Likewise.
61608         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
61609         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
61610         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
61611         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
61612         [__NR_mmap2]: Make code unconditional.
61613         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
61614         (__mmap64) [!__NR_mmap2]: Likewise.
61616 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61618         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
61620 2012-08-18  Andreas Jaeger  <aj@suse.de>
61622         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
61624 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
61626         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
61627         * include/unistd.h (__have_sock_cloexec): Likewise.
61628         (__have_pipe2): Likewise.
61629         (__have_dup3): Likewise.
61631 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
61633         [BZ #9685]
61634         * include/unistd.h (__have_pipe2): Change define into an extern int.
61635         (__have_dup3): Likewise.
61636         * socket/have_sock_cloexec.c: Include fcntl.h.
61637         (__have_pipe2): New variable.
61638         (__have_dup3): Likewise.
61640 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
61642         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
61644 2012-08-17  Marek Polacek  <polacek@redhat.com>
61646         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
61647         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
61649 2012-08-17  Roland McGrath  <roland@hack.frob.com>
61651         * configure.in: Add AC_SUBST for sysheaders.
61652         * configure: Regenerated.
61653         * config.make.in (sysheaders): New substituted variable.
61655         * sysdeps/unix/mkfifo.c: Moved ...
61656         * sysdeps/posix/mkfifo.c: ... here.
61657         * sysdeps/unix/mkfifoat.c: Moved ...
61658         * sysdeps/posix/mkfifoat.c: ... here.
61660         * sysdeps/unix/utime.c: Moved ...
61661         * sysdeps/posix/utime.c: ... here.
61663         * sysdeps/unix/time.c: Moved ...
61664         * sysdeps/posix/time.c: ... here.
61665         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
61666         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
61668         * sysdeps/unix/nice.c: Moved ...
61669         * sysdeps/posix/nice.c: ... here.
61671         * sysdeps/unix/alarm.c: Moved ...
61672         * sysdeps/posix/alarm.c: ... here.
61674         * intl/Makefile ($(codeset_mo)): Depend on the input file.
61676 2012-08-17  Jeff Law <law@redhat.com>
61678         * intl/Makefile (codeset_mo): New variable.
61679         ($(codeset_mo)): New target.
61680         (tst-codeset.out): Depend on that.  Remove explicit rule.
61681         (tst-gettext3.out, tst-gettext5.out): Likewise.
61682         (LOCPATH-ENV, tst-codeset-ENV): New variables.
61683         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
61684         * intl/tst-codeset.sh: Remove.
61685         * intl/tst-gettext3.sh: Likewise.
61686         * intl/tst-gettext5.sh: Likewise.
61688 2012-08-17  Roland McGrath  <roland@hack.frob.com>
61690         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
61691         * sysdeps/unix/syscalls.list: ... here.
61693         * sysdeps/posix/getaddrinfo.c
61694         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
61695         (gaiconf_init, gaiconf_reload): Use them.
61696         [!_STATBUF_ST_NSEC]
61697         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
61698         Define using time_t rather than struct timespec.
61700         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
61701         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
61702         Macros removed.
61703         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
61704         [!NO_THREADS].
61705         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
61706         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
61707         Likewise.
61709         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
61710         __libc_cleanup_push argument.
61712         * bits/param.h: New file.
61713         * misc/sys/param.h: New file.
61714         * include/sys/param.h: New file.
61715         * misc/Makefile (headers): Add bits/param.h.
61716         * sysdeps/generic/sys/param.h: File removed.
61717         * sysdeps/unix/sysv/linux/bits/param.h: New file.
61718         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
61719         * sysdeps/mach/hurd/bits/param.h: New file.
61720         * sysdeps/mach/hurd/sys/param.h: File removed.
61722         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
61723         last change.
61725         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
61726         [_IO_MTSAFE_IO].
61727         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
61728         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
61729         New macros.
61731         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
61732         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
61733         rather than -D_IO_MTSAFE_IO conditionally.
61734         * stdio-common/Makefile (CPPFLAGS): Likewise.
61735         * wcsmbs/Makefile (CPPFLAGS): Likewise.
61736         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
61737         Use $(libio-mtsafe).
61738         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
61739         of -D_IO_MTSAFE_IO.
61740         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
61741         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
61742         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
61743         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
61744         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
61745         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
61746         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
61747         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
61748         (CFLAGS-fread_u_chk.c): Likewise.
61749         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
61750         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
61751         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
61752         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
61753         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
61754         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
61755         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
61756         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
61757         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
61759         * libio/Makefile: Test [$(libc-reentrant) = yes]
61760         instead of [$(filter %REENTRANT, $(defines)) nonempty].
61762         * Makeconfig
61763         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
61764         * sysdeps/pthread/configure: File removed.
61765         * sysdeps/pthread/Makeconfig: New file.
61766         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
61767         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
61769 2012-08-16  Gary Benson  <gbenson@redhat.com>
61771         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
61772         unmapping the first object in a namespace.
61774 2012-08-16  Roland McGrath  <roland@hack.frob.com>
61776         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
61777         (__internal_setnetgrent): ... this.  Add internal_function to
61778         definition.  Add libc_hidden_def.
61779         (setnetgrent): Update caller.
61780         (internal_endnetgrent): Renamed to ...
61781         (__internal_endnetgrent): ... this.  Add internal_function to
61782         definition.  Add libc_hidden_def.
61783         (endnetgrent): Update caller.
61784         (internal_getnetgrent_r): Renamed to ...
61785         (__internal_getnetgrent_r): ... this.  Add internal_function to
61786         definition.  Add libc_hidden_def.
61787         (__getnetgrent_r): Update caller.
61788         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
61790 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
61792         * stdlib/longlong.h: Update from GCC.
61794 2012-08-16  Roland McGrath  <roland@hack.frob.com>
61796         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
61797         on _QL, which is set by umul_ppmm but never used.
61798         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
61799         variables, which are set by GMP macros but never used.
61800         * stdio-common/_itowa.c (_itowa): Likewise.
61801         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
61802         * stdlib/mod_1.c (mpn_mod_1): Likewise.
61804 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
61806         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
61807         struct La_sh_regs is not constant.
61808         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
61809         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
61810         and struct La_sparc64_regs are not constant.
61812 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
61814         * sysdeps/unix/sysv/linux/kernel-features.h
61815         (__ASSUME_POSIX_TIMERS): Remove.
61816         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
61817         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
61818         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
61819         Make code unconditional.
61820         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
61821         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
61822         Make code unconditional.
61823         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
61824         * sysdeps/unix/sysv/linux/clock_nanosleep.c
61825         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
61826         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
61827         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
61828         Make code unconditional.
61829         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
61830         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
61831         (__libc_missing_posix_timers): Remove.
61833 2012-08-15  Roland McGrath  <roland@hack.frob.com>
61835         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
61836         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
61838         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
61840         * elf/dl-sym.c: Include <stdlib.h>.
61842         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
61843         constants, which avoids warnings in 32-bit builds.
61845         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
61846         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
61848         * misc/lseek.c: File moved to ...
61849         * io/lseek.c: ... here.
61851         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
61853         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
61854         shifting LEN more than 31 bits at once.
61856 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61858         [BZ #14195]
61859         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
61860         segmentation fault for a case of two empty input strings.
61861         * string/test-strncasecmp.c (check1): Renamed to...
61862         (bz12205): ...this.
61863         (bz14195): Add new testcase for two empty input strings and N > 0.
61864         (test_main): Call new testcase, adapt for renamed function.
61866 2012-08-15  Andreas Jaeger  <aj@suse.de>
61868         [BZ #14090]
61869         * crypt/md5test2.c: New test, based on test supplied by Serge
61870         Belyshev <belyshev@depni.sinp.msu.ru>.
61871         * crypt/Makefile (xtests): Add md5test-giant..
61872         * crypt/Makefile ($(objpfx)md5test-giant): Add.
61874 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
61876         [BZ #14090]
61877         * crypt/md5.c (md5_process_block): Don't assume the buffer
61878         length is less than 2**32.
61879         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
61880         length is less than 2**64.
61882 2012-08-15  Roland McGrath  <roland@hack.frob.com>
61884         * string/str-two-way.h: Include <sys/param.h>.
61885         (MAX): Macro removed.
61887         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
61888         Move #define and #undef of memmove to just before and after
61889         including <string.h>.
61891         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
61892         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
61893         and after including <string.h>.  Move declarations of
61894         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
61895         to before #include "string/memmove.c".
61897         * include/dirent.h: Declare __getdirentries.
61899         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
61900         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
61902 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
61904         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
61905         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
61906         * sysdeps/i386/configure: Regenerated.
61907         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
61908         STABS_CURRENT_FILE, and STABS_FUN.
61909         (END): Remove call to STABS_FUN_END.
61910         (STABS_CURRENT_FILE1): Delete.
61911         (STABS_CURRENT_FILE): Likewise.
61912         (STABS_FUN): Likewise.
61913         (STABS_FUN_END): Likewise.
61914         (STABS_FUN2): Likewise.
61915         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
61916         * sysdeps/x86_64/configure: Regenerated.
61918 2012-08-14  Roland McGrath  <roland@hack.frob.com>
61920         * elf/dl-open.c: Include <atomic.h>.
61921         * elf/dl-lookup.c: Likewise.
61923 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
61925         * sysdeps/unix/sysv/linux/kernel-features.h
61926         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
61927         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
61928         unconditionally.
61929         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
61930         unconditionally.
61931         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
61932         condition on __ASSUME_CLONE_THREAD_FLAGS.
61934 2012-08-14  Andreas Jaeger  <aj@suse.de>
61936         * sysdeps/i386/fpu/libm-test-ulps: Update.
61938 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
61940         * include/atomic.h (atomic_exchange_and_add): Split into ...
61941         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
61942         New atomic macros.
61944 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
61946         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61948 2012-08-13  Jeff Law <law@redhat.com>
61950         * manual/stdio.texi (snprintf): Clarify handling of the trailing
61951         null byte in the output string.
61953 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
61955         * sysdeps/unix/sysv/linux/kernel-features.h
61956         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
61957         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
61958         (__ASSUME_ARG_MAX_STACK_BASED): Define.
61959         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
61960         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
61961         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
61962         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
61964 2012-08-09  Jeff Law <law@redhat.com>
61966         [BZ #13939]
61967         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
61968         When avoid_arena is set, don't retry in the that arena.  Pick the
61969         next one, whatever it might be.
61970         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
61971         (arena_lock): Pass in new parameter to arena_get2.
61972         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
61973         arena_get2.
61974         (__libc_malloc): Unify retrying after main arena failure with
61975         __libc_memalign version.
61976         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
61978 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
61980         [BZ #14166]
61981         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
61982         to __redirect_strstr.
61983         (__strstr_sse42): Use typeof __redirect_strstr.
61984         (__strstr_ia32): Likewise.
61985         (__libc_strstr): New prototype.
61986         (strstr): Renamed to ...
61987         (__libc_strstr): This.
61988         (strstr): New strong alias of __libc_strstr.
61989         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
61990         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
61991         __redirect_time.
61992         Include <time.h>.
61993         (__libc_time): New prototype.
61994         (time_ifunc): Replace time with __libc_time.
61995         (time): New strong alias and hidden definition of __libc_time.
61996         (__GI_time): Remove strong alias.
61997         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
61998         Include <stddef.h>.
61999         (memmove): Redefined to __redirect_memmove.
62000         (__memmove_sse2): Use typeof __redirect_memmove.
62001         (__memmove_ssse3): Likewise.
62002         (__memmove_ssse3_back): Likewise.
62003         (__libc_memmove): New prototype.
62004         (memmove): Renamed to ...
62005         (__libc_memmove): This.
62006         (memmove): New strong alias of __libc_memmove.
62008 2012-08-08  Mark Salter  <msalter@redhat.com>
62010         * elf/elf.h
62011         (R_MN10300_TLS_GD): Define.
62012         (R_MN10300_TLS_LD): Likewise.
62013         (R_MN10300_TLS_LDO): Likewise.
62014         (R_MN10300_TLS_GOTIE): Likewise.
62015         (R_MN10300_TLS_IE): Likewise.
62016         (R_MN10300_TLS_LE): Likewise.
62017         (R_MN10300_TLS_DTPMOD): Likewise.
62018         (R_MN10300_TLS_DTPOFF): Likewise.
62019         (R_MN10300_TLS_TPOFF): Likewise.
62020         (R_MN10300_SYM_DIFF): Likewise.
62021         (R_MN10300_ALIGN): Likewise.
62022         (R_MN10300_NUM): Update.
62024 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
62026         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
62027         Remove.
62029 2012-08-08  Roland McGrath  <roland@hack.frob.com>
62031         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
62033         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
62034         sysdeps/unix -> sysdeps/posix move.
62035         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
62037 2012-08-07      Allan McRae     <allan@archlinux.org>
62039         [BZ #14303]
62040         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
62041         (SUNOS_CPP): Likewise.
62042         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
62043         not found.
62044         (open_input): Call CPP using execvp.
62046 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
62048         * sysdeps/unix/sysv/linux/kernel-features.h
62049         (__ASSUME_PROT_GROWSUPDOWN): Remove.
62050         (__ASSUME_NO_CLONE_DETACHED): Likewise.
62051         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
62052         (__ASSUME_WAITID_SYSCALL): Likewise.
62053         * sysdeps/unix/sysv/linux/dl-execstack.c
62054         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
62055         code unconditional.
62056         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
62057         conditional code.
62058         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
62059         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
62060         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
62061         code.
62062         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
62063         unconditional.
62064         [__ASSUME_WAITID_SYSCALL]: Likewise.
62065         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
62067 2012-08-07  Roland McGrath  <roland@hack.frob.com>
62069         * sysdeps/unix/closedir.c: Renamed to ...
62070         * sysdeps/posix/closedir.c: ... here.
62071         * sysdeps/unix/dirfd.c: Renamed to ...
62072         * sysdeps/posix/dirfd.c: ... here.
62073         * sysdeps/unix/dirstream.h: Renamed to ...
62074         * sysdeps/posix/dirstream.h: ... here.
62075         * sysdeps/unix/fdopendir.c: Renamed to ...
62076         * sysdeps/posix/fdopendir.c: ... here.
62077         * sysdeps/unix/opendir.c: Renamed to ...
62078         * sysdeps/posix/opendir.c: ... here.
62079         * sysdeps/unix/readdir.c: Renamed to ...
62080         * sysdeps/posix/readdir.c: ... here.
62081         * sysdeps/unix/readdir_r.c: Renamed to ...
62082         * sysdeps/posix/readdir_r.c: ... here.
62083         * sysdeps/unix/rewinddir.c: Renamed to ...
62084         * sysdeps/posix/rewinddir.c: ... here.
62085         * sysdeps/unix/seekdir.c: Renamed to ...
62086         * sysdeps/posix/seekdir.c: ... here.
62087         * sysdeps/unix/telldir.c: Renamed to ...
62088         * sysdeps/posix/telldir.c: ... here.
62089         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
62090         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
62091         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
62092         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
62094         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
62095         * bits/fcntl.h: ... here.
62097         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
62098         not 0.
62099         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
62100         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
62101         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
62102         (struct flock): Move l_start, l_len to the beginning.
62103         Use __pid_t for l_pid.
62104         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
62105         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
62106         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
62107         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
62108         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
62109         [__USE_LARGEFILE64] (struct flock64): New type.
62110         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
62112         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
62113         * bits/dirent.h: ... here.
62115         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
62116         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
62118 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
62120         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
62121         Change from 2.6.0 to 2.6.16.
62122         * sysdeps/unix/sysv/linux/configure: Regenerated.
62123         * sysdeps/unix/sysv/linux/kernel-features.h
62124         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
62125         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
62126         version.
62127         (__ASSUME_UTIMES): Likewise.
62128         (__ASSUME_CLONE_STOPPED): Remove.
62129         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
62130         architectures, not kernel version.
62131         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
62132         (__ASSUME_NO_CLONE_DETACHED): Likewise.
62133         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
62134         (__ASSUME_WAITID_SYSCALL): Likewise.
62135         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
62136         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
62137         * README: State 2.6.16 as minimum Linux kernel version.  Do not
62138         refer to older versions.
62140 2012-08-06  Roland McGrath  <roland@hack.frob.com>
62142         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
62143         Define alphasort64 as an alias.
62144         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
62145         Define versionsort64 as an alias.
62146         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
62147         Define scandir64 as an alias.
62148         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
62149         Define scandirat64 as an alias.
62150         * dirent/alphasort64.c (alphasort64):
62151         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
62152         * dirent/versionsort64.c: Likewise.
62153         * dirent/scandir64.c: Likewise.
62154         * dirent/scandirat64.c: Likewise.
62155         * sysdeps/wordsize-64/alphasort.c: File removed.
62156         * sysdeps/wordsize-64/alphasort64.c: File removed.
62157         * sysdeps/wordsize-64/scandir.c: File removed.
62158         * sysdeps/wordsize-64/scandir64.c: File removed.
62159         * sysdeps/wordsize-64/scandirat.c: File removed.
62160         * sysdeps/wordsize-64/scandirat64.c: File removed.
62161         * sysdeps/wordsize-64/versionsort.c: File removed.
62162         * sysdeps/wordsize-64/versionsort64.c: File removed.
62163         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
62164         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
62165         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
62166         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
62167         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
62168         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
62169         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
62170         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
62172         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
62173         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
62174         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
62175         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
62176         [defined __arch64__ || defined __sparcv9]
62177         (__INO_T_MATCHES_INO64_T): New macro.
62178         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
62179         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
62180         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
62181         * sysdeps/unix/sysv/linux/bits/dirent.h
62182         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
62183         (_DIRENT_MATCHES_DIRENT64): New macro.
62185         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
62186         Define lockf64 as an alias.
62187         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
62188         Define fseeko64 as an alias.
62189         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
62190         Define ftello64 as an alias.
62191         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
62192         Define _IO_fgetpos64 and fgetpos64 as aliases.
62193         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
62194         Define _IO_fsetpos64 and fsetpos64 as aliases.
62195         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
62196         Conditionalize body on this.
62197         * libio/fseeko64.c: Likewise.
62198         * libio/ftello64.c: Likewise.
62199         * libio/iofgetpos64.c: Likewise.
62200         * libio/iofsetpos64.c: Likewise.
62201         * sysdeps/wordsize-64/lockf.c: File removed.
62202         * sysdeps/wordsize-64/lockf64.c: File removed.
62203         * sysdeps/wordsize-64/fseeko.c: File removed.
62204         * sysdeps/wordsize-64/fseeko64.c: File removed.
62205         * sysdeps/wordsize-64/ftello.c: File removed.
62206         * sysdeps/wordsize-64/ftello64.c: File removed.
62207         * sysdeps/wordsize-64/iofgetpos.c: File removed.
62208         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
62209         * sysdeps/wordsize-64/iofsetpos.c: File removed.
62210         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
62211         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
62212         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
62213         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
62214         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
62215         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
62216         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
62217         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
62218         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
62219         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
62220         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
62222         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
62223         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
62224         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
62225         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
62226         [defined __arch64__ || defined __sparcv9]
62227         (__OFF_T_MATCHES_OFF64_T): New macro.
62228         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
62229         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
62230         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
62231         (__OFF_T_MATCHES_OFF64_T): New macro.
62233 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
62235         * stdlib/secure-getenv.c (__secure_getenv): Replace
62236         GLIBC_2_16 with GLIBC_2_17.
62238 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
62240         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
62241         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
62243 2012-08-03  David S. Miller  <davem@davemloft.net>
62245         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62247 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
62249         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
62250         Remove.
62251         (__ASSUME_CORRECT_SI_PID): Likewise.
62252         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
62253         (__ASSUME_TMPFS_NAME): Likewise.
62254         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
62255         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
62256         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
62257         (HAVE_AUX_SECURE): Make definition unconditional.
62258         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
62259         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
62261 2012-08-03  Roland McGrath  <roland@hack.frob.com>
62263         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
62264         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
62265         * sysdeps/mach/hurd/eloop-threshold.h: New file.
62266         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
62267         __eloop_threshold instead of SYMLOOP_MAX.
62269         * sysdeps/generic/eloop-threshold.h: New file.
62270         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
62271         of MAXSYMLINKS.
62272         * elf/chroot_canon.c (chroot_canon): Likewise.
62274 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
62276         [BZ #13717]
62277         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
62278         Change to 2.6.0 everywhere.
62279         * sysdeps/unix/sysv/linux/configure: Regenerated.
62280         * sysdeps/unix/sysv/linux/kernel-features.h
62281         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
62282         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
62283         kernel versions.
62284         (__ASSUME_POSIX_TIMERS): Define unconditionally.
62285         (__ASSUME_FUTEX_REQUEUE): Remove.
62286         (__ASSUME_STATFS64): Define unconditionally.
62287         (__ASSUME_AT_SECURE): Likewise.
62288         (__ASSUME_CORRECT_SI_PID): Likewise.
62289         (__ASSUME_TGKILL): Define without depending on kernel version for
62290         i386.
62291         (__ASSUME_UTIMES): Likewise.
62292         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
62293         kernel version.
62294         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
62295         (__ASSUME_TMPFS_NAME): Likewise.
62296         * README: Update reference to Linux kernel versions.
62298 2012-08-02  Marek Polacek  <polacek@redhat.com>
62300         [BZ# 14150]
62301         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
62302         libc_cv_asm_type_prefix with %.
62303         * configure: Regenerated.
62304         * include/libc-symbols.h: Remove comment about
62305         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
62306         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
62307         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
62308         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
62309         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
62310         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
62311         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
62312         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
62313         * elf/tst-unique2mod1.c: Likewise.
62314         * elf/tst-unique1mod2.c: Likewise.
62315         * elf/tst-unique1mod1.c: Likewise.
62316         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
62317         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
62318         Replace ASM_TYPE_DIRECTIVE with .type.
62319         * sysdeps/s390/s390-64/sysdep.h: Likewise.
62320         * sysdeps/i386/sysdep.h: Likewise.
62321         * sysdeps/x86_64/sysdep.h: Likewise.
62322         * sysdeps/sh/sysdep.h: Likewise.
62323         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
62324         Do not define ASM_TYPE_DIRECTIVE.
62325         * sysdeps/powerpc/sysdep.h: Likewise.
62326         * sysdeps/powerpc/powerpc32/sysdep.h:
62327         Replace ASM_TYPE_DIRECTIVE with .type.
62328         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
62329         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
62330         * sysdeps/i386/fpu/e_powf.S: Likewise.
62331         * sysdeps/i386/fpu/e_expl.S: Likewise.
62332         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
62333         * sysdeps/i386/fpu/e_acosh.S: Likewise.
62334         * sysdeps/i386/fpu/e_pow.S: Likewise.
62335         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
62336         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
62337         * sysdeps/i386/fpu/s_expm1.S: Likewise.
62338         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
62339         * sysdeps/i386/fpu/e_log2.S: Likewise.
62340         * sysdeps/i386/fpu/e_log2l.S: Likewise.
62341         * sysdeps/i386/fpu/e_scalb.S: Likewise.
62342         * sysdeps/i386/fpu/e_powl.S: Likewise.
62343         * sysdeps/i386/fpu/e_log10f.S: Likewise.
62344         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
62345         * sysdeps/i386/fpu/e_logl.S: Likewise.
62346         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
62347         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
62348         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
62349         * sysdeps/i386/fpu/e_log2f.S: Likewise.
62350         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
62351         * sysdeps/i386/fpu/e_log.S: Likewise.
62352         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
62353         * sysdeps/i386/fpu/e_logf.S: Likewise.
62354         * sysdeps/i386/fpu/e_log10l.S: Likewise.
62355         * sysdeps/i386/fpu/e_atanh.S: Likewise.
62356         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
62357         * sysdeps/i386/fpu/e_log10.S: Likewise.
62358         * sysdeps/i386/fpu/s_frexp.S: Likewise.
62359         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
62360         * sysdeps/i386/fpu/s_asinh.S: Likewise.
62361         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
62362         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
62363         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
62364         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
62365         * sysdeps/i386/i686/strtok.S: Likewise.
62366         * sysdeps/i386/i386-mcount.S: Likewise.
62367         * sysdeps/i386/strtok.S: Likewise.
62368         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
62369         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
62370         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
62371         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
62372         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
62373         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
62374         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
62375         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
62376         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
62377         * sysdeps/x86_64/_mcount.S: Likewise.
62378         * sysdeps/x86_64/strtok.S: Likewise.
62379         * sysdeps/sh/_mcount.S: Likewise.
62381 2012-08-01  Roland McGrath  <roland@hack.frob.com>
62383         * libio/iofopen.c: Include <fcntl.h>.
62384         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
62385         (_IO_fopen64, fopen64): Define as aliases.
62386         * libio/iofopen64.c: Include <fcntl.h>.
62387         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
62388         Conditionalize body on this.
62389         * sysdeps/wordsize-64/iofopen.c: File removed.
62390         * sysdeps/wordsize-64/iofopen64.c: File removed.
62392 2012-08-01  Marek Polacek  <polacek@redhat.com>
62394         * libc/Makeconfig: Use elf in place of binfmt-subdir.
62395         Use dlfcn directly instead of a variable.
62396         (binfmt-subdir): Do not define.
62397         (dlfcn): Likewise.
62399 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
62401         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
62402         Remove all definitions.
62403         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
62404         <kernel-features.h>.
62405         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
62406         (miss_F_GETOWN_EX): Remove all definitions.
62407         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
62408         macro definition.
62409         [!__ASSUME_FCNTL64]: Remove conditional code.
62410         [__ASSUME_FCNTL64]: Make code unconditional.
62411         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
62412         <kernel-features.h>.
62413         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
62414         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
62415         (lockf64) [__NR_fcntl64]: Make code unconditional.
62416         (lockf64) [__ASSUME_FCNTL64]: Likewise.
62418         * sysdeps/unix/sysv/linux/kernel-features.h
62419         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
62420         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
62421         Make code unconditional.
62422         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
62423         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
62424         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
62425         [__NR_vfork]: Make code unconditional.
62426         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
62427         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
62428         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
62429         [__NR_vfork]: Make code unconditional.
62430         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
62431         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
62433 2012-08-01  Roland McGrath  <roland@hack.frob.com>
62435         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
62436         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
62438         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
62439         Define mkstemp64 as an alias.
62440         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
62441         Define mkstemps64 as an alias.
62442         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
62443         Define mkostemp64 as an alias.
62444         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
62445         Define mkostemps64 as an alias.
62446         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
62447         Conditionalize body on this.
62448         * misc/mkostemp64.c: Likewise.
62449         * misc/mkostemps64.c: Likewise.
62450         * misc/mkstemps64.c: Likewise.
62451         * sysdeps/wordsize-64/mkstemp64.c: File removed.
62452         * sysdeps/wordsize-64/mkostemp64.c: File removed.
62453         * sysdeps/wordsize-64/mkostemp.c: File removed.
62454         * sysdeps/wordsize-64/mkstemp.c: File removed.
62455         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
62456         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
62457         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
62458         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
62460         [BZ #14138]
62461         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
62462         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
62463         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
62464         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
62466         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
62467         compat_symbol macros from <shlib-compat.h> rather than the underlying
62468         default_symbol_version and symbol_version macros, so that DEFAULT
62469         lines in shlib-versions are respected.
62470         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
62472 2012-08-01  Florian Weimer  <fweimer@redhat.com>
62474         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
62475         Declare with warn_unused_result.
62476         (setgid, setregid, setegid, setresgid): Likewise.
62477         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
62478         Likewise.
62479         * WUR-REPORT: Remove set*id functions.
62481 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
62483         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
62485 2012-07-31  Roland McGrath  <roland@hack.frob.com>
62487         [BZ #10191]
62488         * include/sys/socket.h (__libc_accept, __libc_accept4):
62489         Add attribute_hidden.
62490         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
62492         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
62493         use of PTR_MANGLE.
62494         * inet/getnetgrent_r.c (setup): Likewise.
62496         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
62498 2012-07-31  David S. Miller  <davem@davemloft.net>
62500         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62502 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
62504         [BZ #13629]
62505         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
62506         value between 1.0 and 2.0 and smaller part has absolute value less
62507         than 1.0.
62508         * math/s_clog10.c (__clog10): Likewise.
62509         * math/s_clog10f.c (__clog10f): Likewise.
62510         * math/s_clog10l.c (__clog10l): Likewise.
62511         * math/s_clogf.c (__clogf): Likewise.
62512         * math/s_clogl.c (__clogl): Likewise.
62513         * math/libm-test.inc (clog_test): Add more tests.
62514         (clog10_test): Likewise.
62515         * sysdeps/i386/fpu/libm-test-ulps: Update.
62516         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62518 2012-07-31  Florian Weimer  <fweimer@redhat.com>
62520         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
62521         Exit with zero in case no suitable GID is found, and write a
62522         message to standard error.
62524 2012-07-30  Roland McGrath  <roland@hack.frob.com>
62526         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
62527         rather than to 1.
62528         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
62529         (MAXPATHLEN): Removed.
62530         (NOGROUP, NODEV): New macros.
62531         (setbit, clrbit, isset, isclr): New macros.
62532         (howmany, roundup, powerof2): New macros.
62533         (DEV_BSIZE): New macro.
62535         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
62536         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
62538         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
62539         definition on [!__NO_LONG_DOUBLE_MATH].
62541         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
62542         PTR_MANGLE and PTR_DEMANGLE.
62544         * socket/accept4.c (accept4): Rename to __libc_accept4.
62545         Define accept4 as a weak alias.
62547         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
62548         on [_DIRENT_HAVE_D_TYPE].
62549         * io/ftw.c (ftw_dir): Likewise.
62551         * io/xmknod.c (__xmknod): Don't check PATH for being null.
62553         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
62555         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
62556         Use the BSD numbers rather than the arbitrary ones we had.
62557         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
62558         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
62559         (SIGXCPU, SIGXFSZ): New macros.
62560         (_NSIG): Now 32.
62562         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
62563         initializer on [_LIBC_REENTRANT].
62565         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
62566         definitions inside [_POSIX_MAPPED_FILES].
62568         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
62570         * dirent/opendir.c: Include <fcntl.h>.
62572         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
62573         (__libc_getspecific): Likewise.
62574         (__libc_key_create): Likewise.
62576         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
62577         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
62578         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
62579         (tmpfile64): Define as alias.
62580         * sysdeps/wordsize-64/tmpfile.c: File removed.
62581         * sysdeps/wordsize-64/tmpfile64.c: File removed.
62582         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
62583         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
62585         * stdio-common/vfscanf.c: Include <stdbool.h>.
62586         * nss/makedb.c: Likewise.
62587         * stdio-common/_i18n_number.h: Likewise.
62588         * argp/argp-help.c: Likewise.
62589         * posix/wordexp.c: Likewise.
62590         * sysdeps/posix/spawni.c: Likewise.
62591         * nss/nss_files/files-initgroups.c: Likewise.
62592         * stdio-common/reg-modifier.c: Include <stdlib.h>.
62593         * nss/nss_files/files-initgroups.c: Likewise.
62594         * nss/nss_db/db-netgrp.c: Likewise.
62595         * nss/nss_db/db-initgroups.c: Likewise.
62596         * io/fchmodat.c: Include <sys/stat.h>.
62598         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
62599         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
62601         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
62602         [HAVE_MMAP].
62604         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
62605         Add multiple inclusion protection.
62607 2012-07-27  David S. Miller  <davem@davemloft.net>
62609         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62611 2012-07-27  Gary Benson  <gbenson@redhat.com>
62613         [BZ #14298]
62614         * elf/rtld.c: Include <stap-probe.h>.
62615         (dl_main): Added static probes "init_start" and "init_complete".
62616         * elf/dl-load.c: Include <stap-probe.h>.
62617         (lose): Take new parameter "nsid".
62618         Added static probe "map_failed".
62619         (_dl_map_object_from_fd): Pass namespace id to lose.
62620         Added static probe "map_start".
62621         (open_verify): Pass namespace id to lose.
62622         * elf/dl-open.c: Include <stap-probe.h>.
62623         (dl_open_worker) Added static probes "map_complete", "reloc_start"
62624         and "reloc_complete".
62625         * elf/dl-close.c: Include <stap-probe.h>.
62626         (_dl_close_worker): Added static probes "unmap_start" and
62627         "unmap_complete".
62628         * elf/rtld-debugger-interface.txt: New file documenting the above.
62630 2012-07-26  Roland McGrath  <roland@hack.frob.com>
62632         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
62633         rather than a string variable.
62634         * sunrpc/rpc_main.c (h_output): Likewise.
62635         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
62637 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
62639         * inet/check_native.c: New file.
62641 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
62643         [BZ #13629]
62644         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
62645         if larger part has absolute value 1.0.
62646         * math/s_clog10.c (__clog10): Likewise.
62647         * math/s_clog10f.c (__clog10f): Likewise.
62648         * math/s_clog10l.c (__clog10l): Likewise.
62649         * math/s_clogf.c (__clogf): Likewise.
62650         * math/s_clogl.c (__clogl): Likewise.
62651         * math/libm-test.inc (clog_test): Add more tests.
62652         (clog10_test): Likewise.
62653         * sysdeps/i386/fpu/libm-test-ulps: Update.
62654         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62656         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
62657         (pltexit): Likewise.
62658         (La_regs): Likewise.
62659         (La_retval): Likewise.
62660         (int_retval): Likewise.
62661         Update #error for removed macros to refer only to definitions in
62662         tst-audit.h.
62663         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
62664         macro.
62665         (pltexit): Likewise.
62666         (La_regs): Likewise.
62667         (La_retval): Likewise.
62668         (int_retval): Likewise.
62669         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
62670         macro.
62671         (pltexit): Likewise.
62672         (La_regs): Likewise.
62673         (La_retval): Likewise.
62674         (int_retval): Likewise.
62675         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
62676         macro.
62677         (pltexit): Likewise.
62678         (La_regs): Likewise.
62679         (La_retval): Likewise.
62680         (int_retval): Likewise.
62681         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
62682         macro.
62683         (pltexit): Likewise.
62684         (La_regs): Likewise.
62685         (La_retval): Likewise.
62686         (int_retval): Likewise.
62687         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
62688         macro.
62689         (pltexit): Likewise.
62690         (La_regs): Likewise.
62691         (La_retval): Likewise.
62692         (int_retval): Likewise.
62693         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
62694         macro.
62695         (pltexit): Likewise.
62696         (La_regs): Likewise.
62697         (La_retval): Likewise.
62698         (int_retval): Likewise.
62699         * sysdeps/generic/tst-audit.h: Update comment to refer only to
62700         macro definitions in tst-audit.h.
62701         * sysdeps/i386/tst-audit.h: New file.
62702         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
62703         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
62704         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
62705         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
62706         * sysdeps/sh/tst-audit.h: Likewise.
62707         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
62708         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
62709         * sysdeps/x86_64/tst-audit.h: Likewise.
62711 2012-07-26  Andreas Jaeger  <aj@suse.de>
62713         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
62714         ptrace.
62716         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
62717         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
62718         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
62719         PTRACE_O_MASK.
62720         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
62721         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
62722         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
62724         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
62725         value.
62727         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
62728         _sigsys.
62729         (si_call_addr, si_syscall, si_arch): Define new macro.
62730         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
62731         _sigsys.
62732         (si_call_addr, si_syscall, si_arch): Define new marcro.
62733         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
62734         _sigsys.
62735         (si_call_addr, si_syscall, si_arch): Define new macro.
62736         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
62737         _sigsys.
62738         (si_call_addr, si_syscall, si_arch): Define new macro.
62740 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
62742         [BZ #13717]
62743         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
62744         Change to 2.4.21 where previously 2.4.1.
62745         * sysdeps/unix/sysv/linux/configure: Regenerated.
62746         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
62747         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
62748         Linux kernel version.
62749         (__ASSUME_STD_AUXV): Remove.
62750         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
62751         kernel version.
62752         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
62753         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
62754         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
62755         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
62756         (__ASSUME_NETLINK_SUPPORT): Likewise.
62757         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
62758         (__no_netlink_support): Remove conditional definition.
62759         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
62760         Remove.
62761         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
62762         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
62763         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
62764         (if_nameindex_ioctl): Remove.
62765         (if_nameindex_netlink): Do not handle __no_netlink_support.
62766         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
62767         code.
62768         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
62769         Remove conditional code.
62770         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
62771         code.
62772         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
62773         unconditional.
62774         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
62775         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
62776         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
62777         Remove.
62778         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
62779         [!__ASSUME_STD_AUXV]: Remove conditional code.
62780         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
62781         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
62782         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
62783         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
62784         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
62785         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
62786         code.
62787         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
62788         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
62789         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
62790         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
62791         conditional code.
62792         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
62793         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
62794         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
62795         code.
62796         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
62797         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
62798         conditional code.
62799         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
62800         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
62801         code unconditional.
62802         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
62803         conditional code.
62804         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
62805         unconditional.
62806         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
62807         conditional code.
62808         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
62809         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
62810         unconditional.
62811         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
62812         conditional code.
62813         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
62814         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
62815         code unconditional.
62816         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
62817         conditional code.
62818         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
62819         unconditional.
62820         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
62821         conditional code.
62822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
62823         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
62824         code unconditional.
62825         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
62826         conditional code.
62827         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
62828         unconditional.
62829         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
62830         conditional code.
62832 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
62834         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
62835         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
62836         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
62837         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
62838         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
62839         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
62840         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
62841         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
62842         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
62843         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
62844         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
62845         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
62846         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
62847         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
62848         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
62849         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
62850         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
62851         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
62852         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
62853         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
62854         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
62855         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
62856         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
62858 2012-07-25  Florian Weimer  <fweimer@redhat.com>
62860         * Versions.def: Add GLIBC_2.17.
62861         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
62862         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
62863         Introduce __libc_secure_getenv.
62864         * stdlib/Versions (2.17): Add secure_getenv
62865         (GLIBC_PRIVATE): Add __libc_secure_getenv.
62866         * stdlib/secure-getenv.c: Rename __secure_getenv to
62867         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
62868         symbol __secure_getenv for GLIBC_2.0.
62869         * stdlib/tst-secure-getenv.c: New.
62870         * stdlib/Makefile (tests): Add testcase.
62871         * manual/startup.texi (Environment Access): Document
62872         secure_getenv.
62873         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
62874         __libc_secure_getenv.
62875         * inet/ruserpass.c (ruserpass): Likewise.
62876         * malloc/mtrace.c (mtrace): Likewise.
62877         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
62878         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
62879         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
62880         * sysdeps/posix/tempname.c: Likewise.  Evaluate
62881         HAVE_SECURE_GETENV.
62882         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
62883         __secure_getenv to __libc_secure_getenv.
62884         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
62885         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
62886         Likewise.
62887         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
62888         Likewise.
62889         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
62890         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
62891         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
62892         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
62893         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
62894         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
62895         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
62897 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
62899         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
62900         (struct La_i86_retval): Likewise.
62901         (struct La_x86_64_regs): Likewise.
62902         (struct La_x86_64_retval): Likewise.
62903         (struct La_x32_regs): Likewise.
62904         (struct La_x32_retval): Likewise.
62905         (struct La_ppc32_regs): Likewise.
62906         (struct La_ppc32_retval): Likewise.
62907         (struct La_ppc64_regs): Likewise.
62908         (struct La_ppc64_retval): Likewise.
62909         (struct La_sh_regs): Likewise.
62910         (struct La_sh_retval): Likewise.
62911         (struct La_s390_32_regs): Likewise.
62912         (struct La_s390_32_retval): Likewise.
62913         (struct La_s390_64_regs): Likewise.
62914         (struct La_s390_64_retval): Likewise.
62915         (struct La_sparc32_regs): Likewise.
62916         (struct La_sparc32_retval): Likewise.
62917         (struct La_sparc64_regs): Likewise.
62918         (struct La_sparc64_retval): Likewise.
62919         (struct audit_ifaces): Remove architecture-specific pltenter and
62920         pltexit members.
62921         * sysdeps/i386/ldsodefs.h: New file.
62922         * sysdeps/powerpc/ldsodefs.h: Likewise.
62923         * sysdeps/s390/ldsodefs.h: Likewise.
62924         * sysdeps/sh/ldsodefs.h: Likewise.
62925         * sysdeps/sparc/ldsodefs.h: Likewise.
62926         * sysdeps/x86_64/ldsodefs.h: Likewise.
62928 2012-07-25  Marek Polacek  <polacek@redhat.com>
62930         [BZ #6808]
62931         * math/libm-test.inc (yn_test): Add another test.
62932         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
62933         to ERANGE when the result is +-Inf.
62934         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
62935         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
62936         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
62937         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
62939 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
62941         * conform/data/time.h-data (NULL): Use macro-constant.  Require
62942         equal to 0.
62943         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
62944         clock_t.
62945         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
62947 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
62949         * configure.in <sysdeps resolving>: Correct printing
62950         Implies_before.
62951         * configure: Regenerate.
62953 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
62955         * math/w_ilogb.c: Include <limits.h>.
62956         * math/w_ilogbl.c: Likewise.
62958 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
62960         * manual/lang.texi (__va_copy): Document primarily as ISO C99
62961         va_copy.  Document allowing for unavailable va_copy only as
62962         pre-C99 compatibility.
62963         * manual/string.texi (Copying and Concatenation): Use va_copy
62964         instead of __va_copy in concat example.
62966 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
62968         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
62969         (__sendto): Use create_address_port.  Initialize APORT and deallocate
62970         it if not null.
62972         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
62973         with O_NOLINK passed to __file_name_lookup.
62975         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
62976         with O_NOLINK passed to __file_name_lookup.
62978         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
62979         negative N or less than NGIDS.
62981         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
62982         type to string_t.  Set ERANGE as errno and return it if NAME is not big
62983         enough.  Use memcpy instead of strncpy.
62985 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
62987         * elf/Makefile (check-data): Remove.
62988         (localplt.data): New vpath directive.
62989         ($(objpfx)check-localplt.out): Use localplt.data from vpath
62990         instead of $(check-data).
62991         * scripts/data/localplt-generic.data: Move to ...
62992         * sysdeps/generic/localplt.data: ... here.
62993         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
62994         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
62995         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
62996         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
62997         ... here.
62998         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
62999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
63000         ... here.
63001         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
63002         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
63003         ... here.
63004         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
63005         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
63006         ... here.
63007         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
63008         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
63009         ... here.
63010         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
63011         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
63012         ... here.
63014 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63016         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
63017         PPC32 and PPC64 files.
63018         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
63019         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
63021 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63023         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
63024         __makecontext_ret to ...
63025         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
63026         ... here and call exit if uc_link is NULL.  New file.
63027         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
63028         __makecontext_ret.S.
63029         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
63030         __makecontext_ret to ...
63031         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
63032         ... here and call exit if uc_link is NULL.  New file.
63033         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
63034         __makecontext_ret.S.
63036 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63038         * elf/elf.h (R_390_IRELATIVE): New definition.
63039         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
63040         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
63041         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
63042         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
63043         (elf_machine_lazy_rel): Likewise.
63044         * sysdeps/s390/dl-irel.h: New file.
63045         * sysdeps/s390/s390-64/memcpy.S: New asm code.
63046         * sysdeps/s390/s390-64/memset.S: New asm code.
63047         * sysdeps/s390/s390-64/memcmp.S: New asm code.
63048         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
63049         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
63050         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
63051         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
63052         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
63053         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
63054         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
63055         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
63056         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
63057         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
63058         * sysdeps/s390/s390-32/memcpy.S: New asm code.
63059         * sysdeps/s390/s390-32/memset.S: New asm code.
63060         * sysdeps/s390/s390-32/memcmp.S: New asm code.
63062 2012-07-17  Marek Polacek  <polacek@redhat.com>
63064         [BZ #14349]
63065         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
63066         * sysdeps/s390/s390-64/configure.in: Likewise.
63067         * sysdeps/sparc/configure.in: Likewise.
63068         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
63069         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
63070         * sysdeps/i386/configure.in: Likewise.
63071         * sysdeps/x86_64/configure.in: Likewise.
63072         * sysdeps/sh/configure.in: Likewise.
63073         * sysdeps/s390/s390-32/configure: Regenerated.
63074         * sysdeps/s390/s390-64/configure: Likewise.
63075         * sysdeps/x86_64/configure: Likewise.
63076         * sysdeps/sh/configure: Likewise.
63077         * sysdeps/powerpc/powerpc64/configure: Likewise.
63078         * sysdeps/powerpc/powerpc32/configure: Likewise.
63079         * sysdeps/sparc/configure: Likwise.
63080         * sysdeps/i386/configure: Likewise.
63082         * elf/dl-open.c: Comment fixes.
63084 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
63086         * Makefile [CXX] (check-data): Remove.
63087         [CXX] (c++-types.data): New vpath directive.
63088         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
63089         vpath.  Do not allow for C++ type data being missing.
63090         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
63091         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
63092         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
63093         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
63094         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
63095         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
63096         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
63097         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
63098         ... here.
63099         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
63100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
63101         ... here.
63102         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
63103         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
63104         ... here.
63105         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
63106         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
63107         ... here.
63108         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
63109         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
63110         ... here.
63111         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
63112         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
63113         ... here.
63114         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
63115         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
63116         ... here.
63117         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
63118         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
63120         * elf/tls-macros.h (TLS_LE): Move architecture-specific
63121         definitions to architecture-specific files.
63122         (TLS_IE): Likewise.
63123         (TLS_LD): Likewise.
63124         (TLS_GD): Likewise.
63125         * sysdeps/i386/tls-macros.h: New file.
63126         * sysdeps/powerpc/tls-macros.h: Likewise.
63127         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
63128         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
63129         * sysdeps/sh/tls-macros.h: Likewise.
63130         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
63131         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
63132         * sysdeps/x86_64/tls-macros.h: Likewise.
63134 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
63136         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
63137         zero value for regular exit case.
63139         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
63140         (__start_context): Preserve zero value for regular exit case.
63142 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
63143             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63145         * manual/setjmp.texi (setcontext): Clarify normal process
63146         termination when uc_link is the null pointer.
63147         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
63148         exit call.
63150 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
63152         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
63153         preprocessor.  Test for each exception mask separately.
63155 2012-07-16  Andreas Jaeger  <aj@suse.de>
63157         * po/ru.po: Update from translation team.
63159 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
63161         * conform/data/string.h-data (NULL): Use macro-constant.  Require
63162         equal to 0.
63163         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
63164         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
63165         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
63166         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
63167         [ISO || ISO99 || ISO11] (*_t): Do not allow.
63169 2012-07-13  Andreas Jaeger  <aj@suse.de>
63171         * po/fr.po: Update from translation team.
63173 2012-07-12  Marek Polacek  <polacek@redhat.com>
63175         [BZ #14173]
63176         * math/libm-test.inc (yn_test): Add test for BZ #14173.
63177         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
63178         loop condition.
63180 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
63182         [BZ #13717]
63183         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
63184         Change to 2.4.1 where previously 2.4.0.
63185         * sysdeps/unix/sysv/linux/configure: Regenerated.
63186         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
63187         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
63188         version.
63189         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
63190         (__ASSUME_AT_CLKTCK): Remove.
63191         (__ASSUME_AT_PAGESIZE): Likewise.
63192         (__ASSUME_AT_XID): Likewise.
63193         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
63194         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
63195         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
63196         unconditionally.
63197         (HAVE_AUX_PAGESIZE): Likewise.
63198         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
63199         [__ASSUME_AT_CLKTCK]: Make code unconditional.
63200         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
63202 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
63204         [BZ #14307]
63205         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
63206         the temporary buffer used to invoke __gethostbyname2_r,
63207         __gethostbyaddr_r and gethostbyname4_r to make room for struct
63208         host_data / struct gaih_addrtuple.
63209         * resolv/nss_dns/dns-host.c (global scope): Move definition of
63210         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
63211         header file nss/nsswitch.h.
63212         * nss/nsswitch.h (global scope): Add definition of implementation
63213         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
63214         resolv/nss_dns/dns-host.c).
63216 2012-07-11  Andreas Jaeger  <aj@suse.de>
63218         * po/fr.po: Update from translation team.
63220         * po/sv.po: Update from translation team
63221         * po/fr.po: Another update from translation team.
63223 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63225         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
63226         for subnormals or multiply small sinh result by itself.
63227         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
63228         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63230 2012-07-11  David S. Miller  <davem@davemloft.net>
63232         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63234 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
63236         [BZ #14347]
63237         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
63238         (INTERNAL_MARK): Shift it here.
63240 2012-07-10  Marek Polacek  <polacek@redhat.com>
63242         [BZ #14151]
63243         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
63244         libc_cv_asm_global_directive with .globl.
63245         * configure: Regenerated.
63246         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
63247         with .globl.
63248         * sysdeps/i386/configure: Regenerated.
63249         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
63250         with .globl.
63251         * sysdeps/x86_64/configure: Regenerated.
63252         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
63253         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
63254         * elf/tst-unique2mod2.c: Likewise.
63255         * elf/tst-unique2mod1.c: Likewise.
63256         * elf/tst-unique1mod2.c: Likewise.
63257         * elf/tst-unique1mod1.c: Likewise.
63258         * sysdeps/s390/s390-32/sysdep.h: Likewise.
63259         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
63260         * sysdeps/s390/s390-64/sysdep.h: Likewise.
63261         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
63262         * sysdeps/mach/sysdep.h: Likewise.
63263         * sysdeps/i386/sysdep.h: Likewise.
63264         * sysdeps/i386/i386-mcount.S: Likewise.
63265         * sysdeps/x86_64/_mcount.S: Likewise.
63266         * sysdeps/x86_64/sysdep.h: Likewise.
63267         * sysdeps/sh/_mcount.S: Likewise.
63268         * sysdeps/sh/sysdep.h: Likewise.
63269         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
63270         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
63271         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
63272         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
63273         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
63274         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
63275         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
63276         * locale/localeinfo.h: Likewise.
63277         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
63278         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
63280 2012-07-09  Roland McGrath  <roland@hack.frob.com>
63282         [BZ #14336]
63283         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
63284         system".
63285         * manual/message.texi (The Uniforum approach): Likewise.
63286         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
63287         (glibc iconv Implementation): Likewise.
63289 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
63291         [BZ #14337]
63292         * math/s_clog.c (__clog): Avoid scaling a value down where that
63293         could result in underflow.
63294         * math/s_clog10.c (__clog10): Likewise.
63295         * math/s_clog10f.c (__clog10f): Likewise.
63296         * math/s_clog10l.c (__clog10l): Likewise.
63297         * math/s_clogf.c (__clogf): Likewise.
63298         * math/s_clogl.c (__clogl): Likewise.
63299         * math/libm-test.inc (clog_test): Add more tests.
63300         (clog10_test): Likewise.
63301         * sysdeps/i386/fpu/libm-test-ulps: Update.
63302         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63304 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
63306         [BZ #14283]
63307         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
63308         by 7 not 8 to examine high bit of fractional part.
63310         [BZ #14042]
63311         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
63312         for call to __mcount_internal.
63313         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
63314         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
63315         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
63317 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
63319         [BZ #14154]
63320         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
63321         approximation for values within 0x1p-13f of an odd multiple of
63322         pi/4.
63323         * math/libm-test.inc (tan_test): Do not allow spurious underflow
63324         exception.  Add more tests.
63325         * sysdeps/i386/fpu/libm-test-ulps: Update.
63327         [BZ #6778]
63328         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
63329         inputs and return -1 for them.  Do not check for +Inf in case not
63330         reachable for +Inf.
63331         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
63332         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
63333         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
63334         and return -1 for them.  Do not check for +Inf in case not
63335         reachable for +Inf.
63336         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
63337         define.
63338         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
63339         and return -1 for them.  Do not check for +Inf in case not
63340         reachable for +Inf.
63341         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
63342         spurious underflow.
63343         * sysdeps/i386/fpu/libm-test-ulps: Update.
63344         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63346 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
63348         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
63350 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
63352         [BZ #14157]
63353         [BZ #14331]
63354         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
63355         could result in spurious underflow.  Scale down values above
63356         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
63357         * math/s_csqrtf.c (__csqrtf): Likewise.
63358         * math/s_csqrtl.c (__csqrtl): Likewise.
63359         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
63360         spurious underflow.
63361         * sysdeps/i386/fpu/libm-test-ulps: Update.
63362         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63364 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
63366         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
63367         xopen-msg.sed.
63368         * catgets/xopen-msg.awk: New file.
63369         * catgets/xopen-msg.sed: Removed.
63371         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
63372         po2text.sed.
63373         * intl/po2test.awk: New file.
63374         * intl/po2test.sed: Removed.
63376 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
63378         [BZ #14328]
63379         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
63380         or multiply small sinh result by itself.
63381         * math/s_ctanf.c (__ctanf): Likewise.
63382         * math/s_ctanh.c (__ctanh): Likewise.
63383         * math/s_ctanhf.c (__ctanhf): Likewise.
63384         * math/s_ctanhl.c (__ctanhl): Likewise.
63385         * math/s_ctanl.c (__ctanl): Likewise.
63386         * math/libm-test.inc (ctan_test_tonearest): New function.
63387         (ctan_test_towardzero): Likewise.
63388         (ctan_test_downward): Likewise.
63389         (ctan_test_upward): Likewise.
63390         (ctanh_test_tonearest): Likewise.
63391         (ctanh_test_towardzero): Likewise.
63392         (ctanh_test_downward): Likewise.
63393         (ctanh_test_upward): Likewise.
63394         (main): Call these new functions.
63395         * sysdeps/i386/fpu/libm-test-ulps: Update.
63396         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63398 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
63400         * .gitignore: Delete /ports entry.
63402 2012-07-03  Andreas Jaeger  <aj@suse.de>
63404         * po/bg.po: Update from translation team.
63405         * po/cs.po: Likewise.
63406         * po/de.po: Likewise.
63407         * po/hr.po: Likewise.
63408         * po/nl.pl: Likewise.
63409         * po/pl.po: Likewise.
63410         * po/vi.po: Likewise.
63412 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
63414         * Makeconfig [!+link] (+link-before-libc): New variable.
63415         [!+link] (+link-after-libc): Likewise.
63416         [!+link] (+link-tests): Likewise.
63417         [!+link] (+link): Define in terms of $(+link-before-libc) and
63418         $(+link-after-libc).
63419         [!+link-static] (+link-static-before-libc): New variable.
63420         [!+link-static] (+link-static-after-libc): Likewise.
63421         [!+link-static] (+link-static-tests): Likewise.
63422         [!+link-static] (+link-static): Define in terms of
63423         $(+link-static-before-libc) and $(+link-static-after-libc).
63424         [build-shared] (link-libc-before-gnulib): New variable.
63425         [build-shared] (link-libc-tests): Likewise.
63426         [build-shared] (link-libc): Define in terms of
63427         $(link-libc-before-gnulib).
63428         [!build-shared] (link-libc-tests): New variable.
63429         (link-libc-static-tests): New variable.
63430         [!gnulib] (gnulib-arch): New variable.
63431         [!gnulib] (gnulib-tests): Likewise.
63432         [!gnulib] (static-gnulib-arch): Likewise.
63433         [!gnulib] (static-gnulib-tests): Likewise.
63434         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
63435         Define with "=" instead of ":=".
63436         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
63437         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
63438         * Rules (binaries-all-notests): New variable.
63439         (binaries-all-tests): Likewise.
63440         (binaries-static-notests): Likewise.
63441         (binaries-static-tests): Likewise.
63442         (binaries-all): Define using $(binaries-all-notests) and
63443         $(binaries-all-tests).
63444         (binaries-static): Define using $(binaries-static-notests) and
63445         $(binaries-static-tests).
63446         (binaries-shared-tests): New variable.
63447         (binaries-shared-notests): Likewise.
63448         (binaries-shared): Remove variable.
63449         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
63450         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
63451         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
63452         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
63453         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
63454         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
63455         * elf/Makefile (sln-modules): New variable.
63456         (extra-objs): Add $(sln-modules:=.o).
63457         (ldconfig-modules): Add static-stubs.
63458         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
63459         * elf/static-stubs.c: New file.
63461         [BZ #14283]
63462         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
63463         by 7 not 8 to examine high bit of fractional part.  Use volatile
63464         variables when splitting into final array of floats if
63465         __FLT_EVAL_METHOD__ != 0.
63466         * math/libm-test.inc (cos_test): Add another test.
63467         (sin_test): Likewise.
63468         * sysdeps/i386/fpu/libm-test-ulps: Update.
63470         [BZ #14273]
63471         * math/libm-test.inc (cosh_test): Add more tests.
63473         * version.h (RELEASE): Set to "development".
63474         (VERSION): Set to "2.16.90".
63476 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
63478         * NEWS: Update copyright. Remove last-updated date.
63479         Mention math library bug fixes and timezone data changes.
63480         * README: Mention GNU/Hurd, x32, and HPPA support status.
63482 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
63484         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
63486 2012-06-27  Andreas Jaeger  <aj@suse.de>
63488         * manual/contrib.texi (Contributors): Add Samuel Thibault.
63490 2012-06-25  Andreas Jaeger  <aj@suse.de>
63492         * sysdeps/s390/fpu/libm-test-ulps: Update.
63494 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
63495             Thomas Schwinge  <thomas@codesourcery.com>
63497         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
63498         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
63499         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
63500         fanotify_mark.
63502 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
63504         * sysdeps/mach/start.c: Remove file.
63505         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
63506         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
63507         * sysdeps/sh/init-first.c: Likewise.
63509         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
63510         registers for frame unwinding purposes, add CFI directives.
63511         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
63512         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
63513         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
63514         Likewise.
63516         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
63517         __fortify_fail returning.
63518         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
63520         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
63521         sysdeps/sh/____longjmp_chk.S.
63522         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
63523         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
63524         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
63525         (gen-as-const-headers): Append sigaltstack-offsets.sym.
63527         * sysdeps/sh/abort-instr.h: New file.
63528         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
63529         process in case exit returns.
63531         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
63532         initialize the GOT register before use.
63534         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
63535         calculation of ARGC > 4.
63537         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
63538         meaningful names to some local labels.
63540 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
63541             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
63543         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
63544         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
63545         (__arch_compare_and_exchange_val_16_acq): Likewise.
63546         (__arch_compare_and_exchange_val_32_acq): Likewise.
63547         (atomic_exchange_and_add): Fix gUSA sequence.
63548         (atomic_add): Likewise.
63549         (atomic_add_negative): Likewise.
63550         (atomic_add_zero): Likewise.
63551         (atomic_bit_test_set): Likewise.
63553 2012-06-22  Andreas Schwab  <schwab@redhat.com>
63555         [BZ #13579]
63556         * include/link.h (struct link_map): Add l_free_initfini.
63557         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
63558         l_initfini.
63559         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
63560         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
63561         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
63562         set.
63564 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
63566         * configure.in: Use AC_LANG_SOURCE.
63567         * configure: Regenerate.
63569 2012-06-22  Roland McGrath  <roland@hack.frob.com>
63571         * configure.in (libc_cv_localstatedir): New substituted variable.
63572         * configure: Regenerated.
63573         * config.make.in (localstatedir): New variable, substituted from
63574         libc_cv_localstatedir.
63575         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
63576         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
63577         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
63578         * sysdeps/gnu/configure: Regenerated.
63580 2012-06-21  Jeff Law  <law@redhat.com>
63582         [BZ #14277]
63583         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
63584         free.  Simplify list management for _LIBC case.
63586 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
63588         [BZ #14273]
63589         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
63590         Clear sign bit of 64-bit integer value before comparing against
63591         overflow value.
63593         * sysdeps/mach/configure: Regenerated.
63595 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
63597         [BZ #14278]
63598         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
63600 2012-06-21  Jeff Law  <law@redhat.com>
63602         [BZ #13882]
63603         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
63604         uint16_t for elements in the "seen" array to avoid char overflows.
63605         * elf/dl-fini.c (_dl_sort_fini): Likewise.
63606         * elf/dl-open.c (dl_open_worker): Likewise.
63608 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
63610         * scripts/list-sources.sh: Scan PORTS for translations.
63611         * po/libc.pot: Regenerated.
63613 2012-06-21  Andreas Jaeger  <aj@suse.de>
63615         [BZ #12194]
63616         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
63617         warning.
63618         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
63619         * bits/byteswap-16.h (__bswap_16): Likewise.
63620         * bits/byteswap.h (__bswap_constant_16): Likewise.
63622 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
63624         [BZ #14117]
63625         * sysdeps/i386/fpu_control.h: Removed.
63626         * sysdeps/x86_64/fpu_control.h: Moved to ...
63627         * sysdeps/x86/fpu_control.h: Here.
63629         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
63630         (_FPU_SETCW): Likewise.
63632 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
63634         [BZ #14117]
63635         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
63636         * sysdeps/x86/fpu/bits/mathinline.h: This.
63637         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
63639         [BZ #14050]
63640         [BZ #14117]
63641         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
63642         functions if __x86_64__ is defined.
63644 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
63646         * string/endian.h: Add !__ASSEMBLER__ condition for including
63647         conversion interfaces.
63649 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
63651         [BZ #14241]
63652         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
63653         of ABS(x) in calculating zero to negative powers other than odd
63654         integers.
63655         * math/libm-test.inc (pow_test): Add more tests.
63657 2012-06-15  Andreas Jaeger  <aj@suse.de>
63659         * manual/contrib.texi (Contributors): Update entry of Liubov
63660         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
63661         Machado Filho.
63663 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
63665         * string/string.h: Add __wur to GNU version of strerror_r.
63667 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
63669         [BZ #14229]
63670         * string/Makefile (tests): Add tst-strtok_r.
63671         * string/tst-strtok_r.c: New file.
63672         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
63673         RAX_LP/RDX_LP on SAVE_PTR.
63675 2012-06-14  Roland McGrath  <roland@hack.frob.com>
63677         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
63679 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
63681         * libm_test.inc (csqrt_test): Allow more spurious underflow
63682         exceptions.
63683         (j0_test): Likewise.
63684         (j1_test): Likewise.
63685         (y0_test): Likewise.
63686         (y1_test): Likewise.
63688 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
63690         * po/Makefile (libc.pot): Use UTF-8 charset.
63692 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
63694         [BZ #14210]
63695         Suppress sign-conversion warning from FD_SET.
63696         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
63697         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
63698         not unsigned long int.
63699         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
63701 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
63703         [BZ #14050]
63704         [BZ #14117]
63705         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
63706         __extern_always_inline instead of __extern_inline.
63707         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
63708         (__signbit): Likewise.
63709         (__signbitl): Support C++ namespace.
63710         (lrintf): New inline function.
63711         (lrint): Likewise.
63712         (llrintf): Likewise.
63713         (llrint): Likewise.
63714         (fmaxf): Likewise.
63715         (fmax): Likewise.
63716         (fminf): Likewise.
63717         (fmin): Likewise.
63718         (rint): Likewise.
63719         (rintf): Likewise.
63720         (ceil): Likewise.
63721         (ceilf): Likewise.
63722         (floor): Likewise.
63723         (floorf): Likewise.
63724         (nearbyint): Likewise.
63725         (nearbyintf): Likewise.
63727 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
63729         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
63730         non-default versions.
63732 2012-06-11  Roland McGrath  <roland@hack.frob.com>
63734         [BZ #14218]
63735         * manual/argp.texi (Argp): Reword argp_parse description slightly.
63737 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
63739         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
63740         (FE_UPWARD, FE_DOWNWARD): Don't define.
63741         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
63742         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
63744         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
63745         reading it.
63746         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
63747         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
63749 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
63751         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
63752         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
63753         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
63754         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
63756 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
63758         [BZ #14117]
63759         * sysdeps/i386/fpu/bits/fenv.h: Removed.
63760         * sysdeps/i386/fpu/Implies: New file.
63761         * sysdeps/x86_64/fpu/Implies: Likewise.
63762         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
63763         * sysdeps/x86/fpu/bits/fenv.h: This.
63765         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
63766         __SSE_MATH__.
63768 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
63770         [BZ #14134]
63771         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
63772         character 0xffff that matches the last element of the
63773         conversion table.
63775 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63777         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
63778         fmodl commit.
63780 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63782         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
63783         values higher than 25.6283.
63785 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63787         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
63788         subnormal exponent extraction and add some __builtin_expect.
63789         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
63790         Fix for subnormal mantissa calculation.
63792 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
63794         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
63795         cpu2 is -1 and errno is not ENOSYS.
63797 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
63799         [BZ #14117]
63800         * sysdeps/i386/i486/bits/string.h: Renamed to ...
63801         * sysdeps/x86/bits/string.h: This.
63802         * sysdeps/x86_64/bits/string.h: Removed.
63804         * sysdeps/i386/i486/bits/string.h: Define inline functions only
63805         if not compiling for x86-64, but compiling for >= i486.
63807         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
63808         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
63810         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
63811         New macro from Linux kernel 3.4.0.
63812         (FP_XSTATE_MAGIC2): Likewise.
63813         (FP_XSTATE_MAGIC2_SIZE): Likewise.
63814         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
63815         (struct _fpx_sw_bytes): New struct.
63816         (struct _xsave_hdr): Likewise.
63817         (struct _ymmh_state): Likewise.
63818         (struct _xstate): Likewise.
63820         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
63821         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
63822         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
63823         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
63824         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
63825         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
63827         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
63828         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
63829         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
63830         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
63831         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
63832         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
63834 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
63836         [BZ #13743]
63837         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
63838         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
63839         (sysdep_headers): Include sys/platform/ppc.h.
63840         * sysdeps/powerpc/test-gettimebase.c: Test for
63841         __ppc_get_timebase() to catch future ISA opcode/insn changes.
63842         * manual/Makefile (appendices): Include platform.texi.
63843         * manual/contrib.texi (Contributors): Update @node pointers.
63844         * manual/maint.texi (Maintenance): Likewise.
63845         (Platform): New node.
63846         * manual/platform.texi: New file.  Document the new features.
63848 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
63849             Jakub Jelinek  <jakub@redhat.com>
63851         [BZ #14188]
63852         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
63853         where __builtin_expect is unavailable.
63855 2012-06-03  David S. Miller  <davem@davemloft.net>
63857         * stdlib/longlong.h: Updated from GCC.
63859 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
63861         [BZ #14042]
63862         * sysdeps/powerpc/powerpc32/mcount.c: New file.
63863         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
63864         __mcount_internal.
63865         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
63866         (GLIBC_2.16): Likewise.
63868 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
63870         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
63872 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
63874         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
63875         (default-abi): New variable.
63876         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
63877         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
63878         variable.
63879         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
63880         Likewise.
63881         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
63882         Likewise.
63883         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
63884         Likewise.
63886         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
63887         definition.  Document in comment.
63889 2012-06-01  David S. Miller  <davem@davemloft.net>
63891         * stdlib/longlong.h: Updated from GCC.
63893 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
63895         [BZ #14117]
63896         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
63897         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
63898         sys/debugreg.h sys/io.h here.
63899         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
63900         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
63901         sys/io.h.
63902         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
63903         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
63904         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
63905         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
63906         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
63907         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
63909         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
63910         Define only if __x86_64__ is defined.
63912 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
63914         [BZ #14048]
63915         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
63916         Use int64_t for variable i.
63917         * math/libm-test.inc (fmod_test): Add more tests.
63919         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
63920         z computation is not scheduled after fetestexcept.
63921         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
63922         Use math_force_eval instead of asm to ensure calculation scheduled
63923         before exception test.
63924         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
63925         Ensure a1 + u.d computation is not scheduled after fetestexcept.
63927 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
63929         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
63930         computation is not scheduled after fetestexcept.
63932 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
63934         [BZ #14117]
63935         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
63936         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
63938 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63940         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
63941         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
63943 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
63945         [BZ #14117]
63946         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
63947         <bits/wordsize.h>.
63948         (__WCHAR_MIN): Support __WORDSIZE == 64.
63949         (__WCHAR_MAX): Likewise.
63951         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
63952         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
63954         [BZ #14183]
63955         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
63956         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
63958         [BZ #14117]
63959         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
63960         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
63962         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
63963         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
63965         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
63966         Defined to 1 if __x86_64__ isn't defined.
63967         (_STAT_VER_LINUX_OLD): New.
63968         (st_atime): Remove duplicate.
63969         (st_mtime): Likewise.
63970         (st_ctime): Likewise.
63972 2012-05-31  David S. Miller  <davem@davemloft.net>
63974         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
63975         entries.
63977 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
63979         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
63980         gen-libm-test.pl.
63982         [BZ #14132]
63983         * elf/dl-reloc.c: Include <_itoa.h>.
63984         (_dl_reloc_bad_type): Remove use of INTUSE.
63985         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
63986         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
63987         * stdio-common/psiginfo.c (psiginfo): Likewise.
63988         * stdio-common/psignal.c (psignal): Likewise.
63989         * string/strsignal.c (strsignal): Likewise.
63990         * include/signal.h (_sys_siglist): Declare hidden proto.
63991         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
63992         INTVARDEF with libc_hidden_data_def.
63993         * stdio-common/itoa-udigits.c: Likewise.
63994         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
63995         (_itoa_lower_digits_internal): Remove declaration.
63996         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
63997         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
63998         (_sys_sigabbrev_internal): Remove aliases.
63999         (_sys_siglist): Define hidden alias.
64001 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
64003         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
64004         bits/sysctl.h.
64006 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
64008         [BZ #14117]
64009         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
64010         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
64012         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
64013         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
64014         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
64015         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
64016         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
64017         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
64019         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
64020         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
64021         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
64023         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
64024         with __addr.
64025         (insw): Likewise.
64026         (insl): Likewise.
64027         (outsb): Likewise.
64028         (outsw): Likewise.
64029         (outsl): Likewise.
64031         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
64032         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
64033         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
64035         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
64036         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
64037         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
64038         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
64039         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
64040         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
64042         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
64043         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
64045         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
64046         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
64048         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
64049         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
64050         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
64052         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
64053         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
64054         to ...
64055         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
64057         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
64058         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
64059         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
64061         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
64062         for x86-64.
64063         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
64065 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
64067         * math/math.h (M_El): Use two more decimal places.
64068         (M_LOG2El): Likewise.
64069         (M_LOG10El): Likewise.
64070         (M_LN2l): Likewise.
64071         (M_LN10l): Likewise.
64072         (M_PIl): Likewise.
64073         (M_PI_2l): Likewise.
64074         (M_PI_4l): Likewise.
64075         (M_1_PIl): Likewise.
64076         (M_2_PIl): Likewise.
64077         (M_2_SQRTPIl): Likewise.
64078         (M_SQRT2l): Likewise.
64079         (M_SQRT1_2l): Likewise.
64081 2012-05-31  David S. Miller  <davem@davemloft.net>
64083         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
64084         values between float registers.
64085         * sysdeps/sparc/sparc64/memset.S: Likewise.
64086         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
64088 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
64090         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
64091         -D_FORTIFY_SOURCE=1.
64092         (CPPFLAGS-tst-longjmp_chk.c): Define.
64093         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
64094         (CPPFLAGS-tst-longjmp_chk2.c): Define.
64095         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
64096         CFLAGS-tst-wchar-h.c.
64098 2012-05-31  Marek Polacek  <polacek@redhat.com>
64100         [BZ #14132]
64101         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
64102         __endmntent_internal): Remove declaration.
64103         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
64104         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
64105         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
64107 2012-05-30  David S. Miller  <davem@davemloft.net>
64109         * sysdeps/sparc/sparc32/soft-fp/q_util.c
64110         (___Q_simulate_exceptions): Use real FP ops rather than writing
64111         into the %fsr.
64112         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
64113         Likewise.
64115 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
64117         [BZ #14117]
64118         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
64119         * sysdeps/x86/bits/xtitypes.h: This.
64121         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
64122         * sysdeps/x86/bits/wordsize.h: This.
64124         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
64125         * sysdeps/x86/bits/huge_vall.h: This.
64127         * sysdeps/i386/bits/select.h: Removed.
64128         * sysdeps/x86_64/bits/select.h: Renamed to ...
64129         * sysdeps/x86/bits/select.h: This.
64131         * sysdeps/i386/bits/setjmp.h: Removed.
64132         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
64133         * sysdeps/x86/bits/setjmp.h: This.
64135         * sysdeps/i386/bits/mathdef.h: Removed.
64136         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
64137         * sysdeps/x86/bits/mathdef.h: This.
64139 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
64141         [BZ #14132]
64142         * include/sys/socket.h (__connect_internal)
64143         (__libc_sa_len_internal): Remove declaration.
64144         (__connect, __libc_sa_len): Declare hidden_proto.
64145         (SA_LEN): Remove use of INTUSE.
64146         * socket/connect.c: Add libc_hidden_def.
64147         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
64148         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
64149         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
64150         alias.
64151         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
64152         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
64153         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
64154         of adding _internal alias.
64156 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
64158         [BZ #14117]
64159         * sysdeps/i386/bits/link.h: Removed.
64160         * sysdeps/i386/bits/linkmap.h: Likewise.
64161         * sysdeps/x86_64/bits/link.h: Renamed to ...
64162         * sysdeps/x86/bits/link.h: This.
64163         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
64164         * sysdeps/x86/bits/linkmap.h: This.
64166         * sysdeps/i386/bits/endian.h: Removed.
64167         * sysdeps/x86_64/bits/endian.h: Renamed to ...
64168         * sysdeps/x86/bits/endian.h: This.
64170         * sysdeps/i386/bits/byteswap.h: Removed.
64171         * sysdeps/i386/bits/byteswap-16.h: Likewise.
64172         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
64173         * sysdeps/x86/bits/byteswap.h: This.
64174         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
64175         * sysdeps/x86/bits/byteswap-16.h: This.
64176         * sysdeps/i386/Implies: Add x86.
64177         * sysdeps/x86_64/Implies: Likewise.
64179 2012-05-30  David S. Miller  <davem@davemloft.net>
64181         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
64182         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
64183         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
64184         (FP_TRAPPING_EXCEPTIONS): Define.
64185         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
64186         (FP_TRAPPING_EXCEPTIONS): Define.
64187         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
64188         subnormals only when inexact has been signalled or underflow
64189         exceptions are enabled.
64190         (_FP_PACK_CANONICAL): Likewise.
64192 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
64194         [BZ #14183]
64195         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
64196         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
64198 2012-05-30  Richard Henderson  <rth@twiddle.net>
64200         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
64201         with #ifndef NOT_IN_libc.
64203         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
64204         marked to avoid plt entry.
64206 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
64208         [BZ #14112]
64209         * Makeconfig (default-abi): New macro.
64210         (abi-includes): Likewise.
64211         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
64212         $(abi-$(default-abi)-lib-soname) for soname if defined.
64213         ($(common-objpfx)gnu/lib-names.stmp): Generate from
64214         abi-variants.
64215         * Makefile (installed-stubs): Likewise.
64216         * include/stubs-biarch.h: Removed.
64217         * scripts/lib-names.awk: Only handle one library at a time.
64218         * scripts/soversions.awk: Remove WORDSIZE support.
64219         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
64220         entries.
64221         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
64222         Removed.
64223         (syscall-list-default-condition): Likewise.
64224         (syscall-list-default-condition): Likewise.
64225         (syscall-list-includes): Likewise.
64226         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
64227         syscall-list-* with abi-*.  Handle undefined abi-variants.
64228         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
64229         * sysdeps/unix/sysv/linux/i386/Implies: New file.
64230         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
64231         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
64232         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
64233         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
64234         Removed.
64235         (syscall-list-32-options): Likewise.
64236         (syscall-list-32-condition): Likewise.
64237         (syscall-list-64-options): Likewise.
64238         (syscall-list-64-condition): Likewise.
64239         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
64240         macro.
64241         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
64242         Renamed to ...
64243         (abi-*): This.
64244         (abi-64-ld-soname): New macro.
64245         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
64246         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
64247         Renamed to ...
64248         (abi-*): This.
64249         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
64250         * sysdeps/x86_64/x32/shlib-versions: Likewise.
64252 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
64254         * sysdeps/unix/sysv/linux/kernel-features.h
64255         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
64256         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
64257         include <kernel-features.h>.
64258         [!__NR_ftruncate64]: Remove conditional code.
64259         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64260         [__NR_ftruncate64]: Make code unconditional.
64261         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64262         * sysdeps/unix/sysv/linux/truncate64.c: Do not
64263         include <kernel-features.h>.
64264         [!__NR_ftruncate64]: Remove conditional code.
64265         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64266         [__NR_ftruncate64]: Make code unconditional.
64267         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64268         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
64269         include <kernel-features.h>.
64270         [!__NR_ftruncate64]: Remove conditional code.
64271         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64272         [__NR_ftruncate64]: Make code unconditional.
64273         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64274         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
64275         include <kernel-features.h>.
64276         [!__NR_ftruncate64]: Remove conditional code.
64277         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64278         [__NR_ftruncate64]: Make code unconditional.
64279         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64281         * configure.in (libc_cv_fpie): Weaken to a compile test using
64282         LIBC_TRY_CC_OPTION.
64283         * configure: Regenerated.
64285 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64287         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
64288         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
64289         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
64290         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
64291         Refreshed.
64292         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
64293         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
64294         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
64295         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
64296         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
64297         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
64298         Refreshed.
64300 2012-05-27  David S. Miller  <davem@davemloft.net>
64302         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
64303         (___Q_zero): New.
64304         (__Q_simulate_exceptions): Return void.  Change to simulate
64305         exceptions by writing into the %fsr.
64306         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
64307         (__Qp_handle_exceptions): Likewise.
64308         (numbers): Delete.
64309         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
64310         __Qp_handle_exceptions.
64311         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
64312         __Qp_handle_exceptions.
64313         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
64314         as unused and give dummy FP_RND_NEAREST initializer.
64315         (FP_INHIBIT_RESULTS): Define.
64316         (___Q_simulate_exceptions): Update declaration.
64317         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
64318         formatting.
64319         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
64320         as unused and give dummy FP_RND_NEAREST initializer.
64321         (__Qp_handle_exceptions): Update declaration.
64322         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
64323         formatting.
64325 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
64327         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
64328         the temporary FPU control word.
64329         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
64330         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
64331         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
64332         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
64333         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
64334         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
64335         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
64336         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
64337         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
64338         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
64339         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
64341 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
64343         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
64344         fields.
64346 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
64348         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
64349         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
64350         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
64351         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
64352         Likewise.
64353         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
64354         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
64355         Likewise.
64357 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
64359         * po/h.po: Update from translation team.
64361 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
64363         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
64365         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
64366         handling of denormals.
64367         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
64368         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
64369         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
64370         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
64371         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
64372         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
64373         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
64374         Likewise.
64376 2012-05-26  Marek Polacek  <polacek@redhat.com>
64378         [BZ #14152]
64379         * math/libm-test.inc (fma_test): Don't always expect underflow
64380         exception.
64382 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
64384         [BZ #12416]
64385         * elf/tst-execstack.c: Include stackinfo.h.
64386         (do_test): Adjust test case to ensure that pthread_getattr_np
64387         behaviour remains the same after marking stack executable.
64389 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
64391         * sysdeps/unix/sysv/linux/kernel-features.h
64392         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
64393         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
64394         kernel-features.h.
64395         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
64396         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
64397         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
64398         kernel-features.h.
64399         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
64400         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
64402 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
64404         * configure.in: Define the default includes to being none.
64405         * configure: Regenerated.
64407 2012-05-25  Roland McGrath  <roland@hack.frob.com>
64409         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
64410         * sysdeps/x86_64/setjmp.S: Likewise.
64411         * sysdeps/i386/bsd-setjmp.S: Likewise.
64412         * sysdeps/i386/bsd-_setjmp.S: Likewise.
64413         * sysdeps/i386/setjmp.S: Likewise.
64414         * sysdeps/i386/__longjmp.S: Likewise.
64415         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
64416         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
64418         * include/stap-probe.h: New file.
64419         * configure.in: Handle --enable-systemtap.
64420         * configure: Regenerated.
64421         * config.h.in (USE_STAP_PROBE): New #undef.
64422         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
64423         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
64424         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
64426 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
64428         [BZ #13717]
64429         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
64430         to 2.4.0 where earlier.
64431         * sysdeps/unix/sysv/linux/configure: Regenerated.
64432         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
64433         <kernel-features.h>.
64434         [__ASSUME_32BITUIDS]: Make code unconditional.
64435         [!__ASSUME_32BITUIDS]: Remove conditional code.
64436         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
64437         <kernel-features.h>.
64438         [__ASSUME_32BITUIDS]: Make code unconditional.
64439         [!__ASSUME_32BITUIDS]: Remove conditional code.
64440         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
64441         [__ASSUME_32BITUIDS]: Make code unconditional.
64442         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
64443         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
64444         <kernel-features.h>.
64445         [__ASSUME_32BITUIDS]: Make code unconditional.
64446         [!__ASSUME_32BITUIDS]: Remove conditional code.
64447         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
64448         <kernel-features.h>.
64449         [__ASSUME_32BITUIDS]: Make code unconditional.
64450         [!__ASSUME_32BITUIDS]: Remove conditional code.
64451         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
64452         <kernel-features.h>.
64453         [__ASSUME_32BITUIDS]: Make code unconditional.
64454         [!__ASSUME_32BITUIDS]: Remove conditional code.
64455         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
64456         <kernel-features.h>.
64457         [__ASSUME_32BITUIDS]: Make code unconditional.
64458         [!__ASSUME_32BITUIDS]: Remove conditional code.
64459         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
64460         <kernel-features.h>.
64461         [__ASSUME_32BITUIDS]: Make code unconditional.
64462         [!__ASSUME_32BITUIDS]: Remove conditional code.
64463         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
64464         <kernel-features.h>.
64465         [__ASSUME_32BITUIDS]: Make code unconditional.
64466         [!__ASSUME_32BITUIDS]: Remove conditional code.
64467         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
64468         <kernel-features.h>.
64469         [__ASSUME_32BITUIDS]: Make code unconditional.
64470         [!__ASSUME_32BITUIDS]: Remove conditional code.
64471         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
64472         <kernel-features.h>.
64473         [__ASSUME_32BITUIDS]: Make code unconditional.
64474         [!__ASSUME_32BITUIDS]: Remove conditional code.
64475         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
64476         <kernel-features.h>.
64477         [__ASSUME_32BITUIDS]: Make code unconditional.
64478         [!__ASSUME_32BITUIDS]: Remove conditional code.
64479         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
64480         <kernel-features.h>.
64481         [__ASSUME_32BITUIDS]: Make code unconditional.
64482         [!__ASSUME_32BITUIDS]: Remove conditional code.
64483         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
64484         <kernel-features.h>.
64485         [__NR_setresgid] (__setresgid): Do not declare.
64486         [__ASSUME_32BITUIDS]: Make code unconditional.
64487         [!__ASSUME_32BITUIDS]: Remove conditional code.
64488         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
64489         <kernel-features.h>.
64490         [__NR_setresuid] (__setresuid): Do not declare.
64491         [__ASSUME_32BITUIDS]: Make code unconditional.
64492         [!__ASSUME_32BITUIDS]: Remove conditional code.
64493         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
64494         <kernel-features.h>.
64495         [__ASSUME_32BITUIDS]: Make code unconditional.
64496         [!__ASSUME_32BITUIDS]: Remove conditional code.
64497         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
64498         <kernel-features.h>.
64499         [__ASSUME_32BITUIDS]: Make code unconditional.
64500         [!__ASSUME_32BITUIDS]: Remove conditional code.
64501         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
64502         <kernel-features.h>.
64503         [__ASSUME_32BITUIDS]: Make code unconditional.
64504         [!__ASSUME_32BITUIDS]: Remove conditional code.
64505         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
64506         <kernel-features.h>.
64507         [__ASSUME_32BITUIDS]: Make code unconditional.
64508         [!__ASSUME_32BITUIDS]: Remove conditional code.
64509         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
64510         <kernel-features.h>.
64511         [__ASSUME_32BITUIDS]: Make code unconditional.
64512         [!__ASSUME_32BITUIDS]: Remove conditional code.
64513         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
64514         <kernel-features.h>.
64515         [__ASSUME_32BITUIDS]: Make code unconditional.
64516         [!__ASSUME_32BITUIDS]: Remove conditional code.
64517         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
64518         <kernel-features.h>.
64519         [__ASSUME_32BITUIDS]: Make code unconditional.
64520         [!__ASSUME_32BITUIDS]: Remove conditional code.
64521         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
64522         <kernel-features.h>.
64523         [__ASSUME_32BITUIDS]: Make code unconditional.
64524         [!__ASSUME_32BITUIDS]: Remove conditional code.
64525         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
64526         <kernel-features.h>.
64527         [__ASSUME_32BITUIDS]: Make code unconditional.
64528         [!__ASSUME_32BITUIDS]: Remove conditional code.
64529         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
64530         <kernel-features.h>.
64531         [__ASSUME_32BITUIDS]: Make code unconditional.
64532         [!__ASSUME_32BITUIDS]: Remove conditional code.
64533         * sysdeps/unix/sysv/linux/kernel-features.h
64534         (__ASSUME_SETRESUID_SYSCALL): Remove.
64535         (__ASSUME_SETRESGID_SYSCALL): Likewise.
64536         (__ASSUME_32BITUIDS): Likewise.
64537         (__ASSUME_LDT_WORKS): Likewise.
64538         (__ASSUME_O_DIRECTORY): Likewise.
64539         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
64540         architecture but not kernel version.
64541         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
64542         (__ASSUME_MMAP2_SYSCALL): Likewise.
64543         (__ASSUME_STAT64_SYSCALL): Likewise.
64544         (__ASSUME_IPC64): Likewise.
64545         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
64546         <kernel-features.h>.
64547         [__ASSUME_32BITUIDS]: Make code unconditional.
64548         [!__ASSUME_32BITUIDS]: Remove conditional code.
64549         * sysdeps/unix/sysv/linux/opendir.c: Do not include
64550         <kernel-features.h>.
64551         [__ASSUME_O_DIRECTORY]: Make code unconditional.
64552         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
64553         132096]: Remove conditional code.
64554         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
64555         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
64556         <kernel-features.h>.
64557         [__ASSUME_32BITUIDS]: Make code unconditional.
64558         [!__ASSUME_32BITUIDS]: Remove conditional code.
64559         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
64560         <kernel-features.h>.
64561         [__ASSUME_32BITUIDS]: Make code unconditional.
64562         [!__ASSUME_32BITUIDS]: Remove conditional code.
64563         * sysdeps/unix/sysv/linux/setegid.c: Do not include
64564         <kernel-features.h>.
64565         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
64566         unconditional.
64567         (__setresgid): Do not declare.
64568         [__ASSUME_32BITUIDS]: Make code unconditional.
64569         [!__ASSUME_32BITUIDS]: Remove conditional code.
64570         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
64571         <kernel-features.h>.
64572         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
64573         unconditional.
64574         (__setresuid): Do not declare.
64575         [__ASSUME_32BITUIDS]: Make code unconditional.
64576         [!__ASSUME_32BITUIDS]: Remove conditional code.
64577         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
64578         <kernel-features.h>.
64579         [__ASSUME_32BITUIDS]: Make code unconditional.
64580         [!__ASSUME_32BITUIDS]: Remove conditional code.
64581         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
64582         <kernel-features.h>.
64583         [__ASSUME_32BITUIDS]: Make code unconditional.
64584         [!__ASSUME_32BITUIDS]: Remove conditional code.
64586 2012-05-25  Richard Henderson  <rth@twiddle.net>
64588         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
64589         dl_hwcap to ifunc resolver.
64590         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
64591         elf_ifunc_invoke.
64592         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
64593         dl_hwcap to ifunc resolver.
64594         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
64596 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
64598         [BZ #14153]
64599         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
64600         for |x| <= 2**-26, not 2**-57.
64601         * math/libm-test.inc (acos_test): Do not allow spurious underflow
64602         exception.
64604 2012-05-24  Jeff Law  <law@redhat.com>
64606         * stdio-common/Makefile (tests): Add bug25.
64607         * stdio-common/bug25.c: New test.
64609 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
64611         [BZ #13576]
64612         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
64613         multiple of MALLOC_ALIGNMENT in size.
64614         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
64616 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
64618         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
64619         Require >= 256.
64620         (FILENAME_MAX): Use macro-int-constant.
64621         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
64622         (_IOFBF): Use macro-int-constant.
64623         (_IOLBF): Likewise.
64624         (_IONBF): Likewise.
64625         (SEEK_CUR): Likewise.
64626         (SEEK_END): Likewise.
64627         (SEEK_SET): Likewise.
64628         (TMP_MAX): Likewise.
64629         (EOF): Use macro-int-constant.  Require < 0.
64630         (NULL): Use macro-constant.  Require == 0.
64631         (stdin): Require type to be FILE *.
64632         (stdout): Likewise.
64633         (stderr): Likewise.
64634         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
64635         macro-int-constant.
64636         (EXIT_SUCCESS): Likewise.
64637         (NULL): Use macro-constant.  Require == 0.
64638         (RAND_MAX): Use macro-int-constant.
64639         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
64640         [C99-based standards] (strtof): Require function.
64641         [C99-based standards] (strtold): Likewise.
64642         [C99-based standards] (strtoll): Likewise.
64643         [C99-based standards] (strtoull): Likewise.
64644         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
64645         [ISO || ISO99 || ISO11] (limits.h): Likewise.
64646         [ISO || ISO99 || ISO11] (math.h): Likewise.
64647         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
64648         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
64649         [ISO || ISO99 || ISO11] (*_t): Do not allow.
64651 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
64653         [BZ #14132]
64654         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
64655         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
64656         * intl/dgettext.c (DCGETTEXT): Likewise.
64657         * intl/gettext.c (DCGETTEXT): Likewise.
64658         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
64659         * posix/regex_internal.h (gettext): Likewise.
64660         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
64661         Remove declaration.
64662         * include/argz.h (__argz_count_internal)
64663         (__argz_stringify_internal): Remove declaration.
64664         (__argz_count, __argz_stringify): Declare hidden proto.
64665         * intl/dcgettext.c: Remove use of INTDEF.
64666         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
64667         * string/argz-stringify.c: Likewise.
64668         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
64669         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
64670         Declare hidden proto.
64671         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
64672         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
64673         Declare hidden proto.
64674         * include/stdio.h (__asprintf_internal): Don't declare.
64675         (__asprintf): Don't define as macro.  Declare hidden proto.
64676         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
64677         (__fsetlocking): Declare hidden proto.
64678         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
64679         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
64680         hidden proto.
64681         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
64682         (_IO_setlinebuf): Remove use of INTUSE.
64683         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
64684         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
64685         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
64686         Remove declaration.
64687         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
64688         (_IO_do_flush): Remove use of INTUSE.
64689         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
64690         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
64691         (_IO_adjust_column, _IO_least_wmarker)
64692         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
64693         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
64694         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
64695         (_IO_default_doallocate, _IO_wdefault_doallocate)
64696         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
64697         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
64698         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
64699         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
64700         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
64701         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
64702         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
64703         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
64704         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
64705         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
64706         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
64707         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
64708         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
64709         proto.
64710         (_IO_flush_all_internal, _IO_adjust_column_internal)
64711         (_IO_default_uflow_internal, _IO_default_finish_internal)
64712         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
64713         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
64714         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
64715         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
64716         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
64717         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
64718         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
64719         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
64720         (_IO_file_close_internal, _IO_file_close_it_internal)
64721         (_IO_file_underflow_internal, _IO_file_overflow_internal)
64722         (_IO_file_init_internal, _IO_file_attach_internal)
64723         (_IO_file_fopen_internal, _IO_file_read_internal)
64724         (_IO_file_sync_internal, _IO_file_seek_internal)
64725         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
64726         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
64727         (_IO_str_underflow_internal, _IO_str_overflow_internal)
64728         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
64729         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
64730         (_IO_list_all_internal, _IO_link_in_internal)
64731         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
64732         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
64733         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
64734         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
64735         (_IO_do_write_internal, _IO_padn_internal)
64736         (_IO_getline_info_internal, _IO_getline_internal)
64737         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
64738         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
64739         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
64740         (_IO_vfscanf_internal, _IO_vfprintf_internal)
64741         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
64742         (_IO_init_internal, _IO_un_link_internal): Don't declare.
64743         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
64744         with libc_hidden_ver, remove use of INTUSE.
64745         * libio/genops.c: Likewise.
64746         * libio/freopen.c: Likewise.
64747         * libio/freopen64.c: Likewise.
64748         * libio/iofclose.c: Likewise.
64749         * libio/iofdopen.c: Likewise.
64750         * libio/iofflush.c: Likewise.
64751         * libio/iofflush_u.c: Likewise.
64752         * libio/iofgets.c: Likewise.
64753         * libio/iofgets_u.c: Likewise.
64754         * libio/iofopen.c: Likewise.
64755         * libio/iofopncook.c: Likewise.
64756         * libio/iofread.c: Likewise.
64757         * libio/iofread_u.c: Likewise.
64758         * libio/ioftell.c: Likewise.
64759         * libio/iofwrite.c: Likewise.
64760         * libio/iogetline.c: Likewise.
64761         * libio/iogets.c: Likewise.
64762         * libio/iogetwline.c: Likewise.
64763         * libio/iopadn.c: Likewise.
64764         * libio/iopopen.c: Likewise.
64765         * libio/ioseekoff.c: Likewise.
64766         * libio/ioseekpos.c: Likewise.
64767         * libio/iosetbuffer.c: Likewise.
64768         * libio/iosetvbuf.c: Likewise.
64769         * libio/ioungetc.c: Likewise.
64770         * libio/ioungetwc.c: Likewise.
64771         * libio/iovdprintf.c: Likewise.
64772         * libio/iovsprintf.c: Likewise.
64773         * libio/iovsscanf.c: Likewise.
64774         * libio/memstream.c: Likewise.
64775         * libio/obprintf.c: Likewise.
64776         * libio/oldfileops.c: Likewise.
64777         * libio/oldiofclose.c: Likewise.
64778         * libio/oldiofdopen.c: Likewise.
64779         * libio/oldiofopen.c: Likewise.
64780         * libio/oldiopopen.c: Likewise.
64781         * libio/oldstdfiles.c: Likewise.
64782         * libio/putc.c: Likewise.
64783         * libio/setbuf.c: Likewise.
64784         * libio/setlinebuf.c: Likewise.
64785         * libio/stdfiles.c: Likewise.
64786         * libio/strops.c: Likewise.
64787         * libio/vasprintf.c: Likewise.
64788         * libio/vscanf.c: Likewise.
64789         * libio/vsnprintf.c: Likewise.
64790         * libio/vswprintf.c: Likewise.
64791         * libio/wfiledoalloc.c: Likewise.
64792         * libio/wfileops.c: Likewise.
64793         * libio/wgenops.c: Likewise.
64794         * libio/wmemstream.c: Likewise.
64795         * libio/wstrops.c: Likewise.
64796         * libio/__fpurge.c: Likewise.
64797         * libio/__fsetlocking.c: Likewise.
64798         * assert/assert.c: Likewise.
64799         * debug/fgets_chk.c: Likewise.
64800         * debug/fgets_u_chk.c: Likewise.
64801         * debug/fread_chk.c: Likewise.
64802         * debug/fread_u_chk.c: Likewise.
64803         * debug/gets_chk.c: Likewise.
64804         * debug/obprintf_chk.c: Likewise.
64805         * debug/vasprintf_chk.c: Likewise.
64806         * debug/vdprintf_chk.c: Likewise.
64807         * debug/vsnprintf_chk.c: Likewise.
64808         * debug/vsprintf_chk.c: Likewise.
64809         * malloc/mtrace.c: Likewise.
64810         * misc/error.c: Likewise.
64811         * misc/syslog.c: Likewise.
64812         * stdio-common/asprintf.c: Likewise.
64813         * stdio-common/fxprintf.c: Likewise.
64814         * stdio-common/getw.c: Likewise.
64815         * stdio-common/isoc99_fscanf.c: Likewise.
64816         * stdio-common/isoc99_scanf.c: Likewise.
64817         * stdio-common/isoc99_vfscanf.c: Likewise.
64818         * stdio-common/isoc99_vscanf.c: Likewise.
64819         * stdio-common/isoc99_vsscanf.c: Likewise.
64820         * stdio-common/printf-prs.c: Likewise.
64821         * stdio-common/printf_fp.c: Likewise.
64822         * stdio-common/printf_fphex.c: Likewise.
64823         * stdio-common/printf_size.c: Likewise.
64824         * stdio-common/putw.c: Likewise.
64825         * stdio-common/scanf.c: Likewise.
64826         * stdio-common/sprintf.c: Likewise.
64827         * stdio-common/tmpfile.c: Likewise.
64828         * stdio-common/vfprintf.c: Likewise.
64829         * stdio-common/vfscanf.c: Likewise.
64830         * stdlib/strfmon_l.c: Likewise.
64831         * sunrpc/openchild.c: Likewise.
64832         * sunrpc/xdr_stdio.c: Likewise.
64833         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
64834         * sysdeps/mach/hurd/tmpfile.c: Likewise.
64836 2012-05-24  Roland McGrath  <roland@hack.frob.com>
64838         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
64840         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
64841         in the third column, to generate for the shared library an IFUNC
64842         that uses _dl_vdso_vsym.
64843         * Makerules (COMPILE.c, compile-stdin.c): New variables.
64844         * Makeconfig (object-suffixes-noshared): New variable.
64846         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
64847         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
64848         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
64849         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
64851         [BZ #14132]
64852         * include/sys/time.h (__gettimeofday): Remove macro.
64853         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
64854         * time/gettimeofday.c (__gettimeofday): Remove #undef.
64855         Remove INTDEF.
64856         (__gettimeofday): Add libc_hidden_def.
64857         (gettimeofday): Add libc_hidden_weak.
64858         * sysdeps/mach/gettimeofday.c: Likewise.
64859         * sysdeps/posix/gettimeofday.c: Likewise.
64860         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
64861         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
64862         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
64863         (__gettimeofday_internal): Remove strong_alias.
64864         (__gettimeofday): Add libc_hidden_def.
64865         (gettimeofday): Add libc_hidden_weak.
64866         * sysdeps/unix/syscalls.list (gettimeofday):
64867         Remove __gettimeofday_internal alias.
64869 2012-05-24  Daniel Jacobowitz  <drow@false.org>
64870             H.J. Lu  <hongjiu.lu@intel.com>
64872         [BZ #12495]
64873         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
64874         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
64875         (largebin_index_32_big): New.
64876         (largebin_index): Use it for 16-byte alignment.
64877         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
64878         correction with front_misalign.
64880 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
64882         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
64883         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
64884         Likewise.
64885         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
64886         Likewise.
64887         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
64888         Likewise.
64889         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
64890         Likewise.
64891         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
64892         Likewise.
64893         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
64894         Likewise.
64895         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
64896         Likewise.
64897         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
64898         Likewise.
64899         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
64900         Likewise.
64901         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
64902         Likewise.
64903         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
64904         Likewise.
64905         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
64906         Likewise.
64908         * scripts/data/c++-types-x32-linux-gnu.data: New file.
64909         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
64911 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
64913         [BZ #10846]
64914         [BZ #14036]
64915         * math/libm-test.inc (exp_test): Add test from bug 14036.
64916         (pow_test): Add test from bug 10846.
64918         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
64919         and other flags.
64920         (special_function): Do not include flags in test name.
64921         (parse_args): Likewise.
64922         * sysdeps/i386/fpu/libm-test-ulps: Update.
64923         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
64924         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
64925         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
64926         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64928         * math/gen-libm-test.pl (%beautify): Add entries for underflow
64929         exceptions.
64930         * math/libm-test.inc ("Philosophy"): Update comment about
64931         exception testing.
64932         (UNDERFLOW_EXCEPTION): New macro.
64933         (UNDERFLOW_EXCEPTION_OK): Likewise.
64934         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
64935         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
64936         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
64937         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
64938         (INVALID_EXCEPTION_OK): Update value.
64939         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
64940         (OVERFLOW_EXCEPTION_OK): Likewise.
64941         (IGNORE_ZERO_INF_SIGN): Likewise.
64942         (test_exceptions): Handle underflow exceptions.
64943         (acos_test): Update for underflow exception expectations.
64944         (cexp_test): Likewise.
64945         (clog_test): Likewise.
64946         (clog10_test): Likewise.
64947         (csqrt_test): Likewise.
64948         (ctan_test): Likewise.
64949         (ctanh_test): Likewise.
64950         (exp_test): Likewise.
64951         (exp10_test): Likewise.
64952         (exp2_test): Likewise.
64953         (expm1_test): Likewise.
64954         (fma_test): Likewise.
64955         (j0_test): Likewise.
64956         (jn_test): Likewise.
64957         (nexttoward_test): Likewise.
64958         (pow_test): Likewise.
64959         (scalbn_test): Likewise.
64960         (scalbln_test): Likewise.
64961         (tan_test): Likewise.
64962         (y1_test): Likewise.
64963         * sysdeps/i386/fpu/libm-test-ulps: Update.
64964         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64966 2012-05-23  David S. Miller  <davem@davemloft.net>
64968         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
64969         (__libc_sigaction): Remove unused local variables.
64971 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
64973         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
64975 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
64977         mktime: avoid signed integer overflow
64978         * time/mktime.c (__mktime_internal): Do not mishandle the case
64979         where diff == INT_MIN.
64981         mktime: simplify computation of average
64982         * time/mktime.c (ranged_convert): Use new time_t_avg function
64983         instead of rolling our own (probably-slower) code.
64985         mktime: do not assume signed right shift propagates sign bit
64986         * time/mktime.c (isdst_differ): New static function.
64987         (__mktime_internal): No need to normalize tm_isdst now.
64988         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
64989         tm_isdst values.
64991         mktime: merge another wrapv change from gnulib
64992         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
64993         from some compilers.
64995         mktime: remove incorrect attempt at unusual arithmetics
64996         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
64997         The code didn't really work on such machines anyway.
64998         (TYPE_MINIMUM): Assume two's complement.
64999         (twos_complement_arithmetic): Verify that long_int and time_t
65000         are two's complement (or unsigned, in the latter case).
65002         mktime: check signed shifts on long_int and time_t, too
65003         * time/mktime.c (SHR): Check that shifts work as desired
65004         on the types long_int and time_t too, as SHR is used on
65005         such types.
65007         mktime: do not assume 'long' is wide enough
65008         * time/mktime.c (verify): Move decl up.
65009         (long_int): New type.
65010         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
65011         to remove assumption in the code that 'long' is wide enough to
65012         store year values.  This assumption is not true on x32 and on
65013         some non-glibc platforms.
65015         mktime: merge wrapv change from gnulib
65016         * time/mktime.c (WRAPV): New macro.
65017         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
65018         (guess_time_tm, __mktime_internal): Do not assume that signed
65019         integer overflow wraps around; modern compilers generate code
65020         where this assumption is no longer valid.
65022 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
65024         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
65025         Replace "jmp L(pseudo_end)" with "ret".
65026         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
65027         Likewise.
65029 2012-05-23  Andreas Jaeger  <aj@suse.de>
65031         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
65032         * sysdeps/unix/sysv/linux/poll.c: Remove file.
65034 2012-05-23  Andreas Jaeger  <aj@suse.de>
65035             Maximilian Attems  <max@stro.at>
65037         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
65038         New macros.
65040 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
65042         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
65043         code so that pseudo_end is just ret and the stack pointer is
65044         correct also for static library in error case.
65046 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
65048         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
65049         move to syscalls.list.
65050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
65051         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
65052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
65053         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
65055         * manual/install.texi (Running make install): Do not mention Linux
65056         kernel version for which pt_chown is not needed.
65057         (Linux): Do not mention problems with nscd with 2.0 kernels.
65058         * INSTALL: Regenerated.
65060 2012-05-23  Andreas Jaeger  <aj@suse.de>
65062         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
65063         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
65064         macro.
65065         * sysdeps/unix/sysv/linux/s390/bits/mman.h
65066         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
65067         * sysdeps/unix/sysv/linux/sh/bits/mman.h
65068         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
65069         * sysdeps/unix/sysv/linux/i386/bits/mman.h
65070         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
65071         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
65072         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
65073         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
65074         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
65075         * sysdeps/unix/sysv/linux/bits/in.h
65076         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
65078 2012-05-22  Roland McGrath  <roland@hack.frob.com>
65080         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
65081         (PREPARE_VERSION): Just use assert instead, it will be elided
65082         under [NDEBUG] anyway.
65084 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
65086         * sysdeps/unix/sysv/linux/Makefile: Include
65087         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
65088         (sysdep_routines): Remove sysctl.
65089         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
65090         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
65091         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
65092         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
65093         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
65095 2012-05-22  Andreas Jaeger  <aj@suse.de>
65097         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
65098         that pseudo_end is just ret and the stack pointer is correct also
65099         for static library in error case.
65101 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
65103         [BZ #14122]
65104         * nss/nsswitch.c (defconfig_entries): New variable.
65105         (__nss_database_lookup): Don't leak defconfig entries.
65106         (nss_parse_service_list): Don't leak on error paths.
65107         (free_database_entries): New function.
65108         (free_defconfig): New function.
65109         (free_mem): Move common code to free_database_entries.
65111 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
65113         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
65114         Add arch_prctl.
65115         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
65117         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
65118         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
65119         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
65120         New macro.
65121         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
65122         (INTERNAL_SYSCALL_TYPES): Likewise.
65123         (LOAD_ARGS_TYPES_[1-6]): Likewise.
65124         (LOAD_REGS_TYPES_[1-6]): Likewise.
65125         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
65126         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
65128 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65130         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
65131         copysignl for GLIBC_2_0.
65132         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
65133         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
65134         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
65135         logbl for GLIBC_2_0.
65136         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
65137         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
65139 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
65141         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
65142         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
65144         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
65145         Use "neg %eax".
65147         * time/mktime.c: Update copyright years.
65149 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
65151         mktime: merge comment-quoting-style change from gnulib
65152         * time/mktime.c: Quote 'like this' in comments.
65153         The GNU coding standards suggest that we no longer quote `like this',
65154         as "`" and "'" are typically rendered asymmetrically nowadays.
65155         The typical gnulib style is to quote 'like this' when quoting
65156         code, and "like this" when quoting English.
65158         * time/mktime.c (compile-command): Add "-I.".
65160         mktime: merge mktime-internal.h change from gnulib
65161         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
65163         mktime: merge time_r change from gnulib
65164         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
65166         mktime: merge DEBUG change from gnulib
65167         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
65168         case system <time.h> has a #define.
65170         mktime: merge <sys/types.h> change from gnulib
65171         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
65172         since <time.t> is now guaranteed to define time_t.
65174         mktime: merge HAVE_CONFIG_H change from gnulib
65175         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
65177 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
65179         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
65180         Use "neg %eax".
65182         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
65183         __rlim_t cast.
65184         (struct rusage): Use anonymous union to pad each field to
65185         __syscall_slong_t.
65187 2012-05-21  David S. Miller  <davem@davemloft.net>
65189         * Makefules (o-iterator): Remove .s cases.
65190         (compile-command.s): Delete.
65191         (COMPILE.s): Delete.
65192         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
65194 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
65196         * configure.in (libc_cv_predef_stack_protector): Only consider
65197         "foobar" and "__stack_chk_fail" lines in libc_undefs.
65198         * configure: Regenerated.
65200 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
65202         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
65203         New macro.  Use R*LP on int and pointer.
65204         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
65205         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
65206         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
65207         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
65209         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
65210         [__WORDSIZE_TIME64_COMPAT32] instead of
65211         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
65212         (struct utmp): Likewise.
65213         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
65214         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
65215         Renamed to ...
65216         (__WORDSIZE_TIME64_COMPAT32): This.
65217         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
65218         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
65219         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
65220         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
65221         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
65222         (__WORDSIZE_TIME64_COMPAT32): New macro.
65224 2012-05-21  Andreas Jaeger  <aj@suse.de>
65226         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
65227         only if [SHARED]. Add prototype for __wcschr_ia32.
65229 2012-05-21  Roland McGrath  <roland@hack.frob.com>
65231         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
65232         of %rbp unmolested in the jmp_buf while mangling the low bits.
65233         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
65234         unmolested high bits of %rbp while demangling the low bits.
65235         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
65237 2012-05-21  Andreas Jaeger  <aj@suse.de>
65239         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
65240         * sunrpc/svc_simple.c: Use it for registerrpc.
65241         * sunrpc/xcrypt.c: Use it for passwd2des.
65243         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
65245 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
65247         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
65248         Don't define if [__SYSCALL_WORDSIZE != 32].
65249         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
65250         New macro.
65252 2012-05-21  Bruno Haible  <bruno@clisp.org>
65253             Andreas Jaeger  <aj@suse.de>
65255         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
65256         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
65257         inptr and inend for must_buffer_ch.
65258         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
65259         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
65260         * stdio-common/Makefile (tests): Remove bug15.
65261         (bug15-ENV): Remove macro.
65262         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
65263         anymore.
65265 2012-05-19  Andreas Jaeger  <aj@suse.de>
65266             Roland McGrath  <roland@hack.frob.com>
65268         * manual/contrib.texi: Completely rewritten. It contains now an
65269         alphabetical list of contributors and their contributions.
65271 2012-05-21  Richard Henderson  <rth@twiddle.net>
65273         * misc/getauxval.c (__getauxval): Use unsigned long int.
65274         * misc/sys/auxv.h: Include <sys/cdefs.h>.
65275         (getauxval): Use unsigned long int.
65277 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
65279         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
65281 2012-05-21  Roland McGrath  <roland@hack.frob.com>
65283         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
65284         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
65285         __alignof__ (long double).
65287 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65289         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65291 2012-05-20  Richard Henderson  <rth@twiddle.net>
65293         * misc/getauxval.c: New file.
65294         * misc/sys/auxv.h: New file.
65295         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
65296         (routines): Add getauxval.
65297         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
65298         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
65299         * elf/dl-sysdep.c (_dl_auxv): Remove.
65300         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
65301         * elf/dl-support.c (_dl_auxv): New variable.
65302         (_dl_aux_init): Initialize it.
65303         * manual/startup.texi (Auxiliary Vector): New node.
65304         * sysdeps/generic/bits/hwcap.h: New file.
65305         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
65306         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
65307         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
65308         * sysdeps/sparc/sysdep.h: ... here.  Include it.
65309         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
65310         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
65311         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
65312         Update.
65313         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
65314         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
65315         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
65316         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
65317         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
65318         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
65319         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
65320         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
65322 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65324         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65326 2012-05-19  David S. Miller  <davem@davemloft.net>
65328         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65330 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
65332         [BZ #14123]
65333         * math/s_ccosh.c: Include <float.h>
65334         (__ccosh): Avoid internal overflow calculating sinh and cosh
65335         values before multiplying by sin and cos values.
65336         * math/s_ccoshf.c: Likewise.
65337         * math/s_ccoshl.c: Likewise.
65338         * math/s_csin.c: Likewise.
65339         * math/s_csinf.c: Likewise.
65340         * math/s_csinl.c: Likewise.
65341         * math/s_csinh.c: Likewise.
65342         * math/s_csinhf.c: Likewise.
65343         * math/s_csinhl.c: Likewise.
65344         * math/libm-test.inc (ccos_test): Add more tests.
65345         (ccosh_test): Likewise.
65346         (csin_test): Likewise.
65347         (csinh_test): Likewise.
65348         * sysdeps/i386/fpu/libm-test-ulps: Update.
65349         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65351 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
65353         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
65354         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
65356         * sysdeps/x86_64/x32/_itoa.h: Add comment.
65358 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
65360         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
65361         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
65362         * sysdeps/powerpc/soft-fp/Versions: Likewise.
65363         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
65364         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
65365         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
65366         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
65367         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
65368         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
65369         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
65370         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
65371         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
65372         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
65373         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
65374         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
65375         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
65376         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
65377         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
65378         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
65379         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
65380         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
65381         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
65382         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
65383         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
65384         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
65385         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
65386         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
65387         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
65388         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
65389         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
65390         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
65392 2012-05-18  Andreas Jaeger  <aj@suse.de>
65394         * csu/.gitignore: Delete.
65396 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
65398         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
65399         (timex): Use __syscall_slong_t.
65401 2012-05-18  Andreas Jaeger  <aj@suse.de>
65402             Carlos O'Donell  <carlos_odonell@mentor.com>
65404         * manual/install.texi (Configuring and compiling): Update
65405         description about files modified in the source directory.
65406         * INSTALL: Regenerated.
65408 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
65410         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
65411         value.  Use "or" to set return value to -1.
65412         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
65413         negate return value.
65415 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
65417         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
65418         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
65419         failure if the compiler has Graphite support disabled.
65420         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
65421         Likewise.
65422         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
65423         (CFLAGS-memmove.c): Likewise.
65424         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
65425         Likewise.
65427 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
65429         * sysdeps/x86_64/x32/_itoa.h: New file.
65431         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
65432         getdents system call only if kernel and user dirents have the
65433         same d_ino and d_off.
65435         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
65436         LLONG_MAX != LONG_MAX.
65437         (_itoa_word): Use _ITOA_WORD_TYPE on value.
65438         (_fitoa_word): Likewise.
65440         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
65441         years.
65442         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
65443         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
65444         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
65446         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
65447         include <bits/wordsize.h>.  Check __x86_64__ instead of
65448         __WORDSIZE.
65449         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
65450         if __x86_64__ is defined.  Use anonymous union on fpstate.
65452         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
65453         anonymous union.
65455 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
65457         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
65458         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
65459         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
65460         Refer to _rtld_local_ro instead of _rtld_global_ro.
65461         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
65462         Likewise.
65463         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
65464         Likewise.
65465         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
65466         Likewise.
65467         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
65468         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
65469         of _rtld_global, and rtld_progname instead of _dl_argv[0].
65471         [BZ #10882]
65472         * sysdeps/powerpc/powerpc32/dl-machine.c
65473         (__elf_machine_runtime_setup) [PROF]: Don't reference
65474         _dl_prof_resolve.
65476 2012-05-18  Andreas Jaeger  <aj@suse.de>
65478         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
65479         function only available for GCCs before 3.4 since GCC 3.4
65480         introduced a builtin.
65481         (lrint): Likewise.
65482         (llrintf): Likewise.
65483         (llrint): Likewise.
65484         (fmaxf): Likewise.
65485         (fmax): Likewise.
65486         (fminf): Likewise.
65487         (fmin): Likewise.
65488         (rint): Likewise.
65489         (rintf): Likewise.
65490         (nearbyint): Likewise.
65491         (nearbyintf): Likewise.
65492         (ceil): Likewise.
65493         (ceilf): Likewise.
65494         (floor): Likewise.
65495         (floorf): Likewise.
65497 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
65499         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
65500         on both fields and cast pointer to __syscall_ulong_t.
65502         * bits/types.h (__fsword_t): New type.
65503         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
65504         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
65505         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
65506         (__FSWORD_T_TYPE): Likewise.
65507         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
65508         (__FSWORD_T_TYPE): Likewise.
65509         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
65510         (__FSWORD_T_TYPE): Likewise.
65511         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
65512         (__FSWORD_T_TYPE): Likewise.
65513         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
65514         __SWORD_TYPE with __fsword_t.
65515         (statfs64): Likewise.
65517 2012-05-17  David S. Miller  <davem@davemloft.net>
65519         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
65521 2012-05-17  Andreas Jaeger  <aj@suse.de>
65523         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
65524         warning.
65526 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
65528         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
65530 2012-05-17  Andreas Jaeger  <aj@suse.de>
65532         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
65533         when it is used.
65535 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
65537         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
65539 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
65541         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
65542         * sysdeps/x86_64/tst-mallocalign1.c: New file.
65544 2012-05-17  Andreas Jaeger  <aj@suse.de>
65545             Carlos O'Donell  <carlos_odonell@mentor.com>
65547         [BZ #14059]
65548         * sysdeps/x86_64/multiarch/init-arch.h
65549         (bit_YMM_Usable): Rename to...
65550         (bit_AVX_Usable): ... this.
65551         (bit_FMA4_Usable): New macro.
65552         (bit_XMM_state): New macro.
65553         (bit_YMM_state): New macro.
65554         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
65555         [__ASSEMBLER__] (index_AVX_Usable): ... this.
65556         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
65557         (CPUID_OSXSAVE): New macro.
65558         (CPUID_AVX): New macro.
65559         (CPUID_FMA4): New macro.
65560         (index_YMM_Usable): Rename to...
65561         (index_AVX_Usable): ... this.
65562         (HAS_AVX): Use HAS_ARCH_FEATURE.
65563         (HAS_FMA4): Likewise.
65564         (HAS_YMM_USABLE): Remove.
65565         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
65566         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
65567         are present.
65568         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
65569         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
65570         * sysdeps/x86_64/multiarch/Makefile: Likewise.
65571         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
65572         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
65574 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
65576         * math/libm-test.c: Support platforms without multiple rounding modes.
65577         * math/bug-nextafter.c: Support platforms without FP exceptions.
65578         * math/bug-nexttoward.c: Likewise.
65579         * math/test-fenv.c: Likewise.
65580         * math/test-misc.c: Likewise.
65581         * stdlib/bug-getcontext.c: Likewise.
65583 2012-05-17  Andreas Jaeger  <aj@suse.de>
65585         * manual/examples/search.c (critter_cmp): Change signature to
65586         avoid warnings.
65587         * manual/string.texi (Collation Functions): Likewise.
65589 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
65591         * bits/types.h: Fold copyright years.
65592         * bits/typesizes.h: Likewise.
65593         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
65594         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
65595         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
65596         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
65597         * time/time.h: Likewise.
65599 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
65601         [BZ #208]
65602         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
65603         in instead of returning them.  Return void.
65604         (__libc_mallinfo): Accumulate over all arenas.
65605         (__malloc_stats): Adjust for change in int_mallinfo interface.
65607 2012-05-16  Roland McGrath  <roland@hack.frob.com>
65609         [BZ #10375]
65610         * configure.in (NM): Add AC_CHECK_TOOL for it.
65611         (libc_extra_cflags): New substituted variable.
65612         Check for -fstack-protector being used implicitly.
65613         * configure: Regenerated.
65614         * config.make.in (config-extra-cflags): New variable,
65615         gets @libc_extra_cflags@.
65616         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
65618         [BZ #10375]
65619         * configure.in: Check for _FORTIFY_SOURCE being predefined.
65620         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
65621         * configure: Regenerated.
65622         * config.make.in (CPPUNDEFS): New substituted variable.
65623         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
65624         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
65625         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
65627 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
65629         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
65630         (mq_attr): Use __syscall_slong_t.
65632 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
65634         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
65635         Check __x86_64__ instead of __WORDSIZE.
65636         (_STAT_VER_LINUX): Likewise.
65637         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
65638         __syscall_ulong_t and __syscall_slong_t.
65639         (stat64): Likewise.
65641 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
65643         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
65645 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
65647         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
65649 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
65651         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
65652         __syscall_ulong_t.
65654         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
65655         include <bits/wordsize.h>.  Check __x86_64__ instead of
65656         __WORDSIZE.
65657         (greg_t): Use "__extension__ long long int" if __x86_64__ is
65658         defined.
65659         (mcontext_t): Replace "unsigned long" with "unsigned long long".
65661         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
65662         include <bits/wordsize.h>.  Check __x86_64__ instead of
65663         __WORDSIZE.
65664         (user_regs_struct): Use "__extension__ unsigned long long"
65665         instead of "unsigned long" if __x86_64__ is defined.
65666         (user): Likewise.  Pad after pointer field if __ILP32__ is
65667         defined.
65669 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
65671         * configure.in (makeinfo): Require version 4.5 or later.  Allow
65672         versions 5 to 9.
65673         * configure: Regenerated.
65674         * manual/install.texi (texinfo): Increase version requirement to
65675         4.5 or later.
65676         * INSTALL: Regenerated.
65678         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
65680 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
65682         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
65684         * sysdeps/x86_64/x32/ffs.c: New file.
65686         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
65687         __syscall_ulong_t.
65688         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
65689         defined.  Use __syscall_ulong_t.
65690         (shminfo): Use __syscall_ulong_t.
65691         (shm_info): Likewise.
65693         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
65694         __syscall_ulong_t.
65696         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
65697         <bits/wordsize.h>.
65698         (msgqnum_t): Use __syscall_ulong_t.
65699         (msglen_t): Likewise.
65700         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
65701         __syscall_ulong_t.
65703         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
65704         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
65706         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
65708         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
65709         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
65711         * sysvipc/sys/msg.h (msgbuf): Replace long int with
65712         __syscall_slong_t.
65714         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
65715         include <bits/wordsize.h>.  Check __x86_64__ instead of
65716         __WORDSIZE.
65718         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
65719         "unsigned long long int" if __x86_64__ is defined.
65720         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
65722         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
65723         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
65724         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
65726         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
65727         <stdint.h>.
65728         (GET_PC): Cast to uintptr_t first.
65729         (GET_FRAME): Likewise.
65730         (GET_STACK): Likewise.
65732         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
65733         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
65734         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
65735         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
65736         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
65737         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
65738         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
65739         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
65740         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
65741         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
65742         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
65743         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
65744         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
65745         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
65746         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
65747         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
65748         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
65749         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
65750         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
65751         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
65752         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
65753         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
65754         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
65755         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
65756         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
65757         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
65758         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
65759         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
65760         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
65762 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
65764         * Makerules (+depfiles): Also collect depfiles from .oS in
65765         $(extra-objs).
65766         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
65767         .oS, $(libnldbl-routines)).
65769         * Makerules (native-compile-mkdep-flags): Define.
65770         * sunrpc/Makefile (extra-objs): Add $(addprefix
65771         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
65772         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
65773         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
65774         calling $(make-target-directory).
65776 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65778         * bits/types.h (__snseconds_t): Removed.
65779         * time/time.h (struct timespec): Replace __snseconds_t with
65780         __syscall_slong_t.
65781         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
65782         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
65783         Likewise.
65784         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
65785         (__SNSECONDS_T_TYPE): Likewise.
65786         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
65787         (__SNSECONDS_T_TYPE): Likewise.
65788         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
65789         (__SNSECONDS_T_TYPE): Likewise.
65791 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65793         * sysdeps/mach/hurd/bits/typesizes.h
65794         (__SYSCALL_SLONG_TYPE): New macro.
65795         (__SYSCALL_ULONG_TYPE): Likewise.
65797 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65799         * bits/types.h (__syscall_slong_t): New type.
65800         (__syscall_ulong_t): Likewise.
65802         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
65803         (__SYSCALL_ULONG_TYPE): Likewise.
65804         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
65805         (__SYSCALL_SLONG_TYPE): Likewise.
65806         (__SYSCALL_ULONG_TYPE): Likewise.
65807         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
65808         (__SYSCALL_SLONG_TYPE): Likewise.
65809         (__SYSCALL_ULONG_TYPE): Likewise.
65810         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
65811         (__SYSCALL_SLONG_TYPE): Likewise.
65812         (__SYSCALL_ULONG_TYPE): Likewise.
65814 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65816         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
65817         Add sigaltstack-offsets.sym.
65818         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
65819         <sigaltstack-offsets.h>.
65820         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
65821         longjmp_msg pointer.
65822         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
65823         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
65824         signal stack.
65825         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
65827 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
65829         * elf/stackguard-macros.h: Remove file.
65830         * sysdeps/generic/stackguard-macros.h: New file.
65831         * sysdeps/i386/stackguard-macros.h: Likewise.
65832         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
65833         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
65834         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
65835         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
65836         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
65837         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
65838         * sysdeps/x86_64/stackguard-macros.h: Likewise.
65839         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
65840         <elf/stackguard-macros.h>.
65842         [BZ #14109]
65843         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
65844         __aligned__ in attribute.
65845         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
65846         (gregset_t): Likewise.
65848 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65850         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
65851         * sysdeps/x86_64/64/Implies-after: Here.  New file.
65852         * sysdeps/x86_64/x32/Implies-after: New file.
65854 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65856         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
65857         and access return value for _dl_profile_fixup.  Use R10_LP to
65858         load frame size.
65860 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65862         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
65864 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65866         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
65867         * sysdeps/x86_64/x32/sysdep.h: New file.
65869 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65871         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
65872         * sysdeps/x86_64/setjmp.S: Likewise.
65874 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65876         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
65877         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
65878         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
65879         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
65880         remove unused global constant.
65882 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
65884         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
65885         include of <not-cancel.h>.
65887 2012-05-15  Roland McGrath  <roland@hack.frob.com>
65889         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
65891 2012-05-15  Jeff Law  <law@redhat.com>
65892             Andreas Jaeger  <aj@suse.de>
65894         [BZ #13594]
65895         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
65896         out from...
65897         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
65898         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
65899         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
65900         code changing __hst_map_handle.map.
65902 2012-05-15  Roland McGrath  <roland@hack.frob.com>
65904         * configure.in (sysnames): Look for Implies-before and Implies-after
65905         files.
65906         * configure: Regenerated.
65908 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65910         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
65911         8-byte data alignment with LP_SIZE alignment.
65913 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65915         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
65916         into R10_LP.
65918 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65920         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
65922 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65924         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
65925         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
65926         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
65927         Likewise.
65928         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
65930 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65932         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
65933         (stackinfo_sub_sp): Likewise.
65935 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65937         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
65938         RAX_LP.
65940 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65942         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
65943         into R*_LP.
65945 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65947         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
65948         sizes into R*_LP.
65950 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65952         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
65954 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65956         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
65957         into R11_LP and load __x86_64_shared_cache_size_half into
65958         R8_LP.
65960 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65962         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
65963         R8_LP.
65965 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65967         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
65968         logb for POWER7.
65969         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
65970         logbf for POWER7.
65971         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
65972         logbl for POWER7.
65973         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
65974         powerpc32/power7/fpu/s_logb.c via #include.
65975         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
65976         powerpc32/power7/fpu/s_logbf.c via #include.
65977         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
65978         powerpc32/power7/fpu/s_logbl.c via #include.
65980 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
65982         * README.libm: Remove file.
65984 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
65986         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
65987         count for x32.  Use R*_LP and omit operand-size suffix.
65989 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
65991         * shlib-versions: Move x86_64-.*-linux.* entries to ...
65992         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
65993         * sysdeps/x86_64/x32/shlib-versions: New file.
65995 2012-05-14  Roland McGrath  <roland@hack.frob.com>
65997         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
65998         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
65999         Use _dl_fatal_printf instead.
66001 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
66003         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
66004         set if not set by the user.  Do not allow for being unset.
66005         * sysdeps/unix/sysv/linux/configure: Regenerated.
66007 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
66009         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
66010         the `q' suffix from lea and replace .quad with ASM_ADDR.
66012 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
66014         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
66015         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
66016         instead of $17.
66017         (PTR_DEMANGLE): Likewise.
66019 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
66021         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
66022         (LP_OP): Likewise.
66023         (ASM_ADDR): Likewise.
66024         (RAX_LP): Likewise.
66025         (RBP_LP): Likewise.
66026         (RBX_LP): Likewise.
66027         (RCX_LP): Likewise.
66028         (RDI_LP): Likewise.
66029         (RSI_LP): Likewise.
66030         (RSP_LP): Likewise.
66031         (R8_LP): Likewise.
66032         (R9_LP): Likewise.
66033         (R10_LP): Likewise.
66034         (R10_LP): Likewise.
66035         (R11_LP): Likewise.
66036         (R12_LP): Likewise.
66037         (R13_LP): Likewise.
66038         (R14_LP): Likewise.
66039         (R15_LP): Likewise.
66041 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
66043         * sysdeps/x86_64/x32/dl-machine.h: New file.
66045 2012-05-14  Andreas Jaeger  <aj@suse.de>
66047         * manual/Makefile (subdir): Remove export of subdir.
66048         (all): Remove target.
66049         (.PHONY): Remove all from list.
66050         (mkinstalldirs): Remove.
66051         (.PHONY): Remove installdirs from list.
66052         ($(inst_infodir)/libc.info): Use make-target-directory.
66053         (installdirs): Remove.
66054         (subdir_%): Remove.
66055         (glibc-targets): Remove.
66056         (lib): Remove.
66057         (stubs): Remove.
66058         ($(objpfx)stubs ../po/manual.pot): Remove.
66059         ($(objpfx)stamp%): Remove.
66060         (make-target-directory): Remove.
66061         (subdir_install): Remove.
66062         (routines): Remove.
66063         (aux): Remove.
66064         (sources): Remove.
66065         (objects): Remove.
66066         (headers): Remove.
66068         [BZ #13750]
66069         * manual/.gitignore: Remove, it's not needed anymore.
66070         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
66071         all files in it.
66072         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
66073         directory.
66074         (texis): Renamed to $(objpfx)texis.
66075         (texis-path): New, contains path to generated files.
66076         (chapters.%): Use texis-path for complete path, add extra argument
66077         libc-texinfo.sh.
66078         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
66079         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
66080         (summary,texi, stamp-summary): Use complete path of
66081         files. Generate files in build dir.
66082         (dir-add.texi): Build in build dir.
66083         (libm-err.texi,stamp-libm-err): Likewise.
66084         (version.texi, stamp-version): Likewise.
66085         (.%c.texi): Likewise.
66086         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
66087         (mostlyclean): Remove target.
66088         (realclean): Remove target.
66089         (generated): Add new variable with contents from mostlyclean and
66090         realclean, remove entries duplicated in common-mostlyclean, add
66091         stamp-libm-err and stamp-version.
66092         (generated-dirs): Add libc directory.
66093         ($(inst_infodir)/libc.info): Install files from build dir.
66095         * manual/install.texi (Configuring and compiling): Adjust since
66096         the info files are not part of the tar ball anymore.
66098 2012-05-14  Andreas Jaeger  <aj@suse.de>
66100         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
66101         variable.
66103 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
66105         [BZ #13717]
66106         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
66107         to 2.2.0 where earlier.
66108         * sysdeps/unix/sysv/linux/configure: Regenerated.
66109         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
66110         Remove conditional code.
66111         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
66112         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
66113         Remove conditional code.
66114         [!__NR_lchown]: Likewise.
66115         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
66116         [__NR_lchown]: Likewise.
66117         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
66118         comment referencing __ASSUME_LCHOWN_SYSCALL.
66119         * sysdeps/unix/sysv/linux/i386/sigaction.c
66120         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
66121         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
66122         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
66123         Remove conditional code.
66124         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
66125         (__protocol_available): Remove #if 0 code.
66126         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
66127         conditional code.
66128         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
66129         * sysdeps/unix/sysv/linux/kernel-features.h
66130         (__ASSUME_GETCWD_SYSCALL): Don't define.
66131         (__ASSUME_REALTIME_SIGNALS): Likewise.
66132         (__ASSUME_PREAD_SYSCALL): Likewise.
66133         (__ASSUME_PWRITE_SYSCALL): Likewise.
66134         (__ASSUME_POLL_SYSCALL): Likewise.
66135         (__ASSUME_LCHOWN_SYSCALL): Likewise.
66136         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
66137         non-SPARC.
66138         (__ASSUME_SIOCGIFNAME): Don't define.
66139         (__ASSUME_MSG_NOSIGNAL): Likewise.
66140         (__ASSUME_SENDFILE): Define unconditionally.
66141         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
66142         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
66143         conditional code.
66144         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
66145         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
66146         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
66147         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
66148         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
66149         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
66150         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
66151         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
66152         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
66153         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66154         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
66155         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
66156         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66157         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
66158         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
66159         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66160         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
66161         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
66162         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
66164         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
66165         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
66167         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
66168         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66169         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
66170         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
66171         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66172         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
66173         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
66174         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66175         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
66176         Remove conditional code.
66177         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66178         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
66179         Remove conditional code.
66180         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66181         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
66182         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
66183         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
66184         Remove conditional code.
66185         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66186         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
66187         Remove conditional code.
66188         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66189         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
66190         Remove conditional code.
66191         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66192         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
66193         Remove conditional code.
66194         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66195         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
66196         Remove conditional code.
66197         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66198         * sysdeps/unix/sysv/linux/sh/pwrite64.c
66199         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
66200         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66201         * sysdeps/unix/sysv/linux/sigaction.c
66202         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
66203         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
66204         * sysdeps/unix/sysv/linux/sigpending.c
66205         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
66206         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
66207         * sysdeps/unix/sysv/linux/sigprocmask.c
66208         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
66209         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
66210         * sysdeps/unix/sysv/linux/sigsuspend.c
66211         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
66212         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
66213         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
66214         (__libc_missing_rt_sigs): Remove.
66215         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
66216         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
66217         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
66218         Remove conditional code.
66219         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
66220         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
66221         return 1.
66222         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
66223         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
66224         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
66225         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
66227 2012-05-14  Andreas Jaeger  <aj@suse.de>
66229         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
66230         it's not used in glibc.
66231         (__coshm1): Likewise.
66232         (__acosh1p): Likewise.
66233         (__sgn): Likewise.
66235         * manual/string.texi (Copying and Concatenation): Add missing
66236         variable in concat example.
66237         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
66239 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
66241         [BZ #14103]
66242         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
66243         __builtin_clzl with __builtin_clzll.
66245 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
66247         [BZ #14104]
66248         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
66249         libc_freeres_ptr.
66251 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66253         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
66254         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
66255         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
66256         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
66258 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
66260         * NEWS: Update ia64 info.
66262 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
66264         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
66265         used as bcopy.
66267 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
66269         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
66270         * sysdeps/unix/syscalls.list (dup3): Likewise.
66271         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
66272         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
66274 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
66276         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
66277         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
66279 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
66281         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
66282         thread pointer.
66283         (TLS_IE): Use mov/add instead of movq/addq to load thread
66284         pointer.
66285         (TLS_GD_PREFIX): New.
66286         (TLS_GD): Use it.
66288 2012-05-11  David S. Miller  <davem@davemloft.net>
66290         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
66291         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
66292         (_FPU_SETCW): Likewise.
66294 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
66296         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
66297         is 32-byte aligned.
66299 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
66301         [BZ #11837]
66302         * iconvdata/gb18030.c: Update tables.
66303         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
66304         characters specially.
66305         (BODY for TO_LOOP): Add encoding of missing ranges.
66307 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
66309         [BZ #13673]
66310         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
66311         * sysdeps/mach/hurd/dup3.c: Likewise.
66312         * sysdeps/mach/hurd/readlinkat.c: Likewise.
66313         * sysdeps/powerpc/memmove.c:: Likewise.
66315 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
66317         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
66318         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
66320 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
66322         * elf/elf.h (R_X86_64_RELATIVE64): New.
66323         (R_X86_64_NUM): Updated.
66324         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
66325         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
66326         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
66327         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
66328         tst-quad1pie tst-quad2pie
66329         (modules-names): Add tst-quadmod1 tst-quadmod2.
66330         ($(objpfx)tst-quad1): New dependency.
66331         ($(objpfx)tst-quad2): Likewise.
66332         ($(objpfx)tst-quad1pie): Likewise.
66333         ($(objpfx)tst-quad2pie): Likewise.
66334         * sysdeps/x86_64/tst-quad1.c: New file.
66335         * sysdeps/x86_64/tst-quad1pie.c: New file.
66336         * sysdeps/x86_64/tst-quad2.c: Likewise.
66337         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
66338         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
66339         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
66340         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
66341         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
66343 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66345         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
66346         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
66347         * streams/stropts.h (t_scalar_t): Define type.
66349         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
66350         (_PATH_PRESERVE): Set to "/var/lib".
66351         (_PATH_RWHODIR): Set to "/var/spool/rwho".
66353         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
66354         instead of int.
66356         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
66357         if __dir_mkfile succeeded.
66359         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
66360         checking for _hurd_dtablesize.  Unlock it right after having
66361         finished _hurd_dtable allocation.
66363 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66365         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
66366         * sysdeps/mach/hurd/configure: Regenerated.
66367         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
66368         special-casing to...
66369         * sysdeps/gnu/configure.in: ... this new file.
66370         * sysdeps/unix/sysv/linux/configure: Regenerated.
66371         * sysdeps/gnu/configure: New generated file.
66373         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
66374         for Linux: use nsec instead of usec, as well as:
66375         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
66376         members of type struct timespec.
66377         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
66378         New macros.
66379         (struct stat64): Likewise.
66380         (_STATBUF_ST_NSEC): New macro.
66381         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
66383         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
66384         __strtoul_internal rather than strtoul.
66386 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
66388         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
66389         and reject them.
66391 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66393         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
66394         which preserves existing values.
66395         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
66397 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
66399         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
66400         TIMEOUT values.  Return EINVAL for NFDS values either negative or
66401         greater than FD_SETSIZE.
66403 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66405         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
66406         allocated, call __vm_protect to finish enabling the existing space, and
66407         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
66408         allocate the remainder.
66410 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
66412         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
66413         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
66415 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66417         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
66418         sysdeps/mach/hurd/readlink.c.
66420         * posix/tst-sysconf.c (posix_options): Only use
66421         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
66422         _POSIX_SYNCHRONIZED_IO when they are defined
66423         * sysdeps/mach/hurd/bits/posix_opt.h:
66424         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
66425         (_XOPEN_REALTIME): Undefine macro.
66426         (_XOPEN_REALTIME_THREADS): Undefine macro.
66427         (_XOPEN_SHM): Undefine macro.
66428         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
66429         macro to -1.
66430         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
66431         macro to -1.
66432         (_POSIX_ASYNC_IO): Undefine macro.
66433         (_POSIX_PRIORITIZED_IO): Undefine macro.
66434         (_POSIX_SPIN_LOCKS): Define macro to -1.
66436         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
66437         SA_NODEFER, SA_RESETHAND.
66438         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
66439         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
66440         F_DUPFD_CLOEXEC.
66442 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66444         * elf/Makefile (pldd-modules): Define unconditionally.
66446 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66448         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
66450 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66452         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
66453         Return ENOENT when name is empty.
66454         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
66456 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66458         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
66460         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
66462 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66464         Fix mlock in all cases except non-readable pages.
66465         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
66466         instead of VM_PROT_ALL as parameter to __vm_wire function.
66468         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
66469         (__mkdir): When path is `/', just fail with EEXIST.
66470         * sysdeps/mach/hurd/mkdirat.c: Likewise.
66472 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66474         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
66475         <sys/uio.h> (for writev).
66476         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
66477         and <sys/param.h> (for MIN).
66479 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
66481         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
66482         REQUESTED_TIME.  Properly set the remaining time and return EINTR
66483         if interrupted.
66485 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66487         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
66488         Depend on against $(link-rpcuserlibs).
66490 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66492         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
66493         (__libc_stack_end): Do not use attribute_relro.
66494         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
66495         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
66496         to libthread-provided value.
66497         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
66498         attribute_relro.
66500 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66502         [BZ #3748]
66503         * bits/libc-lock.h (__libc_once_get): New macro.
66504         * sysdeps/mach/bits/libc-lock.h: Likewise.
66505         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
66506         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
66507         instead of using implementation details.
66509         * libio/fileops.c: Unconditionally include <kernel-features.h>.
66510         * libio/freopen.c: Likewise.
66511         * libio/freopen64.c: Likewise.
66512         * misc/syslog.c: Likewise.
66513         * nscd/connections.c: Likewise.
66514         * nscd/netgroupcache.c: Likewise.
66515         * sysdeps/posix/getcwd.c: Likewise.
66517 2012-05-10  Roland McGrath  <roland@hack.frob.com>
66519         * math/w_ilogbf.c: Add #include <limits.h>.
66521 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66523         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
66524         path instead of returning without unlocking.
66526         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
66527         immediate-write ioctls.
66528         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
66530 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66532         * sysdeps/mach/hurd/i386/init-first.c (init): Use
66533         __builtin_frame_address instead of making assumptions about the
66534         location of the return address relative to DATA.  Force early load of
66535         the return address.
66536         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
66537         __builtin_frame_address.
66539         dup3 for GNU Hurd.
66540         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
66541         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
66542         implement dup3 and do some further code clean-ups.
66543         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
66544         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
66546 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66548         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
66550         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
66551         HURD_CRITICAL_END around holding _hurd_dtable_lock.
66552         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
66553         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
66554         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
66555         d->port.lock.
66557         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
66558         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
66559         when handler == SIG_ERR, not when handler != SIG_ERR.
66561 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66563         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
66564         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
66565         definitions.
66567         accept4 for GNU Hurd.
66568         * include/sys/socket.h (__libc_accept4): New prototype.
66569         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
66570         to implement __libc_accept4.
66571         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
66572         __libc_accept4.
66573         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
66575         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
66576         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
66577         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
66578         signal-defines.sym.
66580 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66582         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
66584 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66586         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
66587         assertion on O_CLOEXEC flag.
66588         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
66589         * hurd/intern-fd.c: Likewise.
66590         * hurd/port2fd.c: Likewise.
66592 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66594         [BZ #3906]
66595         * bits/in.h (IPV6_PKTINFO): Define new macro.
66596         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
66598 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66600         [BZ #13954]
66601         [BZ #13955]
66602         [BZ #13956]
66603         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
66604         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
66605         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
66606         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
66607         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
66608         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
66609         * math/libm-test.inc (logb_test) : Additional logb tests.
66611 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
66612             Andreas Jaeger  <aj@suse.de>
66614         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
66615         * configure: Regenerated.
66616         * config.h.in (LINK_OBSOLETE_RPC): New macro.
66617         * config.make.in (link-obsolete-rpc): New substituted variable.
66618         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
66619         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
66620         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
66621         (shared-only-routines): Don't set it under [link-obsolete-rpc],
66622         so that libc.a contains the symbols.
66623         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
66624         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
66625         * sunrpc/auth_none.c: Likewise.
66626         * sunrpc/auth_unix.c: Likewise.
66627         * sunrpc/authdes_prot.c: Likewise.
66628         * sunrpc/authuxprot.c: Likewise.
66629         * sunrpc/clnt_gen.c: Likewise.
66630         * sunrpc/clnt_perr.c: Likewise.
66631         * sunrpc/clnt_raw.c: Likewise.
66632         * sunrpc/clnt_simp.c: Likewise.
66633         * sunrpc/clnt_tcp.c: Likewise.
66634         * sunrpc/clnt_udp.c: Likewise.
66635         * sunrpc/clnt_unix.c: Likewise.
66636         * sunrpc/des_crypt.c: Likewise.
66637         * sunrpc/des_soft.c: Likewise.
66638         * sunrpc/get_myaddr.c: Likewise.
66639         * sunrpc/key_call.c: Likewise.
66640         * sunrpc/key_prot.c: Likewise.
66641         * sunrpc/netname.c: Likewise.
66642         * sunrpc/pm_getmaps.c: Likewise.
66643         * sunrpc/pm_getport.c: Likewise.
66644         * sunrpc/pmap_clnt.c: Likewise.
66645         * sunrpc/pmap_prot.c: Likewise.
66646         * sunrpc/pmap_prot2.c: Likewise.
66647         * sunrpc/pmap_rmt.c: Likewise.
66648         * sunrpc/publickey.c: Likewise.
66649         * sunrpc/rpc_cmsg.c: Likewise.
66650         * sunrpc/rpc_common.c: Likewise.
66651         * sunrpc/rpc_dtable.c: Likewise.
66652         * sunrpc/rpc_prot.c: Likewise.
66653         * sunrpc/rpc_thread.c: Likewise.
66654         * sunrpc/rtime.c: Likewise.
66655         * sunrpc/svc.c: Likewise.
66656         * sunrpc/svc_auth.c: Likewise.
66657         * sunrpc/svc_raw.c: Likewise.
66658         * sunrpc/svc_run.c: Likewise.
66659         * sunrpc/svc_tcp.c: Likewise.
66660         * sunrpc/svc_udp.c: Likewise.
66661         * sunrpc/svc_unix.c: Likewise.
66662         * sunrpc/svcauth_des.c: Likewise.
66663         * sunrpc/xcrypt.c: Likewise.
66664         * sunrpc/xdr.c: Likewise.
66665         * sunrpc/xdr_array.c: Likewise.
66666         * sunrpc/xdr_float.c: Likewise.
66667         * sunrpc/xdr_intXX_t.c: Likewise.
66668         * sunrpc/xdr_mem.c: Likewise.
66669         * sunrpc/xdr_rec.c: Likewise.
66670         * sunrpc/xdr_ref.c: Likewise.
66671         * sunrpc/xdr_sizeof.c: Likewise.
66672         * sunrpc/xdr_stdio.c: Likewise.
66674 2012-05-10  Roland McGrath  <roland@hack.frob.com>
66676         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
66677         change.  Update copyright years.
66679 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
66681         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
66683 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
66684             Joseph Myers  <joseph@codesourcery.com>
66685             Paul Pluzhnikov  <ppluzhnikov@google.com>
66687         [BZ #14012]
66688         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
66689         requiring rpcgen.
66690         [cross-compiling] (extra-libs): Likewise.
66691         [cross-compiling] (extra-libs-others): Likewise.
66692         [cross-compiling] (librpcsvc-routines): Likewise.
66693         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
66694         [cross-compiling] (omit-deps): Likewise.
66695         (sunrpc-CPPFLAGS): New variable.
66696         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
66697         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
66698         (cross-rpcgen-objs): New variable.
66699         (extra-objs): Append $(cross-rpcgen-objs).
66700         ($(cross-rpcgen-objs)): New rule.
66701         ($(objpfx)cross-rpcgen): Likewise.
66702         (rpcgen-cmd): Define to use $(built-program-file).  Expand
66703         comment.
66704         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
66705         ($(objpfx)x%.stmp): Likewise.
66706         * sunrpc/proto.h [IS_IN_build] (_): Define.
66707         [IS_IN_build] (_libc_intl_domainname): Likewise.
66709 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
66711         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
66712         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
66713         and R_X86_64_TPOFF64.
66715 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
66717         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
66718         sysdeps/unix/sysv/syscalls.list.
66719         (stime): Likewise.
66720         (utime): Likewise.
66721         * sysdeps/unix/sysv/syscalls.list: Remove file.
66723 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
66725         [BZ #3440]
66726         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
66727         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
66728         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
66729         (__LC_IDENTIFICATION): Make these macros useful in #if
66730         expressions, as required by C99.
66732 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
66734         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
66735         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
66736         after this.
66738 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
66740         * stdlib/longlong.h: Updated from GCC.
66742 2012-05-09  Andreas Jaeger  <aj@suse.de>
66744         * nscd/nscd.c (run_modes): Make named enum, reorder so that
66745         default is first entry.
66746         (run_mode): Set type.
66747         (main): Remove informal message about syslog.
66748         (options): Fix typo.
66750         [BZ #14053]
66751         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
66752         to asm.
66753         (lrint): Likewise.
66754         (llrintf): Likewise.
66755         (llrint): Likewise.
66756         (rint): Likewise.
66757         (rintf): Likewise.
66758         (nearbyint): Likewise.
66759         (nearbyintf): Likewise.
66761 2012-05-09  Andreas Jaeger  <aj@suse.de>
66762             Pedro Alves  <palves@redhat.com>
66764         * nscd/nscd.c (run_mode): Use enum.
66765         (main): Cleanup coding style issue.
66767 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
66768             Andreas Jaeger  <aj@suse.de>
66770         * nscd/nscd.c (go_background): Replaced with...
66771         (run_mode): ... this.
66772         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
66773         (options): Add -F --foreground.
66774         (main): Implement it.
66775         (parse_opt): Parse it.
66777 2012-05-09  Andreas Jaeger  <aj@suse.de>
66779         [BZ #14083]
66780         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
66781         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
66782         -Wconversion warning.
66783         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
66784         Likewise.
66786 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
66788         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
66789         == 0.
66790         (LC_ALL): Use macro-int-constant.
66791         (LC_COLLATE): Likewise.
66792         (LC_CTYPE): Likewise.
66793         (LC_MESSAGES): Likewise.
66794         (LC_MONETARY): Likewise.
66795         (LC_NUMERIC): Likewise.
66796         (LC_TIME): Likewise.
66797         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
66798         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
66799         [ISO || ISO99 || ISO11] (*_t): Do not allow.
66800         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
66801         Specify type.
66802         [C99-based standards] (float_t): Expect type.
66803         [C99-based standards] (double_t): Expect type.
66804         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
66805         type.
66806         [C99-based standards] (HUGE_VALL): Likewise.
66807         [C99-based standards] (INFINITY): Likewise.
66808         [C99-based standards] (NAN): Likewise.
66809         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
66810         [C99-based standards] (FP_NAN): Likewise.
66811         [C99-based standards] (FP_NORMAL): Likewise.
66812         [C99-based standards] (FP_SUBNORMAL): Likewise.
66813         [C99-based standards] (FP_ZERO): Likewise.
66814         [C99-based standards] (FP_FAST_FMA): Use
66815         optional-macro-int-constant.  Specify type.  Require == 1.
66816         [C99-based standards] (FP_FAST_FMAF): Likewise.
66817         [C99-based standards] (FP_FAST_FMAL): Likewise.
66818         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
66819         [C99-based standards] (FP_ILOGBNAN): Likewise.
66820         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
66821         Specify type.
66822         [C99-based standards] (MATH_ERREXCEPT): Likewise.
66823         [C99-based standards] (math_errhandling): Specify type.
66824         [ISO99 || ISO11] (signgam): Do not allow.
66825         [non-C99-based standards] (copysignf): Do not allow.
66826         [non-C99-based standards] (exp2f): Likewise.
66827         [non-C99-based standards] (log2f): Likewise.
66828         [non-C99-based standards] (modff): Allow.
66829         [non-C99-based standards] (erff): Do not allow.
66830         [non-C99-based standards] (erfcf): Likewise.
66831         [non-C99-based standards] (gammaf): Likewise.
66832         [non-C99-based standards] (hypotf): Likewise.
66833         [non-C99-based standards] (j0f): Likewise.
66834         [non-C99-based standards] (j1f): Likewise.
66835         [non-C99-based standards] (jnf): Likewise.
66836         [non-C99-based standards] (lgammaf): Likewise.
66837         [non-C99-based standards] (tgammaf): Likewise.
66838         [non-C99-based standards] (y0f): Likewise.
66839         [non-C99-based standards] (y1f): Likewise.
66840         [non-C99-based standards] (ynf): Likewise.
66841         [non-C99-based standards] (isnanf): Likewise.
66842         [non-C99-based standards] (acoshf): Likewise.
66843         [non-C99-based standards] (asinhf): Likewise.
66844         [non-C99-based standards] (atanhf): Likewise.
66845         [non-C99-based standards] (cbrtf): Likewise.
66846         [non-C99-based standards] (expm1f): Likewise.
66847         [non-C99-based standards] (ilogbf): Likewise.
66848         [non-C99-based standards] (log1pf): Likewise.
66849         [non-C99-based standards] (logbf): Likewise.
66850         [non-C99-based standards] (nextafterf): Likewise.
66851         [non-C99-based standards] (remainderf): Likewise.
66852         [non-C99-based standards] (rintf): Likewise.
66853         [non-C99-based standards] (scalbf): Likewise.
66854         [non-C99-based standards] (copysignl): Likewise.
66855         [non-C99-based standards] (exp2l): Likewise.
66856         [non-C99-based standards] (log2l): Likewise.
66857         [non-C99-based standards] (modfl): Allow.
66858         [non-C99-based standards] (erfl): Do not allow.
66859         [non-C99-based standards] (erfcl): Likewise.
66860         [non-C99-based standards] (gammal): Likewise.
66861         [non-C99-based standards] (hypotl): Likewise.
66862         [non-C99-based standards] (j0l): Likewise.
66863         [non-C99-based standards] (j1l): Likewise.
66864         [non-C99-based standards] (jnl): Likewise.
66865         [non-C99-based standards] (lgammal): Likewise.
66866         [non-C99-based standards] (tgammal): Likewise.
66867         [non-C99-based standards] (y0l): Likewise.
66868         [non-C99-based standards] (y1l): Likewise.
66869         [non-C99-based standards] (ynl): Likewise.
66870         [non-C99-based standards] (isnanl): Likewise.
66871         [non-C99-based standards] (acoshl): Likewise.
66872         [non-C99-based standards] (asinhl): Likewise.
66873         [non-C99-based standards] (atanhl): Likewise.
66874         [non-C99-based standards] (cbrtl): Likewise.
66875         [non-C99-based standards] (expm1l): Likewise.
66876         [non-C99-based standards] (ilogbl): Likewise.
66877         [non-C99-based standards] (log1pl): Likewise.
66878         [non-C99-based standards] (logbl): Likewise.
66879         [non-C99-based standards] (nextafterl): Likewise.
66880         [non-C99-based standards] (remainderl): Likewise.
66881         [non-C99-based standards] (rintl): Likewise.
66882         [non-C99-based standards] (scalbl): Likewise.
66883         [ISO || ISO99 || ISO11] (*_t): Do not allow.
66884         [non-C99-based standards] (FP_*): Do not allow.
66885         [C99-based standards] (FP_*): Change to
66886         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
66887         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
66888         allow.
66889         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
66890         (SIG_ERR): Likewise.
66891         [X/Open-based standards] (SIG_HOLD): Likewise.
66892         (SIG_IGN): Likewise.
66893         (SIGABRT): Use macro-int-constant.  Specify type.  Require
66894         positive value.
66895         (SIGFPE): Likewise.
66896         (SIGILL): Likewise.
66897         (SIGINT): Likewise.
66898         (SIGSEGV): Likewise.
66899         (SIGTER): Likewise.
66900         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
66901         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
66902         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
66903         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
66904         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
66905         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
66906         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
66907         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
66908         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
66909         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
66910         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
66911         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
66912         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
66913         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
66914         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
66915         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
66916         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
66917         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
66918         [X/Open-based standards] (SIGTRAP): Likewise.
66919         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
66920         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
66921         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
66922         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
66923         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
66924         allow.
66926 2012-05-08  Ian Wienand  <ianw@vmware.com>
66928         [BZ #14080]
66929         * time/tzset.c (__tzset_parse_tz): Update default rules for
66930         daylight time changes in the Energy Policy Act of 2005.
66932 2012-05-09  Andreas Jaeger  <aj@suse.de>
66934         [BZ #13983]
66935         * elf/ldconfig.c (parse_conf): Change string to make clear that
66936         ldconfig only issued a warning if ld.so.conf does not exist.
66938 2012-05-08  David S. Miller  <davem@davemloft.net>
66940         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
66941         movxtod instead of popping the value on the stack.
66943         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66945 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
66947         * config.h.in: Add HAVE_ARM_PCS_VFP.
66949 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
66951         [BZ #13979]
66952         * include/features.h: Warn if user requests __FORTIFY_SOURCE
66953         checking but the checks are disabled for any reason.
66955 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
66957         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
66958         and ELF64_R_TYPE with ELFW(R_TYPE).
66960 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
66962         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
66963         (ulimit): Likewise.
66965         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
66966         (settimeofday): Likewise.
66968 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
66970         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
66971         a struct th_u2 inside the union, and move tu_block/tu_code into
66972         a new th_u3 union of tu_block/tu_code inside of that.  Move
66973         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
66974         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
66975         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
66976         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
66977         (th_stuff): Change to th_u1.tu_stuff.
66978         (th_data): Define.
66979         (th_msg): Change to th_u1.th_u2.tu_data.
66981 2012-05-07  David S. Miller  <davem@davemloft.net>
66983         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66985         [BZ #14074]
66986         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
66987         (SETUP_PIC_REG): Use it.
66988         (SETUP_PIC_REG_LEAF): Use it.
66990 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
66992         [BZ #13885]
66993         [BZ #13923]
66994         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
66995         USE_AS_EXPM1L.
66996         (EXPL_FINITE): Likewise.
66997         (FLDLOG): Likewise.
66998         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
66999         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
67000         e_expl.S.
67001         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
67002         USE_AS_EXPM1L.
67003         (EXPL_FINITE): Likewise.
67004         (FLDLOG): Likewise.
67005         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
67006         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
67007         e_expl.S.
67008         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
67009         test of -max_value argument for long double.
67010         * sysdeps/i386/fpu/libm-test-ulps: Update.
67011         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67013 2012-05-06  David S. Miller  <davem@davemloft.net>
67015         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
67016         quad soft-float symbols whose references which are compiler
67017         generated.
67018         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
67020 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
67022         [BZ #13884]
67023         [BZ #13914]
67024         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
67025         USE_AS_EXP10L.
67026         (EXPL_FINITE): Likewise.
67027         (FLDLOG): Likewise.
67028         (c0): Likewise.
67029         (c1): Likewise.
67030         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
67031         Adjust comments for base varying.
67032         (__expl_finite): Change alias to EXPL_FINITE.
67033         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
67034         e_expl.S.
67035         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
67036         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
67037         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
67038         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
67039         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
67040         USE_AS_EXP10L.
67041         (EXPL_FINITE): Likewise.
67042         (FLDLOG): Likewise.
67043         (c0): Likewise.
67044         (c1): Likewise.
67045         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
67046         Adjust comments for base varying.
67047         (__expl_finite): Change alias to EXPL_FINITE.
67048         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
67049         tests for bugs.
67050         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
67052         [BZ #14064]
67053         * math/libm-test.inc (check_float_internal): Correct ulp
67054         calculation for subnormal expected results.
67056 2012-05-06  Andreas Jaeger  <aj@suse.de>
67058         * Makeconfig (+math-flags): New, set to -frounding-math.
67059         (+cflags): Add +math-flags so that all of glibc gets compiled with
67060         it.
67062         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
67064 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
67066         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
67067         Disable one test.
67069         [BZ #13787]
67070         [BZ #13922]
67071         [BZ #14036]
67072         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
67073         (__ieee754_expl): Allow for and saturate large arguments.
67074         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
67075         (u_threshold): Likewise.
67076         (__exp): Call __ieee754_exp before checking for overflow and
67077         underflow.
67078         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
67079         (u_threshold): Likewise.
67080         (__expf): Call __ieee754_expf before checking for overflow and
67081         underflow.
67082         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
67083         (u_threshold): Likewise.
67084         (__expl): Call __ieee754_expl before checking for overflow and
67085         underflow.
67086         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
67087         (__ieee754_expl): Allow for and saturate large arguments.
67088         * math/libm-test.inc (exp_test): Add another test.  Do not allow
67089         missing overflow exception on overflow.
67090         (expm1_test): Do not allow missing overflow exception on overflow.
67092         * sysdeps/i386/fpu/e_expl.c: Move to ...
67093         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
67094         rather than using inline asm.
67095         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
67096         * sysdeps/x86_64/fpu/e_expl.S: Copy from
67097         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
67099         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
67100         (nice): Likewise.
67101         (poll): Likewise.
67102         (signal): Likewise.
67103         (time): Likewise.
67104         (times): Likewise.
67106 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
67108         * sysdeps/unix/syscalls.list (adjtime): Add entry from
67109         sysdeps/unix/common/syscalls.list.
67110         (fchmod): Likewise.
67111         (fchown): Likewise.
67112         (ftruncate): Likewise.
67113         (getrusage): Likewise.
67114         (gettimeofday): Likewise.
67115         (setpgid): Likewise.
67116         (setregid): Likewise.
67117         (setreuid): Likewise.
67118         (sigaction): Likewise.
67119         (truncate): Likewise.
67120         (vhangup): Likewise.
67121         * sysdeps/unix/common/syscalls.list: Remove file.
67122         * sysdeps/unix/bsd/Implies: Don't include unix/common.
67123         * sysdeps/unix/sysv/linux/Implies: Likewise.
67125 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
67127         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
67128         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
67129         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
67130         Moved to ...
67131         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
67132         Here.
67133         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
67134         to ...
67135         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
67136         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
67137         to ...
67138         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
67139         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
67140         to ...
67141         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
67142         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
67143         to ...
67144         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
67145         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
67146         to ...
67147         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
67148         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
67149         to ...
67150         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
67151         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
67152         to ...
67153         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
67154         Here.
67155         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
67156         to ...
67157         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
67158         Here.
67159         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
67160         to ...
67161         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
67162         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
67163         Moved to ...
67164         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
67165         Here.
67166         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
67167         to ...
67168         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
67170 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
67172         * sysdeps/unix/common/bits/dirent.h: Remove file.
67173         * sysdeps/unix/common/bits/fcntl.h: Likewise.
67175         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
67176         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
67177         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
67178         * sysdeps/unix/bsd/isatty.c: Likewise.
67179         * sysdeps/unix/bsd/tcdrain.c: Likewise.
67180         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
67181         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
67183 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67185         [BZ #13563]
67186         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
67187         long double comparison inaccuracies.
67188         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
67189         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67191 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
67193         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
67194         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
67196 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
67198         [BZ #14049]
67199         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
67200         nonzero digits before rounding a hex value.
67201         * stdlib/tst-strtod.c (tests): Add another test.
67203 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67205         * sysdeps/s390/fpu/libm-test-ulps: Update.
67207 2012-05-03  Andreas Jaeger  <aj@suse.de>
67209         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
67210         does not get optimized out.
67211         (malloc_opt_barrier): New.
67213 2012-05-03  Andreas Jaeger  <aj@suse.de>
67214             Roland McGrath  <roland@hack.frob.com>
67216         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
67217         intermediate file deletion.
67218         (generated): Add .symlist files.
67220 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
67222         [BZ #13775]
67223         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
67224         Redirect under this condition.
67225         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
67226         [__USE_GNU] (__dprintf_chk): Not under this condition.
67227         [__USE_GNU] (__vdprintf_chk): Likewise.
67228         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
67229         under this condition.
67230         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
67231         [__USE_XOPEN2K8] (dprintf): Define under this condition.
67232         [__USE_XOPEN2K8] (vdprintf): Likewise.
67233         [__USE_GNU] (__dprintf_chk): Not under this condition.
67234         [__USE_GNU] (__vdprintf_chk): Likewise.
67235         [__USE_GNU] (dprintf): Likewise.
67236         [__USE_GNU] (vdprintf): Likewise.
67238 2012-05-03  Roland McGrath  <roland@hack.frob.com>
67240         * elf/Makefile (common-generated): Set this instead of generated for
67241         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
67242         $(all-built-dso)-derived lists.
67244 2012-05-03  Andreas Jaeger  <aj@suse.de>
67246         * sysdeps/i386/fpu/libm-test-ulps: Update.
67248         * FAQ: Removed.
67249         * FAQ.in: Likewise.
67250         * scripts/gen-FAQ.pl: Likewise.
67251         * manual/install.texi (Installation): Point to online location of
67252         FAQ.
67253         * Makefile (files-for-dist): Remove FAQ.
67254         (FAQ): Remove.
67256 2012-05-02  Allan McRae  <allan@archlinux.org>
67258         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
67259         (LDFLAGS-reldepmod5.so): Likewise.
67260         (LDFLAGS-reldep6mod1.so): Likewise.
67261         (LDFLAGS-reldep6mod4.so): Likewise.
67262         (LDFLAGS-reldep8mod3.so): Likewise.
67263         (LDFLAGS-unload4mod1.so): Likewise.
67264         (LDFLAGS-unload4mod2.so): Likewise.
67265         (LDFLAGS-tst-initorder): Likewise.
67266         (LDFLAGS-tst-initordera2.so): Likewise.
67267         (LDFLAGS-tst-initordera3.so): Likewise.
67268         (LDFLAGS-tst-initordera4.so): Likewise.
67269         (LDFLAGS-tst-initorderb2.so): Likewise.
67270         (LDFLAGS-noload): Likewise.
67271         (LDFLAGS-next): Likewise.
67272         (LDFLAGS-order2mod1.so): Likewise.
67273         (LDFLAGS-order2mod2.so): Likewise.
67274         (LDFLAGS-tst-initorder2): Likewise.
67275         (LDFLAGS-tst-initorder2a.so): Likewise.
67276         (LDFLAGS-tst-initorder2b.so): Likewise.
67277         (LDFLAGS-tst-initorder2c.so): Likewise.
67278         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
67280 2012-05-02  David S. Miller  <davem@davemloft.net>
67282         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67284 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
67286         [BZ #14055]
67287         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
67289 2012-05-02  Andreas Jaeger  <aj@suse.de>
67291         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
67292         since we manipulate rounding mode.
67293         (CPPFLAGS-test-idouble.c): Likewise.
67294         (CPPFLAGS-test-ifloat.c): Likewise.
67295         (CFLAGS-test-ldouble.c): Likewise.
67296         (CFLAGS-test-double.c): Likewise.
67297         (CFLAGS-test-float.c): Likewise.
67298         (CFLAGS-test-misc.c): Likewise.
67299         (CFLAGS-test-test-fenv.c): Likewise.
67301 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67303         [BZ #2550]
67304         [BZ #2570]
67305         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
67306         comparisons to determine direction to adjust input.
67308 2012-05-01  Roland McGrath  <roland@hack.frob.com>
67310         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
67311         output to the target.
67313         * scripts/localplt.awk: New file.
67314         * elf/Makefile ($(objpfx)check-localplt): Target removed.
67315         (check-localplt-CFLAGS): Variable removed.
67316         ($(all-built-dso:=.jmprel)): New static pattern rule.
67317         (generated): Add those targets.
67318         (localplt-built-dso): New variable.
67319         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
67321         * elf/check-localplt.c: File removed.
67323         * scripts/check-execstack.awk: New file.
67324         * elf/Makefile ($(objpfx)check-execstack): Target removed.
67325         (check-execstack-CFLAGS): Variable removed.
67326         ($(objpfx)check-execstack.h): Target removed.
67327         ($(objpfx)execstack-default): New target.
67328         (generated): Add that instead of check-execstack.h.
67329         ($(all-built-dso:=.phdr)): New static pattern rule.
67330         (generated): Add those targets.
67331         * elf/check-execstack.c: File removed.
67333         * scripts/check-textrel.awk: New file.
67334         * elf/Makefile ($(objpfx)check-textrel): Target removed.
67335         (check-textrel-CFLAGS): Variable removed.
67336         (all-built-dso): Use := to define.o
67337         ($(all-built-dso:=.dyn)): New static pattern rule.
67338         (generated): Add those targets.
67339         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
67340         * config.make.in (READELF): New substituted variable.
67341         * elf/check-textrel.c: File removed.
67343 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
67345         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
67346         allow.
67347         * conform/data/ctype.h-data [C99-based standards] (isblank):
67348         Expect function.
67349         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
67350         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
67351         [ISO || ISO99 || ISO11] (*_t): Do not allow.
67352         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
67353         Specify type.  Require positive value.
67354         (EILSEQ): Likewise.
67355         (ERANGE): Likewise.
67356         [ISO || POSIX] (EILSEQ): Do not expect.
67357         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
67358         Specify type.  Require positive value.
67359         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
67360         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
67361         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
67362         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
67363         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
67364         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
67365         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
67366         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
67367         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
67368         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
67369         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
67370         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
67371         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
67372         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
67373         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
67374         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
67375         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
67376         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
67377         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
67378         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
67379         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
67380         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
67381         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
67382         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
67383         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
67384         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
67385         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
67386         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
67387         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
67388         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
67389         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
67390         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
67391         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
67392         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
67393         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
67394         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
67395         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
67396         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
67397         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
67398         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
67399         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
67400         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
67401         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
67402         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
67403         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
67404         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
67405         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
67406         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
67407         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
67408         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
67409         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
67410         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
67411         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
67412         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
67413         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
67414         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
67415         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
67416         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
67417         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
67418         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
67419         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
67420         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
67421         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
67422         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
67423         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
67424         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
67425         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
67426         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
67427         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
67428         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
67429         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
67430         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
67431         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
67432         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
67433         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
67434         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
67435         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
67436         Require >= 2.
67437         (FLT_ROUNDS): Expect as macro, not constant.
67438         (FLT_MANT_DIG): Use macro-int-constant.
67439         (DBL_MANT_DIG): Likewise.
67440         (LDBL_MANT_DIG): Likewise.
67441         (FLT_DIG): Likewise.
67442         (DBL_DIG): Likewise.
67443         (LDBL_DIG): Likewise.
67444         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
67445         (DBL_MIN_EXP): Likewise.
67446         (LDBL_MIN_EXP): Likewise.
67447         (FLT_MAX_EXP): Use macro-int-constant.
67448         (DBL_MAX_EXP): Likewise.
67449         (LDBL_MAX_EXP): Likewise.
67450         (FLT_MAX_10_EXP): Likewise.
67451         (DBL_MAX_10_EXP): Likewise.
67452         (LDBL_MAX_10_EXP): Likewise.
67453         (FLT_MAX): Use macro-constant.
67454         (DBL_MAX): Likewise.
67455         (LDBL_MAX): Likewise.
67456         (FLT_EPSILON): Use macro-constant.  Give upper bound.
67457         (DBL_EPSILON): Likewise.
67458         (LDBL_EPSILON): Likewise.
67459         (FLT_MIN): Likewise.
67460         (DBL_MIN): Likewise.
67461         (LDBL_MIN): Likewise.
67462         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
67463         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
67464         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
67465         [ISO11] (FLT_HAS_SUBNORM): Likewise.
67466         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
67467         [ISO11] (DBL_DECIMAL_DIG): Likewise.
67468         [ISO11] (FLT_DECIMAL_DIG): Likewise.
67469         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
67470         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
67471         [ISO11] (FLT_TRUE_MIN): Likewise.
67472         [ISO11] (LDBL_TRUE_MIN): Likewise.
67473         [ISO || ISO99 || ISO11] (*_t): Do not allow.
67474         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
67475         (SCHAR_MIN): Use macro-int-constant.  Specify type.
67476         (SCHAR_MAX): Likewise.
67477         (UCHAR_MAX): Likewise.
67478         (CHAR_MIN): Likewise.
67479         (CHAR_MAX): Likewise.
67480         (MB_LEN_MAX): Use macro-int-constant.
67481         (SHRT_MIN): Use macro-int-constant.  Specify type.
67482         (SHRT_MAX): Likewise.
67483         (USHRT_MAX): Likewise.
67484         (INT_MAX): Likewise.
67485         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
67486         bound negative.
67487         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
67488         bound with "U".
67489         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
67490         bound with "L".
67491         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
67492         bound negative.  Suffix upper bound with "L".
67493         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
67494         bound with "UL".
67495         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
67496         Specify type.
67497         [C99-based standards] (LLONG_MAX): Likewise.
67498         [C99-based standards] (ULLONG_MAX): Likewise.
67499         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
67500         == 0.
67501         [ISO11] (max_align_t): Require type.
67502         [ISO || ISO99 || ISO11] (*_t): Do not allow.
67504         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
67505         from $CFLAGS, without defining away __attribute__ calls.
67506         (checknamespace): Use $CFLAGS_namespace.
67508         * conform/conformtest.pl (@keywords): Only include C99 keywords
67509         for standards based on C99 or C11.
67511         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
67512         Disable tests.
67513         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
67514         UNIX98]: Likewise.
67516         * conform/conformtest.pl: Handle "macro-int-constant" and test for
67517         usability of symbols in #if.
67519         * conform/conformtest.pl: If macro or constant types start
67520         "promoted:", expect the symbol to be of the following type
67521         promoted by the integer promotions.
67523         * conform/conformtest.pl: Parse all "constant" and "macro" lines
67524         in one place.  Also handle "macro-constant".
67526         * conform/conformtest.pl: Only accept expected macro values with
67527         "==".  Parse all "macro" lines in one place.
67528         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
67530         * conform/conformtest.pl: Handle braced types on "constant" lines
67531         instead of handling "typed-constant".
67532         * conform/data/signal.h-data: Use "constant" instead of
67533         "typed-constant".
67535         * conform/conformtest.pl: Handle "optional-" at start of lines in
67536         one place rather than duplicating several cases.  Handle each
67537         format of "macro" line with initial "optional-".
67539         * conform/conformtest.pl: Only accept expected constant or
67540         optional-constant values with "==".  Parse all "constant" lines in
67541         one place.  Parse all "optional-constant" lines in one place.
67542         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
67543         * conform/data/fmtmsg.h-data: Likewise.
67544         * conform/data/netinet/in.h-data: Likewise.
67545         * conform/data/tar.h-data: Likewise.
67546         * conform/data/limits.h-data: Use "==" form on "constant" and
67547         "optional-constant" lines.
67549         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
67550         Use -std=c99 for XOPEN2K.
67551         (@knownproblems): Remove.
67552         (newtoken): Don't check %isknown.
67554         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
67555         Do not expect macro.
67556         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
67557         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
67558         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
67559         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
67560         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
67561         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
67562         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
67563         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
67564         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
67565         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
67566         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
67567         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
67568         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
67569         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
67570         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
67571         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
67572         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
67573         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
67574         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
67575         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
67576         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
67577         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
67578         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
67579         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
67580         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
67581         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
67582         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
67583         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
67584         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
67585         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
67586         [XPG3] (acosh): Likewise.
67587         [XPG3] (asinh): Likewise.
67588         [XPG3] (atanh): Likewise.
67589         [XPG3] (cbrt): Likewise.
67590         [XPG3] (expm1): Likewise.
67591         [XPG3] (ilogb): Likewise.
67592         [XPG3] (log1p): Likewise.
67593         [XPG3] (logb): Likewise.
67594         [XPG3] (nextafter): Likewise.
67595         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
67596         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
67597         [XPG3] (remainder): Likewise.
67598         [XPG3] (rint): Likewise.
67599         [XPG3 || XPG4 || UNIX98] (round): Likewise.
67600         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
67601         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
67602         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
67603         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
67604         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
67605         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
67606         [UNIX98 || XOPEN2K] (scalb): Expect.
67607         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
67608         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
67609         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
67610         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
67611         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
67612         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
67613         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
67614         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
67615         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
67616         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
67617         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
67618         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
67619         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
67620         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
67621         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
67622         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
67623         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
67624         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
67625         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
67626         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
67627         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
67628         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
67629         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
67630         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
67631         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
67632         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
67633         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
67634         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
67635         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
67636         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
67637         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
67638         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
67639         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
67640         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
67641         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
67642         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
67643         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
67644         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
67645         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
67646         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
67647         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
67648         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
67649         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
67650         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
67651         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
67652         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
67653         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
67654         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
67655         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
67656         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
67657         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
67658         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
67659         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
67660         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
67661         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
67662         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
67663         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
67664         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
67665         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
67666         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
67667         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
67668         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
67669         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
67670         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
67671         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
67672         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
67673         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
67674         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
67675         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
67676         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
67677         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
67678         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
67679         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
67680         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
67681         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
67682         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
67683         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
67684         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
67685         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
67686         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
67687         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
67688         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
67689         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
67690         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
67691         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
67692         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
67693         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
67694         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
67695         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
67696         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
67697         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
67698         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
67699         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
67700         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
67701         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
67702         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
67703         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
67704         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
67705         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
67706         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
67707         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
67708         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
67709         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
67710         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
67711         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
67712         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
67713         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
67714         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
67715         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
67716         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
67717         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
67718         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
67719         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
67720         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
67721         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
67722         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
67723         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
67724         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
67725         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
67726         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
67727         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
67728         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
67729         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
67730         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
67731         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
67732         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
67733         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
67734         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
67735         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
67736         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
67737         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
67738         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
67739         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
67740         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
67741         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
67742         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
67743         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
67745         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
67746         _XOPEN_SOURCE_EXTENDED for XPG4.
67748         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
67750         * Makeconfig (localtime): Remove variable.
67751         (inst_localtime-file): Likewise.
67753 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
67755         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
67756         Update.
67757         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
67758         Update.
67759         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
67760         Update.
67761         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
67762         Update.
67763         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
67764         Update.
67765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
67766         Update.
67767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
67768         Update.
67769         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
67770         Update.
67771         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
67772         Update.
67774 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
67776         [BZ #2550]
67777         [BZ #2570]
67778         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
67779         comparisons to determine direction to adjust input.
67780         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
67781         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
67782         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
67783         Likewise.
67784         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
67785         Likewise.
67786         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
67787         Likewise.
67788         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
67789         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
67790         Likewise.
67791         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
67792         Likewise.
67793         * math/libm-test.inc (nexttoward_test): Add more tests.
67795 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
67797         [BZ #14040]
67798         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
67799         in version GLIBC_2.1, not GLIBC_2.0.
67800         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
67801         Likewise.
67803 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
67805         [BZ #13942]
67806         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
67807         (1 - x) * (1 + x).
67808         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
67809         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
67810         * math/libm-test.inc (acos_test): Add more tests.
67811         (asin_test): Likewise.
67812         * sysdeps/i386/fpu/libm-test-ulps: Update.
67813         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67815         [BZ #14034]
67816         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
67817         of square root.
67818         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
67819         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
67820         * math/libm-test.inc (acos_test_tonearest): New function.
67821         (acos_test_towardzero): Likewise.
67822         (acos_test_downward): Likewise.
67823         (acos_test_upward): Likewise.
67824         (asin_test_tonearest): Likewise.
67825         (asin_test_towardzero): Likewise.
67826         (asin_test_downward): Likewise.
67827         (asin_test_upward): Likewise.
67828         (main): Call the new functions.
67829         * sysdeps/i386/fpu/libm-test-ulps: Update.
67830         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
67832         [BZ #13884]
67833         [BZ #13924]
67834         * math/e_exp10.c: Include <float.h>.
67835         (__ieee754_exp10): Handle underflow here rather than multiplying
67836         large negative argument by M_LN10.
67837         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
67838         of __ieee754_expf.
67839         * math/e_exp10l.c: Include <float.h>.
67840         (__ieee754_exp10l): Handle underflow here rather than multiplying
67841         large negative argument by M_LN10l.
67842         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
67843         spurious overflow exception on underflow.
67845 2012-04-29  Marek Polacek  <polacek@redhat.com>
67847         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
67848         (__fortify_function): New macro.
67849         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
67850         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
67851         __extern_always_inline.
67852         * libio/bits/stdio2.h: Likewise.
67853         * libio/bits/stdio.h: Likewise.
67854         * string/string.h: Likewise.
67855         * string/bits/string3.h: Likewise.
67856         * include/stdio.h: Likewise.
67857         * stdlib/bits/stdlib.h: Likewise.
67858         * stdlib/stdlib.h: Likewise.
67859         * rt/bits/mqueue2.h: Likewise.
67860         * rt/mqueue.h: Likewise.
67861         * posix/bits/unistd.h: Likewise.
67862         * posix/unistd.h: Likewise.
67863         * io/bits/poll2.h: Likewise.
67864         * io/bits/fcntl2.h: Likewise.
67865         * io/fcntl.h: Likewise.
67866         * io/sys/poll.h: Likewise.
67867         * misc/bits/syslog.h: Likewise.
67868         * misc/bits/syslog-ldbl.h: Likewise.
67869         * misc/sys/syslog.h: Likewise.
67870         * socket/bits/socket2.h: Likewise.
67871         * socket/sys/socket.h: Likewise.
67872         * debug/tst-chk1.c: Likewise.
67873         * wcsmbs/bits/wchar2.h: Likewise.
67874         * wcsmbs/bits/wchar-ldbl.h: Likewise.
67875         * wcsmbs/wchar.h: Likewise.
67877 2012-04-29  Andreas Jaeger  <aj@suse.de>
67879         * Makerules (tests): Remove enable-check-abi protection.
67880         (check-abi-warn): Remove.
67881         (check-abi-%): Remove check-abi-warn usage.
67883         * configure.in: Remove check-abi configure option.
67884         * configure: Regenerated.
67885         * config.make.in (enable-check-abi): Remove.
67887 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
67889         [BZ #14033]
67890         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
67891         double functions to double *_finite functions.
67893         [BZ #13941]
67894         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
67895         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
67896         LDBL_MIN_EXP.
67897         * stdio-common/Makefile (tests): Add tst-sprintf3.
67898         * stdio-common/tst-sprintf3.c: New file.
67900         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
67901         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
67903 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
67905         * conform/conformtest.pl: Remove duplicate typed-constant
67906         handling.
67908 2012-04-28  David S. Miller  <davem@davemloft.net>
67910         * Makerules (%.abilist): Add vpath on sysdep_dirs.
67911         (check-abi-%): Remove AWK script prerequisite and explicit
67912         abilist directory.
67913         (check-abi): Rewrite to just diff the symlist with the abilist.
67914         (config-tls, config-abi-config): Delete, no longer used.
67915         (update-abi-%): Remove AWK script and explicit abilist directory.
67916         (update-abi): Rewrite to simply compare and conditionally copy the
67917         symlist and the sysdep abilist file.  Remove update-abi-config
67918         checks.
67919         * abilist/ld.abilist: Remove.
67920         * abilist/libBrokenLocale.abilist: Remove.
67921         * abilist/libanl.abilist: Remove.
67922         * abilist/libcrypt.abilist: Remove.
67923         * abilist/libdl.abilist: Remove.
67924         * abilist/librt.abilist: Remove.
67925         * abilist/libthread_db.abilist: Remove.
67926         * abilist/libutil.abilist: Remove.
67927         * scripts/extract-abilist.awk: Remove.
67928         * scripts/merge-abilist.awk: Remove.
67929         * sysdeps/generic/libcidn.abilist: New file.
67930         * sysdeps/generic/libnss_compat.abilist: New file.
67931         * sysdeps/generic/libnss_db.abilist: New file.
67932         * sysdeps/generic/libnss_dns.abilist: New file.
67933         * sysdeps/generic/libnss_files.abilist: New file.
67934         * sysdeps/generic/libnss_hesiod.abilist: New file.
67935         * sysdeps/generic/libnss_nis.abilist: New file.
67936         * sysdeps/generic/libnss_nisplus.abilist: New file.
67937         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
67938         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
67939         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
67940         file.
67941         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
67942         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
67943         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
67944         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
67945         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
67946         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
67947         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
67948         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
67949         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
67950         file.
67951         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
67952         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
67953         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
67954         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
67955         file.
67956         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
67957         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
67958         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
67959         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
67960         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
67961         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
67962         file.
67963         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
67964         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
67965         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
67966         file.
67967         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
67968         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
67969         New file.
67970         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
67971         New file.
67972         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
67973         New file.
67974         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
67975         New file.
67976         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
67977         New file.
67978         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
67979         New file.
67980         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
67981         New file.
67982         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
67983         New file.
67984         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
67985         New file.
67986         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
67987         New file.
67988         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
67989         New file.
67990         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
67991         New file.
67992         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
67993         New file.
67994         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
67995         file.
67996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
67997         New file.
67998         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
67999         New file.
68000         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
68001         file.
68002         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
68003         New file.
68004         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
68005         New file.
68006         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
68007         file.
68008         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
68009         New file.
68010         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
68011         New file.
68012         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
68013         New file.
68014         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
68015         New file.
68016         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
68017         New file.
68018         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
68019         New file.
68020         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
68021         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
68022         file.
68023         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
68024         New file.
68025         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
68026         file.
68027         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
68028         file.
68029         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
68030         file.
68031         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
68032         file.
68033         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
68034         file.
68035         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
68036         New file.
68037         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
68038         file.
68039         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
68040         file.
68041         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
68042         New file.
68043         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
68044         file.
68045         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
68046         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
68047         file.
68048         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
68049         New file.
68050         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
68051         file.
68052         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
68053         file.
68054         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
68055         file.
68056         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
68057         file.
68058         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
68059         file.
68060         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
68061         New file.
68062         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
68063         file.
68064         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
68065         file.
68066         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
68067         New file.
68068         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
68069         file.
68070         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
68071         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
68072         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
68073         file.
68074         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
68075         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
68076         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
68077         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
68078         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
68079         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
68080         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
68081         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
68082         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
68083         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
68084         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
68085         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
68086         file.
68087         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
68088         New file.
68089         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
68090         file.
68091         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
68092         file.
68093         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
68094         file.
68095         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
68096         file.
68097         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
68098         file.
68099         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
68100         New file.
68101         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
68102         New file.
68103         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
68104         file.
68105         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
68106         New file.
68107         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
68108         file.
68109         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
68110         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
68111         file.
68112         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
68113         New file.
68114         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
68115         file.
68116         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
68117         file.
68118         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
68119         file.
68120         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
68121         file.
68122         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
68123         file.
68124         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
68125         New file.
68126         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
68127         New file.
68128         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
68129         file.
68130         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
68131         New file.
68132         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
68133         file.
68135 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
68137         * conform/conformtest.pl: Fix typo in handling typed-constant from
68138         allow-header.
68140 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
68142         * README: Cut down references to pre-2.6 Linux kernels and
68143         Linuxthreads.  Update lists of configurations in libc and ports
68144         and sort alphabetically.  Say "or newer" with Linux kernel version
68145         requirements.
68147         * config.h.in [IS_IN_build]: Allow compiling without optimization.
68149 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
68151         [BZ #887]
68152         * math/libm-test.inc (logb_test_downward): New test to expose
68153         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
68154         rounding mode.
68156 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
68158         [BZ #14027]
68159         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
68160         to be done.
68161         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
68162         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
68164 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
68166         * sysdeps/unix/i386/brk.S: Remove file.
68167         * sysdeps/unix/i386/dl-brk.S: Likewise.
68168         * sysdeps/unix/i386/pipe.S: Likewise.
68169         * sysdeps/unix/i386/sigreturn.S: Likewise.
68170         * sysdeps/unix/i386/syscall.S: Likewise.
68171         * sysdeps/unix/i386/vfork.S: Likewise.
68172         * sysdeps/unix/i386/wait.S: Likewise.
68174         * sysdeps/unix/common/tcsendbrk.c: Move to ...
68175         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
68177         * configure.in (arm*-none*): Do not allow without
68178         --enable-hacker-mode.
68179         (netbsd*): Remove case setting base_os.
68180         (386bsd*): Likewise.
68181         (freebsd*): Likewise.
68182         (bsdi*): Likewise.
68183         (osf*): Likewise.
68184         (sunos*): Likewise.
68185         (ultrix*): Likewise.
68186         (newsos*): Likewise.
68187         (dynix*): Likewise.
68188         (*bsd*): Likewise.
68189         (sysv*): Likewise.
68190         (isc*): Likewise.
68191         (esix*): Likewise.
68192         (sco*): Likewise.
68193         (minix*): Likewise.
68194         (irix4*): Likewise.
68195         (irix6*): Likewise.
68196         (solaris[2-9]*): Likewise.
68197         (none): Likewise.
68198         * configure: Regenerated.
68200 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68202         [BZ #11521]
68203         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
68204         overflow or cancellation in calculating denominator.
68205         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
68206         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
68207         down expression to avoid unexpected rounding in newer GCCs.
68208         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
68210 2012-04-26  David S. Miller  <davem@davemloft.net>
68212         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
68213         long-double compat symbols.
68214         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
68215         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
68216         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
68217         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
68218         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
68219         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
68220         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
68221         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
68222         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
68223         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
68224         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
68225         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
68226         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
68228 2012-04-25  David S. Miller  <davem@davemloft.net>
68230         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
68231         HWCAP_* values only after the memory barriers have been defined.
68232         (atomic_full_barrier): Define.
68233         (atomic_read_barrier): Define.
68234         (atomic_write_barrier): Define.
68236 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
68238         * shlib-versions: Add libgcc_s version information.
68239         * sysdeps/generic/libgcc_s.h: Remove.
68240         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
68241         libgcc_s.h.
68242         * sysdeps/gnu/unwind-resume.c: Likewise.
68243         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
68245 2012-04-25  David S. Miller  <davem@davemloft.net>
68247         * sysdeps/unix/sparc/brk.S: Delete.
68248         * sysdeps/unix/sparc/dl-brk.S: Delete.
68249         * sysdeps/unix/sparc/pipe.S: Delete.
68250         * sysdeps/unix/sparc/sysdep.S: Delete.
68251         * sysdeps/unix/sparc/sysdep.h: Delete.
68252         * sysdeps/unix/sparc/vfork.S: Delete.
68253         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
68254         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
68255         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
68256         (ret_ERRVAL, r0, r1, MOVE): Define.
68257         (JUMPTARGET): Remove.
68258         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
68259         sysdeps/unix/sparc/sysdep.h
68260         (ENTRY, END): Remove.
68261         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
68263 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
68265         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
68266         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
68267         -DIS_IN_build.
68269         * timezone/README: Update upstream location and email address for
68270         tzcode and tzdata.
68271         * timezone/zdump.c: Update from tzcode 2012b.
68272         * timezone/zic.c: Likewise.
68274         * configure.in (libc_cv_as_needed): Remove test.
68275         * configure: Regenerated.
68276         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
68277         conditional definition.
68278         [$(have-as-needed) != yes] (no-as-needed): Likewise.
68279         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
68280         * config.make.in (have-as-needed): Remove variable.
68282 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
68283             Paul Pluzhnikov  <ppluzhnikov@google.com>
68285         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
68286         strings correctly.
68288 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
68290         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
68291         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
68292         * sysdeps/sh/strlen.S: Likewise.
68294 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
68296         * sysdeps/unix/fork.S: Remove file.
68297         * sysdeps/unix/i386/fork.S: Likewise.
68298         * sysdeps/unix/sparc/fork.S: Likewise.
68300         * sysdeps/unix/system.c: Remove file.
68301         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
68303         * sysdeps/unix/getegid.S: Remove file.
68304         * sysdeps/unix/geteuid.S: Likewise.
68306 2012-04-24  Roland McGrath  <roland@hack.frob.com>
68308         * scripts/check-localplt.awk: New file.
68309         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
68310         of diff.
68311         * scripts/data/localplt-generic.data: Add a comment.
68313         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
68314         NODE when __dir_mkfile failed.
68315         * sysdeps/mach/hurd/symlinkat.c: Likewise.
68316         Reported by Ludovic Courtès <ludo@gnu.org>.
68318 2012-04-24  Andreas Jaeger  <aj@suse.de>
68320         * Makerules (common-clean): Also remove gen-as-const-headers
68321         files.
68323 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
68325         * Makerules (native-compile): Do not change working directory for
68326         build.  Use $(OUTPUT_OPTION) in command.
68327         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
68329 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68331         [BZ #13886]
68332         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
68333         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
68334         * math/libm-test.inc (floor_test): Add more tests.
68335         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
68337 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
68339         * sysdeps/unix/getdents.c: Remove file.
68340         * sysdeps/unix/sysv/getdents.c: Likewise.
68341         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
68343         * sysdeps/unix/syscalls.list (madvise): Add syscall from
68344         sysdeps/unix/mman/syscalls.list.
68345         (mmap): Likewise.
68346         (mprotect): Likewise.
68347         (msync): Likewise.
68348         (munmap): Likewise.
68349         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
68350         * sysdeps/unix/mman/syscalls.list: Remove.
68351         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
68353         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
68354         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
68355         * configure: Regenerated.
68356         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
68357         $(libgcc_s_suffix).
68358         * config.make.in (libgcc_s_suffix): Remove variable.
68360 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
68362         * sysdeps/unix/sysv/gethostname.c: Move to ...
68363         * sysdeps/posix/gethostname.c: ... here.
68365         * sysdeps/unix/execve.S: Remove file.
68367         * sysdeps/unix/_exit.S: Remove file.
68369 2012-04-23  Andreas Jaeger  <aj@suse.de>
68371         [BZ #13739]
68372         * manual/Makefile: Remove make dist support, there's no
68373         need for a stand-alone documentation tar ball.
68374         (TEXI2DVI): Define always, it's not in Makeconfig.
68375         (dist): Removed.
68376         (tar-it): Removed.
68377         (edition): Removed.
68378         (glibc-doc-$(edition).tar): Removed
68379         (%.Z): Removed.
68380         (%.gz): Removed.
68381         (%.uu): Removed.
68382         (ETAGS): Remove, it's in Makeconfig.
68383         (move-if-change): Remove, it's in Makeconfig.
68385 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
68387         [BZ #13970]
68388         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
68389         (strtod, strtof, strtold, strtol, strtoul, strtoq)
68390         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
68391         (strtod_l, strtof_l, strtold_l): Remove __wur.
68392         It is not necessarily an error to ignore strtol's return value.
68393         One can reliably look at the stored endptr to decide whether
68394         the number had valid syntax.
68396 2012-04-21  Andreas Jaeger  <aj@suse.de>
68398         [BZ #13739]
68399         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
68401 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
68403         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
68404         * sysdeps/unix/sysv/Versions: Remove file.
68406 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
68408         [BZ #13927]
68409         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
68411 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
68413         [BZ #7064]
68414         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
68415         version from __vm86.
68417 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
68419         * sysdeps/unix/common/lxstat.c: Remove file.
68420         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
68422         * sysdeps/unix/sysv/Makefile: Remove file.
68424         * sysdeps/unix/sysv/direct.h: Remove file.
68426         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
68427         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
68428         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
68429         * sysdeps/unix/sysv/bits/signum.h: Likewise.
68430         * sysdeps/unix/sysv/bits/stat.h: Likewise.
68431         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
68432         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
68434         * sysdeps/unix/sysv/setrlimit.c: Remove file.
68436         * sysdeps/unix/xmknod.c: Remove file.
68437         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
68439         * sysdeps/unix/sysv/settimeofday.c: Remove file.
68441         * sysdeps/unix/sysv/i386/time.S: Remove file.
68443         * sysdeps/unix/fxstat.c: Remove file.
68444         * sysdeps/unix/xstat.c: Likewise.
68445         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
68447         * sysdeps/unix/sysv/sigaction.c: Remove file.
68449         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
68450         (sysdep_headers): Remove variable.
68451         [termio.h not in sysdep_headers] (generated): Likewise.
68452         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
68453         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
68454         * sysdeps/unix/sysv/tcdrain.c: Likewise.
68455         * sysdeps/unix/sysv/tcflow.c: Likewise.
68456         * sysdeps/unix/sysv/tcflush.c: Likewise.
68457         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
68458         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
68459         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
68460         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
68461         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
68463         * sysdeps/unix/siglist.c: Remove file.
68465         * sysdeps/unix/getppid.S: Remove file.
68467         * sysdeps/unix/mkdir.c: Remove file.
68468         * sysdeps/unix/rmdir.c: Likewise.
68470 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
68472         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
68473         ERR_MAX value.
68474         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
68475         errlist-compat value.
68477 2012-04-18  David S. Miller  <davem@davemloft.net>
68479         * sysdeps/generic/memcopy.h (reg_char): Delete.
68480         * debug/strcat_chk.c: Use char, not reg_char.
68481         * debug/strcpy_chk.c: Likewise.
68482         * debug/strncat_chk.c: Likewise.
68483         * debug/strncpy_chk.c: Likewise.
68484         * string/memchr.c: Likewise.
68485         * string/memrchr.c: Likewise.
68486         * string/rawmemchr.c: Likewise.
68487         * string/strcat.c: Likewise.
68488         * string/strchr.c: Likewise.
68489         * string/strchrnul.c: Likewise.
68490         * string/strcmp.c: Likewise.
68491         * string/strcpy.c: Likewise.
68492         * string/strncat.c: Likewise.
68493         * string/strncmp.c: Likewise.
68494         * string/strncpy.c: Likewise.
68496 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
68498         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
68499         __builtin_memcopy is called when src and dest ranges are known to not
68500         overlap.
68502 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
68504         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
68505         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
68506         fwd_align_merge macro call.
68507         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
68508         bwd_align_merge macro call.
68509         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
68511 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
68513         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
68514         bwd_align_merge macros.
68515         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
68516         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
68517         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
68519 2012-04-18  David S. Miller  <davem@davemloft.net>
68521         * sysdeps/sparc/sparc64/memcopy.h: Delete.
68523 2012-04-18  Andreas Jaeger  <aj@suse.de>
68525         [BZ# 6794]
68526         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
68527         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
68528         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
68530         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
68531         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
68532         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
68534         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
68535         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
68536         Adjust for changed ldbl-128 files.
68538         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
68539         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
68540         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
68542 2012-04-17  David S. Miller  <davem@davemloft.net>
68544         * sysdeps/sparc/sparc32/memcopy.h: Delete.
68546 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
68548         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
68549         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
68550         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
68551         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
68552         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
68553         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
68555 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68557         [BZ #6794]
68558         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
68559         * math/libm-test.inc: Add ilogb errno and exception tests.
68560         * math/w_ilogb.c: New file: ilogb wrapper.
68561         * math/w_ilogbf.c: New file: ilogbf wrapper.
68562         * math/w_ilogbl.c: New file: ilogbl wrapper.
68563         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
68564         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
68565         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
68566         exception being thrown with 0.0 as argument.
68567         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
68568         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
68569         exception being thrown with 0.0 as argument.
68570         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
68571         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
68572         exception being thrown with 0.0 as argument.
68573         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
68574         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
68575         exception being thrown with 0.0 as argument.
68576         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
68577         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
68578         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
68579         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
68580         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
68581         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
68582         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
68583         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
68584         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
68586 2012-04-17  Petr Baudis  <pasky@ucw.cz>
68588         * include/sys/uio.h: Change __vector to __iovec to avoid clash
68589         with altivec.
68591 2012-04-16  Marek Polacek  <polacek@redhat.com>
68593         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
68595 2012-04-16  Marek Polacek  <polacek@redhat.com>
68597         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
68598         operands of fdivp instruction.
68600 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
68602         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
68603         * elf/tst-auditmod3b.c: Likewise.
68604         * elf/tst-auditmod4b.c: Likewise.
68605         * elf/tst-auditmod5b.c: Likewise.
68606         * elf/tst-auditmod6b.c: Likewise.
68607         * elf/tst-auditmod6c.c: Likewise.
68608         * elf/tst-auditmod7b.c: Likewise.
68609         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
68610         * sysdeps/x86_64/preconfigure.in: Likewise.
68611         * sysdeps/x86_64/preconfigure: Regenerated.
68613 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
68615         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
68616         __ILP32__.
68618 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
68620         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
68621         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
68623 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
68625         [BZ #13973]
68626         * locale/iso-639.def: Fix gl language name. Spotted by
68627         Yaron Shahrabani.
68629 2012-04-12  Roland McGrath  <roland@hack.frob.com>
68631         [BZ #2074]
68632         * libio/libio.h (__io_write_fn): Update comment.
68634 2012-04-12  Petr Baudis  <pasky@ucw.cz>
68636         [BZ #2074]
68637         * stdio.texi (Hook Functions): The user provided writer function
68638         is not allowed to return -1.
68640 2012-04-11  David S. Miller  <davem@davemloft.net>
68642         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68644 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
68646         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
68647         Add a leading slash to rtkaio.
68649 2012-04-11  Jim Meyering  <meyering@redhat.com>
68651         [BZ #11959]
68652         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
68653         It is not necessarily an error to ignore fwrite's return
68654         value.  One can reliably use ferror to test for errors after
68655         the fact.
68657 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
68659         * bits/types.h (__snseconds_t): New type.
68660         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
68662         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
68663         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
68664         (__SNSECONDS_T_TYPE): Likewise.
68665         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
68666         (__SNSECONDS_T_TYPE): Likewise.
68667         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
68668         (__SNSECONDS_T_TYPE): Likewise.
68670 2012-04-10  Andreas Jaeger  <aj@suse.de>
68672         [BZ #2636]
68673         * manual/time.texi (Processor Time): Return type of times is
68674         elapsed real time since an arbitrary point in the past.
68675         (CPU Time): Move CLK_TCK from here...
68676         (Processor Time): ...to here.  Correct description.
68677         * manual/conf.texi (Constants for Sysconf): Correct description of
68678         _SC_CLK_TCK.
68680 2012-04-10  David S. Miller  <davem@davemloft.net>
68682         [BZ #13967]
68683         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
68684         where the is a gap between DT_REL(A) and DT_JMPREL.
68686 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
68688         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
68689         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
68690         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
68692 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
68694         * elf/dl-support.c (_dl_inhibit_cache): New variable.
68695         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
68696         (dl_main): Handle --inhibit-cache.
68697         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
68698         _dl_inhibit_cache.
68699         * elf/dl-load.c (_dl_map_object): Use it.
68700         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
68702 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
68704         [BZ #13872]
68705         * sysdeps/i386/fpu/e_powl.S (p78): New object.
68706         (__ieee754_powl): Saturate large exponents rather than testing for
68707         overflow of y*log2(x).
68708         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
68709         * math/libm-test.inc (pow_test): Do not permit spurious overflow
68710         exceptions.
68712         [BZ #11521]
68713         * math/s_ctan.c: Include <float.h>.
68714         (__ctan): Avoid internal overflow or cancellation in calculating
68715         denominator.
68716         * math/s_ctanf.c: Likewise.
68717         * math/s_ctanl.c: Likewise.
68718         * math/s_ctanh.c: Likewise.
68719         * math/s_ctanhf.c: Likewise.
68720         * math/s_ctanhl.c: Likewise.
68721         * math/libm-test.inc (ctan_test): Add more tests.
68722         (ctanh_test): Likewise.
68723         * sysdeps/i386/fpu/libm-test-ulps: Update.
68724         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68726 2012-04-09  Andreas Jaeger  <aj@suse.de>
68728         [BZ #6894]
68729         * manual/filesys.texi (Directory Entries): Mention that d_namlen
68730         is an optional BSD extension.
68732         [BZ #10254]
68733         * manual/stdio.texi (Opening Streams): Document additional fopen
68734         parameters.
68736 2012-04-09  Roland McGrath  <roland@hack.frob.com>
68738         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
68739         %eax without telling the compiler.
68741 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
68743         [BZ # 13963]
68744         * manual/install.texi: Use sourceware.org.
68746 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
68748         [BZ #13873]
68749         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
68750         (__ieee754_pow): Generate overflow and underflow using huge*huge
68751         and tiny*tiny rather than just returning constant infinity or zero
68752         for large exponents.
68753         * math/libm-test.inc (pow_test): Require overflow exceptions for
68754         applicable cases of large exponents.
68756         [BZ #706]
68757         * sysdeps/i386/fpu/e_pow.S (p10): New object.
68758         (__ieee754_pow): Use iterative multiplication algorithm only for
68759         integer exponents with absolute value below 1024.  Check for odd
68760         integer exponents when using algorithm for real exponents.
68761         * math/libm-test.inc (pow_test): Add more tests.
68762         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
68764 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
68766         [BZ #13705]
68767         * math/libm-test.inc (exp_test): Do not allow overflow exception
68768         on underflow test.
68770 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
68772         [BZ #13705]
68773         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
68774         instead of __kernel_standard_f.
68776 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
68778         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
68779         * sysdeps/x86_64/memset_chk.S: Likewise.
68781 2012-04-08  Andreas Jaeger  <aj@suse.de>
68783         [BZ #10153]
68784         * manual/startup.texi (Environment Access): Describe return value
68785         for putenv and setenv.
68787         [BZ #6895]
68788         * manual/filesys.texi (Directory Entries): Add description for
68789         DT_LNK.
68791         [BZ #6890]
68792         * manual/filesys.texi (Directory Entries): Clarify that it's file
68793         system not operating system in the description of DT_UNKNOWN.
68795         [BZ #6578]
68796         * manual/syslog.texi (closelog): Fix reference, it's openlog.
68798 2012-04-08  Stephen Compall  <s11@member.fsf.org>
68800         [BZ #6649]
68801         * manual/llio.texi (Opening and Closing Files): Add cross
68802         reference to explain mode argument.
68804 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
68806         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
68807         * sysdeps/x86_64/memset_chk.S: Likewise.
68809 2012-04-07  David S. Miller  <davem@davemloft.net>
68811         * elf/elf.h (R_SPARC_WDISP10): Define.
68812         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
68813         R_SPARC_SIZE32.
68814         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
68815         R_SPARC_SIZE64 and R_SPARC_H34.
68817 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
68819         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
68820         conditions and remove no longer applicable assertion.
68822 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
68824         * bits/byteswap.h: Include <features.h>.
68825         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
68826         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
68828 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
68830         * bits/byteswap.h (__bswap_16): Removed.
68831         Include <bits/byteswap-16.h> to get __bswap_16.
68832         * sysdeps/i386/bits/byteswap.h: Likewise.
68833         * sysdeps/s390/bits/byteswap.h: Likewise.
68834         * sysdeps/x86_64/bits/byteswap.h: Likewise.
68835         * bits/byteswap-16.h: New file.
68836         * sysdeps/i386/bits/byteswap-16.h: Likewise.
68837         * sysdeps/s390/bits/byteswap-16.h: Likewise.
68838         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
68839         * string/Makefile (headers): Add bits/byteswap-16.h.
68841 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
68843         [BZ #13895]
68844         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
68845         extra indirection.
68846         * nss/Makefile (tests-static, tests): Add tst-nss-static.
68847         * nss/tst-nss-static.c: New.
68849 2012-04-06  Robert Millan  <rmh@gnu.org>
68851         [BZ #6486]
68852         * manual/llio.texi (File Position Primitive): lseek
68853         refers to WHENCE when it really means OFFSET.
68855 2012-04-06  Andreas Jaeger  <aj@suse.de>
68857         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
68858         strncmp declarations.
68860         * abilist/libc.abilist: Add __poll and __ppoll.
68862 2012-04-05  David S. Miller  <davem@davemloft.net>
68864         * scripts/check-local-headers.sh: Accept a host triplet in the
68865         path matched by the exclude regexp.
68867         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
68868         definition.
68869         * sysdeps/powerpc/powerpc32/dl-machine.h
68870         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
68871         * sysdeps/s390/s390-32/dl-machine.h
68872         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
68873         * sysdeps/sparc/sparc32/dl-machine.h
68874         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
68875         * sysdeps/sparc/sparc64/dl-machine.h
68876         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
68878         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
68879         lazy binding.
68880         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
68881         undefined symbol errors.
68883         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
68884         DT_NEEDED entries.
68886 2012-04-05  Michael Matz  <matz@suse.de>
68888         [BZ #13592]
68889         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
68891 2012-04-05  Andreas Jaeger  <aj@suse.de>
68893         [BZ #13908]
68894         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
68895         comment.
68897 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
68899         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
68900         which ROUND is no valid rounding mode.
68902 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
68904         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
68905         read again.
68906         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
68908 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
68910         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
68911         an exception using FPU order intentionally.
68913 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
68915         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
68916         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
68917         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
68918         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
68920 2012-04-05  Simon Josefsson  <simon@josefsson.org>
68922         [BZ #12340]
68923         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
68924         EINVAL when BUFLEN is too smal.
68926 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
68928         [BZ #13553]
68929         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
68930         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
68932 2012-04-03  Andreas Jaeger  <aj@suse.de>
68934         [BZ #13938]
68935         * manual/setjmp.texi (System V contexts): Fix sentence.
68937         [BZ #13926]
68938         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
68939         New macro for this case.
68940         [!__GNUC__] (__bswap_64): New inline function for this case.
68941         * sysdeps/x86_64/bits/byteswap.h: Likewise.
68942         * bits/byteswap.h: Likewise.
68943         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
68944         ull, guard with __GLIBC_HAVE_LONG_LONG.
68946         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
68947         __GLIBC_HAVE_LONG_LONG.
68949         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
68950         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
68952 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
68954         [BZ #13691]
68955         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
68956         inptr and inend, rather than using last_ch.
68958 2012-04-02  David S. Miller  <davem@davemloft.net>
68960         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
68961         * stdio-common/printf-parse.h (read_int): Change return type to
68962         'int', return -1 on INT_MAX overflow.
68963         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
68964         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
68965         overflows INT_MAX.  Check for overflow of in-format-string precision
68966         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
68967         SIZE_MAX not INT_MAX for integer overflow test.
68968         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
68969         skip the construct in the format string but do not record anything.
68970         * stdio-common/bug22.c: Adjust to test both width/prevision
68971         INT_MAX overflow as well as total length INT_MAX overflow.  Check
68972         explicitly for proper errno values.
68974 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
68976         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
68977         CHAR_MAX.
68978         * string/test-strcmp.c [! WIDE]: Likewise.
68979         * time/tst-mktime2.c: Likewise for INT_MAX.
68980         * string/test-string.h: #include <sys/param.h> for MIN.
68982         * csu/init-first.c (__libc_init_first): Call __ctype_init.
68983         * sysdeps/i386/init-first.c (init): Likewise.
68984         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
68985         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
68986         * sysdeps/sh/init-first.c (init): Likewise.
68988 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
68990         * po/ru.po: Update from translation team.
68991         * po/vi.po: Likewise.
68993 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
68995         * resolv/nss_dns/dns-host.c: Merge copyright years.
68997 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68999         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
69000         Optimize memcpy with prefetch if
69001         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
69002         src, dst pointers have unequal 16 byte alignments.
69004 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
69006         [BZ #13928]
69007         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
69008         from a CNAME entry and return the minimum ttl for the query.
69009         (gaih_getanswer_slice): Likewise.
69011 2012-03-30  Jeff Law  <law@redhat.com>
69013         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
69014         due to long keys.
69015         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
69016         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
69018         * resolv/nss_dns/dns-host.c: Update copyright year.
69020 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
69022         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
69023         requests to save a system call.  Fix check that all bytes are sent.
69025         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
69026         comments for sendmmsg.
69028 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
69030         [BZ #13691]
69031         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
69032         with only 1 character between 0x0041 and 0x01b0.
69033         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
69034         * wcsmbs/tst-mbsnrtowcs.c: New file.
69036 2012-03-29  David S. Miller  <davem@davemloft.net>
69038         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
69039         small copies by hand.
69041 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
69043         [BZ #13761]
69044         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
69045         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
69046         group memberships.
69048 2012-03-28  David S. Miller  <davem@davemloft.net>
69050         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
69051         that branches into memcpy.
69052         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
69053         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
69054         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
69055         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
69056         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
69057         bits.
69058         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
69059         implementation too.
69060         * sysdeps/sparc/mempcpy.S: New file.
69062         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
69063         the IFUNC routine in the libc case.
69064         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
69066         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
69067         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
69068         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
69069         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
69070         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
69071         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
69072         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
69073         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
69075         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
69076         loop to 256 bytes instead of 64 bytes and fix test signedness.
69078         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
69079         * sysdeps/sparc/sparc32/Makefile: rather than here...
69080         * sysdeps/sparc/sparc64/Makefile: and here.
69082 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
69084         * malloc/mallocbug.c: Avoid warnings about unused variables.
69086 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
69088         [BZ #13760]
69089         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
69090         in the right place. Discard and retry query if response is
69091         larger than input buffer size.
69093 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
69095         [BZ #369]
69096         [BZ #2678]
69097         [BZ #3866]
69098         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
69099         x for large integer exponent.
69100         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
69101         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
69102         sign of result as needed afterwards.
69103         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
69104         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
69105         result for underflowing pow the same as for overflow.
69106         (__kernel_standard_l): Handle powl overflow and underflow here
69107         rather than calling __kernel_standard.
69108         * math/libm-test.inc (pow_test): Add more tests.
69110         [BZ #3868]
69111         [BZ #13879]
69112         [BZ #13910]
69113         [BZ #13911]
69114         [BZ #13912]
69115         [BZ #13913]
69116         [BZ #13915]
69117         [BZ #13916]
69118         [BZ #13917]
69119         [BZ #13918]
69120         [BZ #13919]
69121         [BZ #13920]
69122         [BZ #13921]
69123         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
69124         * sysdeps/ieee754/k_standard.c: Include <float.h>.
69125         (__kernel_standard_l): New function.
69126         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
69127         __kernel_standard.
69128         * math/w_acosl.c (__acosl): Likewise.
69129         * math/w_asinl.c (__asinl): Likewise.
69130         * math/w_atan2l.c (__atan2l): Likewise.
69131         * math/w_atanhl.c (__atanhl): Likewise.
69132         * math/w_coshl.c (__coshl): Likewise.
69133         * math/w_exp10l.c (__exp10l): Likewise.
69134         * math/w_exp2l.c (__exp2l): Likewise.
69135         * math/w_fmodl.c (__fmodl): Likewise.
69136         * math/w_hypotl.c (__hypotl): Likewise.
69137         * math/w_j0l.c (__j0l, __y0l): Likewise.
69138         * math/w_j1l.c (__j1l, __y1l): Likewise.
69139         * math/w_jnl.c (__jnl, __ynl): Likewise.
69140         * math/w_lgammal.c (__lgammal): Likewise.
69141         * math/w_log10l.c (__log10l): Likewise.
69142         * math/w_log2l.c (__log2l): Likewise.
69143         * math/w_logl.c (__logl): Likewise.
69144         * math/w_powl.c (__powl): Likewise.
69145         * math/w_remainderl.c (__remainderl): Likewise.
69146         * math/w_scalbl.c (sysv_scalbl): Likewise.
69147         * math/w_sinhl.c (__sinhl): Likewise.
69148         * math/w_sqrtl.c (__sqrtl): Likewise.
69149         * math/w_tgammal.c (__tgammal): Likewise.
69150         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
69151         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
69152         * math/libm-test.inc (acos_test): Add more tests.
69153         (acosh_test): Likewise.
69154         (asin_test): Likewise.
69155         (atanh_test): Likewise.
69156         (exp_test): Likewise.
69157         (exp10_test): Likewise.
69158         (exp2_test): Likewise.
69159         (expm1_test): Likewise.
69160         (lgamma_test): Likewise.
69161         (log_test): Likewise.
69162         (log10_test): Likewise.
69163         (log1p_test): Likewise.
69164         (log2_test): Likewise.
69165         (pow_test): Do not allow some spurious overflow exceptions.
69166         (sqrt_test): Add more tests.
69167         (tgamma_test): Likewise.
69168         (y0_test): Likewise.
69169         (y1_test): Likewise.
69170         (yn_test): Likewise.
69172 2012-03-27  Anton Blanchard  <anton@samba.org>
69174         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
69175         MAP_HUGETLB.
69176         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
69177         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
69178         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
69180 2012-03-27  David S. Miller  <davem@davemloft.net>
69182         * conform/Makefile: Run run-conformtest.sh using $(BASH).
69184         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
69185         have-as-vis3 check.
69187 2012-03-27  Andreas Jaeger  <aj@suse.de>
69189         * sysdeps/x86_64/elf/configure.in: Moved to ...
69190         * sysdeps/x86_64/configure.in: ... here.
69191         * sysdeps/x86_64/elf/start.S: Moved to ...
69192         * sysdeps/x86_64/start.S: ... here.
69193         * sysdeps/x86_64/elf/configure: Delete.
69195         * sysdeps/x86_64/configure.in: Merge contents from
69196         sysdeps/i386/configure.in (without i686 check).
69198         * sysdeps/i386/elf/Versions: Merge into ...
69199         * sysdeps/i386/Versions: ... this.
69200         * sysdeps/i386/elf/Versions: Delete file.
69201         * sysdeps/i386/elf/start.S: Moved to ...
69202         * sysdeps/i386/start.S: ...here.
69203         * sysdeps/i386/elf/configure.in: Merge into...
69204         * sysdeps/i386/configure.in: ...here.
69205         * sysdeps/i386/elf/configure.in: Delete file.
69206         * sysdeps/i386/elf/configure: Delete file.
69208         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
69209         * debug/backtracesyms.c: ... here.
69210         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
69211         * debug/backtracesymsfd.c: ... here.
69212         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
69213         * sysdeps/generic/ifunc-sel.h: ... here.
69215         * sysdeps/unix/i386/start.c: Delete file.
69216         * sysdeps/unix/sparc/start.c: Delete file.
69217         * sysdeps/unix/start.c: Delete file.
69219         * sysdeps/sh/elf/configure.in: Moved to ...
69220         * sysdeps/sh/configure.in: ... here.
69221         * sysdeps/sh/elf/start.S: Moved to ...
69222         * sysdeps/sh/start.S: ... here.
69223         * sysdeps/sh/elf/configure: Delete file.
69225         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
69226         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
69227         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
69228         * sysdeps/powerpc/powerpc64/entry.h: ... here.
69229         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
69230         * sysdeps/powerpc/powerpc64/start.S: here.
69231         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
69232         * sysdeps/powerpc/powerpc64/Makefile: ... this.
69233         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
69234         * sysdeps/powerpc/powerpc64/configure.in: ... this.
69235         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
69237         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
69238         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
69239         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
69240         * sysdeps/powerpc/powerpc32/start.S: ... here.
69241         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
69242         * sysdeps/powerpc/powerpc32/configure.in: ... this.
69243         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
69245         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
69246         * sysdeps/powerpc/ifunc-sel.h: ... here.
69247         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
69248         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
69250         * sysdeps/sparc/elf/configure.in: Moved to ...
69251         * sysdeps/sparc/configure.in: ... here.
69252         * sysdeps/sparc/elf/configure: Delete file.
69253         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
69254         * sysdeps/sparc/sparc32/start.S: ... here.
69255         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
69256         * sysdeps/sparc/sparc64/start.S: ... here.
69257         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
69258         * sysdeps/sparc/sparc32/Makefile: ... this.
69259         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
69260         * sysdeps/sparc/sparc64/Makefile: ... this.
69262         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
69263         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
69264         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
69265         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
69266         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
69267         * sysdeps/s390/s390-32/setjmp.S: ... here.
69268         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
69269         * sysdeps/s390/s390-32/configure.in: ... here.
69270         * sysdeps/s390/s390-32/elf/configure: Delete file.
69271         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
69272         * sysdeps/s390/s390-32/start.S: ... here.
69274         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
69275         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
69276         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
69277         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
69278         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
69279         * sysdeps/s390/s390-64/setjmp.S: ... here.
69280         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
69281         * sysdeps/s390/s390-64/configure.in: ... here
69282         * sysdeps/s390/s390-64/elf/configure: Delete file.
69283         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
69284         * sysdeps/s390/s390-64/start.S: ... here.
69285         * sysdeps/s390/s390-64/elf/configure: Delete.
69287         * configure.in: Remove support for elf directories in sysdeps.
69289         * configure: Regenerated.
69290         * sysdeps/i386/configure: Regenerated.
69291         * sysdeps/powerpc/powerpc32/configure: Regenerated.
69292         * sysdeps/powerpc/powerpc64/configure: Regenerated.
69293         * sysdeps/s390/s390-32/configure: Regenerated.
69294         * sysdeps/s390/s390-64/configure: Regenerated.
69295         * sysdeps/sh/configure: Regenerated.
69296         * sysdeps/sparc/configure: Regenerated.
69297         * sysdeps/x86_64/configure: Regenerated.
69299 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
69301         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69303         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
69304         denormal result into account.
69306 2012-03-25  Roland McGrath  <roland@hack.frob.com>
69308         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
69309         Reported by Allan McRae <allan@archlinux.org>.
69311 2012-03-23  Jeff Law  <law@redhat.com>
69313         * nss/getnssent.c (__nss_getent): Fix typo.
69315 2012-03-23  David S. Miller  <davem@davemloft.net>
69317         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69319 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
69321         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
69322         to pad to uint64_t for each field.
69323         (dl_tls_index): Replace unsigned long with uint64_t.
69325 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
69326         Paul Pluzhnikov  <ppluzhnikov@google.com>
69328         [BZ #6528]
69329         * grp/Makefile (otherlibs): Don't set it.
69330         * inet/Makefile (otherlibs): Likewise.
69331         * login/Makefile (otherlibs): Likewise.
69332         * nscd/Makefile (otherlibs): Likewise.
69333         * posix/Makefile (otherlibs): Likewise.
69334         * pwd/Makefile (otherlibs): Likewise.
69335         * rt/Makefile (otherlibs): Likewise.
69336         * sunrpc/Makefile (otherlibs): Likewise.
69337         * nss/Makefile (otherlibs): Likewise.
69338         Add libnss_files to routines and static-only-routines.
69339         ($(objpfx)getent): Remove rule.
69340         * resolv/Makefile: Add libnss_dns and libresolv to routines and
69341         static-only-routines.
69343 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
69345         [BZ #13892]
69346         * math/s_cexp.c: Include <float.h>.
69347         (__cexp): Handle exp result overflowing not necessarily
69348         overflowing both real and imaginary parts of result.
69349         * math/s_cexpf.c: Likewise.
69350         * math/s_cexpl.c: Likewise.
69351         * math/libm-test.inc (cexp_test): Add more tests.
69352         * sysdeps/i386/fpu/libm-test-ulps: Update.
69353         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69355 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
69357         * include/link.h (ELFW): New macro.
69358         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
69359         Replace ELF64_R_TYPE with ELFW(R_TYPE).
69361 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
69363         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
69364         with uint64_t.
69366 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
69368         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
69369         declaration.
69370         (struct La_x32_retval): Likewise.
69372 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
69374         * sysdeps/x86_64/preconfigure.in: New file.
69375         * sysdeps/x86_64/preconfigure: New generated file.
69377 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
69379         [BZ #13824]
69380         * math/e_exp2l.c: Include <float.h>.
69381         (__ieee754_exp2l): Handle overflow and underflow cases
69382         separately.  Only pass fractional part of argument to
69383         __ieee754_expl.
69384         * math/libm-test.inc (exp2_test): Add more tests.
69386         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
69387         negating x to take absolute value.
69388         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
69389         Likewise.
69390         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
69391         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
69392         Likewise.
69393         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
69394         computing low part if x was negated.
69395         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
69397 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
69399         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
69400         la_x32_gnu_pltexit.
69401         (pltexit): Cast int_retval to ptrdiff_t.
69402         * elf/tst-auditmod3b.c: Likewise.
69403         * elf/tst-auditmod4b.c: Likewise.
69404         * elf/tst-auditmod5b.c: Likewise.
69405         * elf/tst-auditmod6b.c: Likewise.
69406         * elf/tst-auditmod6c.c: Likewise.
69407         * elf/tst-auditmod7b.c: Likewise.
69409         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
69410         and x32_gnu_pltexit.
69412         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
69413         __ELF_NATIVE_CLASS.
69414         (La_x32_regs): New macro.
69415         (La_x32_retval): Likewise.
69416         (la_x32_gnu_pltenter): New function prototype.
69417         (la_x32_gnu_pltexit): Likewise.
69419 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
69421         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
69422         exponent.
69424         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69426         * configure.in (libc_cv_cc_nofma): Check for option to disable
69427         generation of FMA instructions.
69428         * configure: Regenerate.
69429         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
69430         * sysdeps/ieee754/dbl-64/Makefile: New file.
69431         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
69432         Remove brandred-fma4.
69433         (CFLAGS-brandred-fma4.c): Remove.
69434         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
69435         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
69436         define.
69437         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
69438         define.
69440 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
69442         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
69443         LLONG_MAX != LONG_MAX.
69444         (_itoa_word): Use _ITOA_WORD_TYPE on value.
69445         (_fitoa_word): Likewise.
69446         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
69447         LLONG_MAX != LONG_MAX.
69448         * stdio-common/_itowa.h: Include <_itoa.h>.
69449         (_itowa_word): Use _ITOA_WORD_TYPE on value.
69450         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
69451         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
69452         only if not defined.
69453         (_ITOA_WORD_TYPE): Likewise.
69454         (_itoa_word): Use _ITOA_WORD_TYPE on value.
69455         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
69457 2012-03-21  David S. Miller  <davem@davemloft.net>
69459         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69461 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
69463         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
69464         of x86_64 when setting libc_cv_slibdir, libdir and
69465         libc_cv_localedir.
69466         * sysdeps/unix/sysv/linux/configure: Regenerated.
69468 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
69470         * manual/lang.texi (Old Varargs): Remove section.
69471         (How Variadic): Update menu.
69472         (va_start): Do not mention varargs.h.
69474 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
69475             Joseph Myers  <joseph@codesourcery.com>
69477         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
69478         link test.
69479         * configure: Regenerated.
69481 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
69483         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
69484         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
69485         conformtest.pl
69487 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
69489         * NOTES: Remove.
69490         * Makefile (files-for-dist): Remove NOTES.
69491         (NOTES): Remove rule.
69492         * README: Don't refer to NOTES.
69493         * manual/creature.texi: Don't include macros.texi.
69494         * manual/intro.texi (creature.texi): Remove comment referring to
69495         NOTES.
69497         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
69498         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
69499         * configure: Regenerated.
69500         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
69501         LIBC_TRY_CC_OPTION.
69502         (libc_cv_as_i686): Likewise.
69503         (libc_cv_cc_avx): Likewise.
69504         (libc_cv_cc_sse2avx): Likewise.
69505         (libc_cv_cc_fma4): Likewise.
69506         (libc_cv_cc_novzeroupper): Likewise.
69507         * sysdeps/i386/configure: Regenerated.
69509         [BZ #13883]
69510         * sysdeps/i386/fpu/s_cexp.S: Remove.
69511         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
69512         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
69513         * math/libm-test.inc (cexp_test): Add more tests.
69514         * sysdeps/i386/fpu/libm-test-ulps: Update.
69515         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69517 2012-03-21  Allan McRae  <allan@archlinux.org>
69519         * timezone/Makefile: Do not install iso3166.tab and zone.tab
69521 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
69523         [BZ #13871]
69524         * math/w_exp2.c: Do not include <float.h>.
69525         (o_threshold, u_threshold): Remove.
69526         (__exp2): Calculate result before checking finiteness and calling
69527         __kernel_standard.
69528         * math/w_exp2f.c: Likewise.
69529         * math/w_exp2l.c: Likewise.
69530         * math/libm-test.inc (exp2_test): Require overflow exception for
69531         1e6 input.
69533         [BZ #3866]
69534         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
69535         range of signed 64-bit integers before using fistpll.  Remove
69536         checks for whether integers fit in mantissa bits.
69537         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
69538         the range of signed 32-bit integers before using fistpl.  Remove
69539         checks for whether integers fit in mantissa bits.
69540         * sysdeps/i386/fpu/e_powl.S (p64): New object.
69541         (__ieee754_powl): Test for y outside the range of signed 64-bit
69542         integers before using fistpll.  Reduce 64-bit values to 63-bit
69543         ones as needed.
69544         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
69545         divide-by-zero is raised for zero to large negative powers.
69546         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
69547         (__ieee754_powl): Test for y outside the range of signed 64-bit
69548         integers before using fistpll.  Reduce 64-bit values to 63-bit
69549         ones as needed.
69550         * math/libm-test.inc (pow_test): Add more tests.
69552 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
69554         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
69555         <stdio-common/_itoa.h>.
69556         * debug/segfault.c: Likewise.
69557         * elf/dl-cache.c: Likewise.
69558         * elf/dl-minimal.c: Likewise.
69559         * elf/dl-misc.c: Likewise.
69560         * elf/dl-sysdep.c: Likewise.
69561         * elf/dl-version.c: Likewise.
69562         * elf/rtld.c: Likewise.
69563         * hurd/hurdsock.c: Likewise.
69564         * hurd/lookup-retry.c: Likewise.
69565         * malloc/malloc.c: Likewise.
69566         * malloc/mtrace.c: Likewise.
69567         * nscd/nscd_getgr_r.c: Likewise.
69568         * nscd/nscd_getpw_r.c: Likewise.
69569         * nscd/nscd_getserv_r.c: Likewise.
69570         * posix/getopt_init.c: Likewise.
69571         * posix/wordexp.c: Likewise.
69572         * stdio-common/_itoa.c: Likewise.
69573         * stdio-common/printf_fphex.c: Likewise.
69574         * stdio-common/vfprintf.c: Likewise.
69575         * string/_strerror.c: Likewise.
69576         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
69577         * sysdeps/i386/i686/hp-timing.h: Likewise.
69578         * sysdeps/mach/_strerror.c: Likewise.
69579         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
69580         * sysdeps/mach/hurd/sethostid.c: Likewise.
69581         * sysdeps/mach/hurd/xmknodat.c: Likewise.
69582         * sysdeps/mach/xpg-strerror.c: Likewise.
69583         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
69584         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
69585         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
69586         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
69587         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
69588         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
69589         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
69590         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
69591         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
69592         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
69593         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
69594         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
69595         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
69596         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
69597         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
69598         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
69599         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
69600         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
69601         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
69602         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
69603         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
69605         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
69607         * stdio-common/_itoa.h: Moved to ...
69608         * sysdeps/generic/_itoa.h: Here.
69610         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
69612         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
69613         instead of "_itoa.h" and "_itowa.h".
69614         * stdio-common/vfprintf.: Likewise.
69616 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
69618         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
69619         <bits/wordsize.h>.
69620         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
69621         (__signbit): Likwise.
69622         (llrintf): Likwise.
69623         (llrint): Likwise.
69625 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
69627         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
69628         __WORDSIZE != 64.
69630 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
69632         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
69633         OVERFLOW_EXCEPTION_OK.
69634         * math/libm-test.inc ("Philosophy"): Update comment about
69635         exception testing.
69636         (OVERFLOW_EXCEPTION): Define.
69637         (OVERFLOW_EXCEPTION_OK): Likewise.
69638         (INVALID_EXCEPTION_OK): Renumber.
69639         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
69640         (IGNORE_ZERO_INF_SIGN): Likewise.
69641         (test_exceptions): Handle FE_OVERFLOW.
69642         (exp10_test): Expect overflow exceptions.
69643         (exp2_test): Likewise.
69644         (expm1_test): Likewise.
69645         (nextafter_test): Likewise.
69646         (pow_test): Likewise.
69647         (scalbn_test): Likewise.
69648         (scalbln_test): Likewise.
69650 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
69652         * sysdeps/x86_64/bits/atomic.h
69653         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
69654         64bit integer.
69655         (atomic_exchange_acq): Likewise.
69656         (__arch_exchange_and_add_body): Likewise.
69657         (__arch_add_body): Likewise.
69658         (atomic_add_negative): Likewise.
69659         (atomic_add_zero): Likewise.
69661 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
69663         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
69664         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
69666 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
69668         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
69669         Check __x86_64__ instead of __WORDSIZE.
69671 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
69673         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
69675 2012-03-19  David S. Miller  <davem@davemloft.net>
69677         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69679         * sysdeps/sparc/fpu/fenv_private.h: New file.
69680         * sysdeps/sparc/fpu/math_private.h: Use it.
69681         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
69682         Remove.
69683         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
69684         (libc_feholdexcept_setroundl): Remove.
69685         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
69686         Remove.
69687         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
69688         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
69690 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
69692         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
69693         int64_t instead of long int.
69694         (INSERT_WORDS64): Likwise.
69696 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
69698         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
69699         _Unwind_GetCFA return to _Unwind_Ptr first.
69701 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
69703         [BZ #13629]
69704         * math/s_clog.c: Include <float.h>.
69705         (__clog): Scale large or subnormal inputs.
69706         * math/s_clogf.c: Likewise.
69707         * math/s_clogl.c: Likewise.
69708         * math/s_clog10.c: Include <float.h>.
69709         (M_LOG10_2): Define.
69710         (__clog10): Scale large or subnormal inputs.
69711         * math/s_clog10f.c: Likewise.
69712         * math/s_clog10l.c: Likewise.
69713         * math/libm-test.inc (clog_test): Add more tests.
69714         (clog10_test): Likewise.
69715         * sysdeps/i386/fpu/libm-test-ulps: Update.
69716         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69718         [BZ #11451]
69719         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
69720         x and y.
69721         * math/libm-test.inc (atan2_test): Add another test.
69723         * Makerules (common-objdir-compile): Remove.
69724         * sysdeps/unix/Makefile (config-generated): Do not add
69725         $(unix-generated) to variable.
69726         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
69727         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
69728         Remove rule.
69729         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
69730         Likewise.
69731         [generic bits/local_lim.h] (before-compile): Do not append to
69732         variable.
69733         [generic bits/local_lim.h] (common-generated): Likewise.
69734         [generic sys/param.h] (before-compile): Do not append to variable.
69735         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
69736         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
69737         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
69738         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
69739         include.
69740         [generic sys/param.h] (sys/param.h-includes): Remove variable.
69741         [generic sys/param.h] (sys/param.h-includes): Remove rule.
69742         [generic sys/param.h] ($(addprefix
69743         $(common-objpfx),$(sys/param.h-includes))): Likewise.
69744         [generic sys/param.h] (common-generated): Do not append to
69745         variable.
69746         [generic sys/param.h] (sysdep_headers): Likewise.
69747         [generic bits/errno.h] (before-compile): Do not append to
69748         variable.
69749         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
69750         rule.
69751         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
69752         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
69753         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
69754         [generic bits/errno.h] (common-generated): Do not append to
69755         variable.
69756         [generic bits/ioctls.h] (before-compile): Do not append to
69757         variable.
69758         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
69759         rule.
69760         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
69761         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
69762         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
69763         rule.
69764         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
69765         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
69766         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
69767         [generic bits/ioctls.h] (common-generated): Do not append to
69768         variable.
69769         [generic sys/syscall.h] (syscall.h): Remove variable.
69770         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
69771         rule.
69772         [generic sys/syscall.h] (before-compile): Do not append to
69773         variable.
69774         [generic sys/syscall.h] (common-generated): Likewise.
69775         * sysdeps/unix/errnos-tmpl.c: Remove file.
69776         * sysdeps/unix/errnos.awk: Likewise.
69777         * sysdeps/unix/ioctls-tmpl.c: Likewise.
69778         * sysdeps/unix/ioctls.awk: Likewise.
69779         * sysdeps/unix/mk-local_lim.c: Likewise.
69780         * sysdeps/unix/snarf-ioctls: Likewise.
69782 2012-03-19  Richard Henderson  <rth@twiddle.net>
69784         * sysdeps/i386/fpu/fenv_private.h: New file.
69785         * sysdeps/i386/fpu/math_private.h: Use it.
69786         (math_opt_barrier, math_force_eval): Remove.
69787         (libc_feholdexcept_setround_53bit): Remove.
69788         (libc_feupdateenv_53bit): Remove.
69789         * sysdeps/x86_64/fpu/math_private.h: Likewise.
69790         (math_opt_barrier, math_force_eval): Remove.
69791         (libc_feholdexcept): Remove.
69792         (libc_feholdexcept_setround): Remove.
69793         (libc_fetestexcept, libc_fesetenv): Remove.
69794         (libc_feupdateenv_test): Remove.
69795         (libc_feupdateenv, libc_feholdsetround): Remove.
69796         (libc_feresetround): Remove.
69798         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
69799         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
69801         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
69802         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
69803         (libc_feupdateenv_testl): New.
69804         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
69805         (libc_feupdateenv_testf): New.
69806         (libc_feupdateenv): Use libc_feupdateenv_test.
69807         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
69808         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
69810         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
69811         (libc_feholdsetroundf, libc_feholdsetroundl): New.
69812         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
69813         (libc_feresetround_noex): New.
69814         (libc_feresetround_noexf): New.
69815         (libc_feresetround_noexl): New.
69816         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
69817         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
69818         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
69819         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
69820         SET_RESTORE_ROUND.
69821         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
69822         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
69823         (__cos): Likewise.
69824         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
69825         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
69826         SET_RESTORE_ROUND_NOEX.
69827         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
69828         SET_RESTORE_ROUND_NOEXF.
69829         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
69830         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
69831         (libc_feholdsetroundf): New.
69832         (libc_feresetround, libc_feresetroundf): New.
69834         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
69835         (libc_feholdexcept_setround_53bit): Convert from macro to function.
69836         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
69838         * sysdeps/generic/math_private.h: Include <fenv.h>.
69839         (default_libc_feholdexcept): New.
69840         (default_libc_feholdexcept_setround): New.
69841         (default_libc_fesetenv, default_libc_feupdateenv): New.
69842         (libc_feholdexcept): Only define if undefined.
69843         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
69844         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
69845         (libc_feholdexcept_setroundl): Likewise.
69846         (libc_feholdexcept_setround_53bit): Likewise.
69847         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
69848         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
69849         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
69850         (libc_feupdateenv_53bit): Likewise.
69851         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
69852         (libc_feholdexcept): Convert from macro to inline function.
69853         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
69854         (libc_fesetenv, libc_feupdateenv): Likewise.
69856         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
69857         not previously defined.
69858         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
69859         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
69860         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
69861         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
69862         * sysdeps/ieee754/flt-32/math_private.h: New file.
69863         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
69864         math_private.h below SET_FLOAT_WORD.
69865         (__isnan, __isinf_ns, __finite): Remove.
69866         (__isnanf, __isinf_nsf, __finitef): Remove.
69868 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
69870         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69872 2012-03-17  David S. Miller  <davem@davemloft.net>
69874         [BZ #6471]
69875         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
69876         for 2.16.
69878 2012-03-16  David S. Miller  <davem@davemloft.net>
69880         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
69881         warnings.
69883         [BZ #6471]
69884         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
69885         properly.
69886         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
69887         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
69888         sysdep_routines when subdir is sysvipc.
69889         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
69890         __getshmlba helper.
69892         * sysdeps/sparc/fpu/libm-test/ulps: Update.
69894 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
69896         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
69897         [__LP64__].
69899 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
69901         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
69902         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
69903         (__lround): Renamed to ...
69904         (__llround): This.  Replace long int with long long int.
69905         Define lround functions as aliases of llround functions.
69906         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
69908 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
69910         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
69911         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
69912         adresses to uintptr_t.  Replace "long int" and "unsigned long
69913         int" with "greg_t" on va_arg.
69915 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
69917         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
69918         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
69920         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
69921         Move e_machine check before EI_CLASS check.  Handle x32
69922         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
69923         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
69924         SKIP_EM_IA_64 and include
69925         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
69927         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
69928         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
69929         (add_system_dir): New macro.
69931         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
69932         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
69934 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
69936         [BZ #2551]
69937         [BZ #2552]
69938         [BZ #2553]
69939         [BZ #2554]
69940         [BZ #2562]
69941         [BZ #2563]
69942         [BZ #2565]
69943         [BZ #2566]
69944         [BZ #2576]
69945         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
69946         (y0): Likewise.
69947         * math/w_j0f.c (j0f): Likewise.
69948         (y0f): Likewise.
69949         * math/w_j0l.c (__j0l): Likewise.
69950         (__y0l): Likewise.
69951         * math/w_j1.c (j1): Likewise.
69952         (y1): Likewise.
69953         * math/w_j1f.c (j1f): Likewise.
69954         (y1f): Likewise.
69955         * math/w_j1l.c (__j1l): Likewise.
69956         (__y1l): Likewise.
69957         * math/w_jn.c (jn): Likewise.
69958         (yn): Likewise.
69959         * math/w_jnf.c (jnf): Likewise.
69960         (ynf): Likewise.
69961         * math/w_jnl.c (__jnl): Likewise.
69962         (__ynl): Likewise.
69963         * math/libm-test.inc (j0_test): Add more tests.
69964         (j1_test): Likewise.
69965         (jn_test): Likewise.  Add trailing semicolon to existing test.
69966         (y0_test): Likewise.
69967         (y1_test): Likewise.
69968         * sysdeps/i386/fpu/libm-test-ulps: Update.
69969         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69971         [BZ #13851]
69972         [BZ #13854]
69973         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
69974         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
69975         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
69976         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
69977         (__tanl): Set errno for infinite argument.
69978         * sysdeps/i386/fpu/mptan.c: Remove.
69979         * sysdeps/i386/fpu/s_tan.S: Likewise.
69980         * sysdeps/i386/fpu/s_tanl.S: Likewise.
69981         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
69982         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
69983         * math/libm-test.inc (tan_test): Add more tests and enable more
69984         tests for double and long double.
69985         * sysdeps/i386/fpu/libm-test-ulps: Update.
69986         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69988 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
69990         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
69991         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
69993 2012-03-16  Roland McGrath  <roland@hack.frob.com>
69995         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
69996         * configure.in: Use it for both main tree and add-ons.
69997         * configure: Regenerated.
69999 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
70001         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
70003 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
70005         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
70006         in comment.
70008         [BZ #13851]
70009         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
70010         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
70011         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
70012         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
70013         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
70014         infinite argument.
70015         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
70016         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
70017         != 0 for prec == 2.
70018         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
70019         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
70020         * sysdeps/i386/fpu/s_cosl.S: Likewise.
70021         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
70022         * sysdeps/i386/fpu/s_sinl.S: Likewise.
70023         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
70024         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
70025         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
70026         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
70027         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
70028         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
70029         * math/libm-test.inc (cos_test): Add more tests and enable more
70030         tests for long double.
70031         (sin_test): Likewise.
70032         (sincos_test): Likewise.
70033         * sysdeps/i386/fpu/libm-test-ulps: Update.
70034         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70036 2012-03-16  David S. Miller  <davem@davemloft.net>
70038         * sysdeps/sparc/fpu/math_private.h: New file.
70040 2012-03-15  David S. Miller  <davem@davemloft.net>
70042         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
70043         file.
70044         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
70045         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
70046         file.
70047         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
70048         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
70049         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
70050         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
70051         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
70052         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
70053         sysdep routines.
70054         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
70056         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
70057         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
70059         * sysdeps/sparc/sparc-ifunc.h: New file.
70060         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
70061         sparc-ifunc.h
70062         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
70063         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
70064         Likewise.
70065         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
70066         Likewise.
70067         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
70068         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
70069         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
70070         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
70071         Likewise.
70072         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
70073         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
70074         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
70075         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
70076         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
70077         Likewise.
70078         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
70079         Likewise.
70080         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
70081         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
70082         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
70083         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
70084         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
70085         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
70086         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
70087         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
70088         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
70089         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
70090         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
70091         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
70092         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
70093         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
70094         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
70095         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
70096         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
70097         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
70098         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
70099         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
70100         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
70101         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
70102         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
70103         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
70105 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
70107         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
70108         scaling.
70109         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70111 2012-03-15  Andreas Jaeger  <aj@suse.de>
70113         [BZ #13852]
70114         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
70115         ieee754/flt-32 implementation for sin, cos and sincos.
70116         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
70117         * sysdeps/i386/fpu/s_cosf.S: Likewise.
70118         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
70119         * sysdeps/i386/fpu/s_sinf.S: Likewise.
70120         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
70121         ieee754/flt-32 implementation for tan.
70123         * math/libm-test.inc (cos_test): Enable some large input tests for
70124         float as well
70125         (sin_test): Likewise.
70126         (sincos_test): Likewise.
70127         (tan_test): Add tests for large input.
70129         * sysdeps/i386/fpu/libm-test-ulps: Update.
70131 2012-03-15  Andreas Jaeger  <aj@suse.de>
70133         [BZ #13658]
70134         * math/libm-test.inc (cos_test): Add more test cases.
70135         (sin_test): Likewise.
70136         (sincos_test): Likewise.
70138 2012-03-15  Andreas Jaeger  <aj@suse.de>
70140         [BZ #13837]
70141         * math/libm-test.inc (cos_test): Add a test case for large input
70142         value.
70143         (sin_test): Likewise.
70144         (sincos_test): Likewise.
70146 2012-03-15  Andreas Jaeger  <aj@suse.de>
70147             Joseph Myers  <joseph@codesourcery.com>
70149         [BZ #13658]
70150         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
70151         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
70152         * sysdeps/i386/fpu/branred.c: Likewise.
70153         * sysdeps/i386/fpu/dosincos.c: Likewise.
70154         * sysdeps/i386/fpu/mpa.c: Likewise.
70155         * sysdeps/i386/fpu/s_cos.S: Likewise.
70156         * sysdeps/i386/fpu/s_sin.S: Likewise.
70157         * sysdeps/i386/fpu/s_sincos.S: Likewise.
70158         * sysdeps/i386/fpu/sincos32.c: Likewise.
70160         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
70161         Define.
70162         (libc_feupdateenv_53bit): Define.
70163         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
70164         Define.
70165         (libc_feupdateenv_53bit): Define.
70167         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
70168         53 bit (without extend i386 double precision).
70170         * math/libm-test.inc (sincos_test): Add tests for large input.
70171         (sin): Likewise.
70172         (cos): Likewise.
70174         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
70176 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
70178         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70180 2012-03-15  David S. Miller  <davem@davemloft.net>
70182         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
70183         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
70184         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
70185         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
70186         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
70187         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
70188         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
70189         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
70190         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
70191         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
70192         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
70193         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
70194         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
70195         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
70196         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
70197         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
70198         file.
70199         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
70200         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
70201         file.
70202         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
70203         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
70204         file.
70205         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
70206         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
70207         file.
70208         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
70209         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
70210         fmin/fmax sysdep routines.
70211         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
70213 2012-03-14  David S. Miller  <davem@davemloft.net>
70215         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
70216         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
70217         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
70218         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
70219         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
70220         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
70221         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
70222         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
70223         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
70224         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
70225         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
70226         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
70227         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
70228         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
70229         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
70230         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
70231         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
70232         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
70233         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
70234         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
70235         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
70236         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
70237         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
70238         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
70239         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
70240         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
70241         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
70242         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
70243         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
70244         routines.
70245         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
70246         file.
70247         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
70248         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
70249         file.
70250         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
70251         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
70252         file.
70253         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
70254         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
70255         file.
70256         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
70257         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
70258         file.
70259         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
70260         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
70261         file.
70262         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
70263         file.
70264         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
70265         file.
70266         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
70267         file.
70268         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
70269         New file.
70270         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
70271         file.
70272         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
70273         file.
70274         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
70275         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
70276         file.
70277         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
70278         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
70279         file.
70280         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
70281         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
70282         file.
70283         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
70284         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
70285         VIS3 routines.
70287         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
70288         New file.
70290         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70292         * sysdeps/sparc/configure.in: New file.
70293         * sysdeps/sparc/configure: Generate.
70294         * configure.in (libc_cv_sparc_as_vis3): Substitute.
70295         * configure: Regenerate.
70296         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
70297         * config.make.in (have-as-vis3): New.
70298         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
70299         available use -Av9d instead of -Av9a.
70300         * sysdeps/sparc/sparc64/Makefile: Likewise.
70301         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
70302         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
70303         New file.
70304         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
70305         file.
70306         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
70307         New file.
70308         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
70309         file.
70310         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
70311         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
70312         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
70313         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
70314         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
70316         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
70317         fzeros/fnegs to load 0x80000000 into a float register instead of
70318         using the stack.
70319         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
70321 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
70323         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
70324         bits/syscall.h.
70325         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
70326         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
70327         ($(inst_includedir)/bits/syscall.h): Remove rule.
70328         ($(objpfx)bits/syscall.d): Include instead of
70329         $(objpfx)syscall-list.d.
70330         (generated): Change syscall-list.h and syscall-list.d to
70331         bits/syscall.h and bits/syscall.d.
70333 2012-03-14  Roland McGrath  <roland@hack.frob.com>
70335         [BZ #13846]
70336         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
70338 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
70340         [BZ #13841]
70341         * math/s_csqrt.c: Include <float.h>.
70342         (__csqrt): Scale large or subnormal inputs.
70343         * math/s_csqrtf.c: Likewise.
70344         * math/s_csqrtl.c: Likewise.
70345         * math/libm-test.inc (csqrt_test): Add more tests.
70346         * sysdeps/i386/fpu/libm-test-ulps: Update.
70347         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70349         [BZ #13840]
70350         * math/libm-test.inc (hypot_test): Add more tests.
70352 2012-03-13  David S. Miller  <davem@davemloft.net>
70354         [BZ #13840]
70355         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
70356         double-precision for the calculation instead of scaling.
70358 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
70360         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
70361         manipulate bits before adding and subtracting TWO52[sx].
70362         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
70363         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
70364         Likewise.
70365         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
70367 2012-03-13  David S. Miller  <davem@davemloft.net>
70369         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
70370         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
70371         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
70372         rtld-global-offsets.h
70373         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
70375         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
70376         large parameters.
70378         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
70380         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
70381         'err' in the ifdef scope in which it is actually used.
70383         * nss/nss_db/db-init.c: Include string.h
70385 2012-03-12  David S. Miller  <davem@davemloft.net>
70387         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
70388         masking out of the most significant byte of random value used.
70389         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
70390         Fix coding style in previous change.
70392         * sysdeps/unix/sysv/linux/kernel-features.h
70393         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
70394         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
70395         expression.
70396         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
70397         later.
70399 2012-03-11  David S. Miller  <davem@davemloft.net>
70401         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
70402         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
70403         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
70404         for 'resultvar' otherwise things get truncated on 64-bit.
70406         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
70407         Fix masking out of the most significant byte of random value used.
70409         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70411 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
70413         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70415 2012-03-09  David S. Miller  <davem@davemloft.net>
70417         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
70418         variables with appropriate CPP guards.
70419         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
70420         from the frame pointer, not the stack pointer.  Correct layout
70421         comments.  Fix test on resulting framesize and the management of
70422         the outregs buffer for pltexit.  Preserve floating point return
70423         values across _dl_call_pltexit call.
70424         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
70425         framesize and the management of the outregs buffer for pltexit.
70426         Preserve floating point return values across _dl_call_pltexit
70427         call.
70428         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
70429         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
70430         (la_sparc64_gnu_pltexit): New functions.
70431         (print_exit): Fix format string for return register value.
70433 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
70435         * sunrpc/Makefile (others): Add rpcgen.
70436         ($(objpfx)rpcgen): Remove special build rule and dependency on
70437         libc.
70438         * sunrpc/rpcgen.c: New file.
70440 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
70442         [BZ #13673]
70443         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
70444         * stdio-common/bug-vfprintf-nargs.c: Likewise.
70445         * sysdeps/i386/crti.S: Likewise.
70446         * sysdeps/i386/crtn.S: Likewise.
70447         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
70448         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
70449         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
70450         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
70451         * sysdeps/sh/crti.S: Likewise.
70452         * sysdeps/sh/crtn.S: Likewise.
70453         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
70455         [BZ #13673]
70456         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
70457         with URL.
70458         * locale/programs/locfile-kw.gperf: Likewise.
70459         * locale/programs/charmap-kw.h: Regenerated.
70460         * locale/programs/locfile-kw.h: Likewise.
70462         [BZ #13673]
70463         * intl/plural.y: Replace FSF snail mail address with URL.
70464         * intl/plural.c: Regenerated.
70466 2012-03-09  Richard Henderson  <rth@twiddle.net>
70468         * include/math_private.h: Remove file.
70469         * math/math_private.h: Move file ...
70470         * sysdeps/generic/math_private.h: ... here.
70472         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
70473         * sysdeps/powerpc/fpu/math_private.h: Likewise.
70474         * sysdeps/x86_64/fpu/math_private.h: Likewise.
70476         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
70477         and <math_private.h>.
70478         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
70479         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
70480         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
70481         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
70482         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
70483         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
70484         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
70485         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
70486         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
70487         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
70488         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
70489         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
70490         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
70491         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
70492         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
70493         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
70494         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
70495         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
70496         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
70497         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
70498         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
70499         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
70500         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
70501         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
70502         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
70503         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
70504         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
70505         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
70506         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
70507         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
70508         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
70509         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
70510         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
70511         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
70512         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
70513         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
70514         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
70515         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
70516         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
70517         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
70518         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
70519         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
70520         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
70521         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
70522         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
70523         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
70524         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
70525         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
70526         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
70527         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
70528         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
70529         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
70530         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
70531         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
70532         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
70533         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
70534         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
70535         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
70536         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
70537         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
70538         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
70539         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
70540         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
70541         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
70542         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
70543         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
70544         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
70545         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
70546         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
70547         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
70548         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
70549         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
70550         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
70551         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
70552         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
70553         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
70554         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
70555         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
70556         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
70557         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
70558         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
70559         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
70560         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
70561         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
70562         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
70563         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
70564         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
70565         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
70566         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
70567         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
70568         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
70569         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
70570         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
70571         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
70572         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
70573         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
70574         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
70575         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
70576         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
70577         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
70578         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
70579         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
70580         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
70581         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
70582         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
70583         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
70584         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
70585         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
70586         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
70587         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
70588         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
70589         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
70590         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
70591         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
70592         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
70593         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
70594         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
70595         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
70596         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
70597         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
70598         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
70599         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
70600         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
70601         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
70602         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
70603         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
70604         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
70605         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
70606         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
70607         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
70608         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
70609         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
70610         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
70611         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
70612         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
70613         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
70614         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
70615         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
70616         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
70617         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
70618         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
70619         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
70620         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
70621         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
70622         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
70623         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
70624         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
70625         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
70626         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
70627         * sysdeps/ieee754/k_standard.c: Likewise.
70628         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
70629         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
70630         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
70631         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
70632         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
70633         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
70634         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
70635         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
70636         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
70637         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
70638         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
70639         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
70640         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
70641         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
70642         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
70643         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
70644         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
70645         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
70646         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
70647         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
70648         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
70649         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
70650         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
70651         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
70652         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
70653         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
70654         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
70655         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
70656         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
70657         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
70658         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
70659         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
70660         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
70661         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
70662         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
70663         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
70664         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
70665         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
70666         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
70667         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
70668         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
70669         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
70670         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
70671         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
70672         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
70673         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
70674         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
70675         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
70676         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
70677         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
70678         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
70679         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
70680         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
70681         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
70682         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
70683         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
70684         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
70685         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
70686         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
70687         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
70688         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
70689         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
70690         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
70691         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
70692         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
70693         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
70694         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
70695         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
70696         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
70697         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
70698         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
70699         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
70700         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
70701         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
70702         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
70703         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
70704         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
70705         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
70706         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
70707         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
70708         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
70709         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
70710         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
70711         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
70712         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
70713         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
70714         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
70715         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
70716         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
70717         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
70718         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
70719         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
70720         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
70721         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
70722         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
70723         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
70724         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
70725         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
70726         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
70727         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
70728         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
70729         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
70730         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
70731         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
70732         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
70733         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
70734         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
70735         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
70736         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
70737         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
70738         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
70739         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
70740         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
70741         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
70742         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
70743         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
70744         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
70745         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
70746         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
70747         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
70748         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
70749         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
70750         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
70751         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
70752         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
70753         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
70754         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
70755         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
70756         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
70757         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
70758         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
70759         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
70760         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
70761         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
70762         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
70763         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
70764         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
70765         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
70766         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
70767         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
70768         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
70769         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
70770         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
70771         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
70772         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
70773         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
70774         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
70775         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
70776         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
70777         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
70778         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
70779         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
70780         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
70781         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
70782         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
70783         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
70784         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
70785         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
70786         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
70787         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
70788         * sysdeps/ieee754/s_lib_version.c: Likewise.
70789         * sysdeps/ieee754/s_matherr.c: Likewise.
70790         * sysdeps/ieee754/s_signgam.c: Likewise.
70791         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
70792         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
70793         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
70794         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
70795         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
70796         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
70797         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
70798         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
70799         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
70800         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
70801         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
70802         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
70803         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
70804         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
70805         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
70806         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
70807         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
70808         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
70809         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
70810         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
70811         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
70813 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
70815         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
70816         * sunrpc/rpc_main.c: Likewise.
70817         * sunrpc/rpc_svcout.c: Likewise.
70819 2012-03-09  David S. Miller  <davem@davemloft.net>
70821         * include/math_private.h: New file.
70823 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
70825         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
70826         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
70827         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
70828         from <bits/socket_type.h>.
70829         (enum __socket_type): Don't define here.
70830         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
70831         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
70832         bits/socket_type.h.
70834         [BZ #13566]
70835         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
70836         checking __USE_GNU.
70838         * Makerules ($(inst_includedir)/%.h): New rule.
70839         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
70840         (install-others): Remove variable setting.
70841         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
70843 2012-03-08  Richard Henderson  <rth@twiddle.net>
70845         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
70846         from macro to inline function; merge with the
70847         !__LIBC_INTERNAL_MATH_INLINES version.
70848         (__ieee754_sqrtf): Likewise.
70850         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
70851         to inline function.
70852         (__rintf, __floor, __floorf): Likewise.
70854         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
70855         macro to inline function.
70856         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
70858         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
70859         not <math/math_private.h>.
70861 2012-03-08  David S. Miller  <davem@davemloft.net>
70863         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
70864         copyright year.
70865         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
70867 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
70869         * resolv/gai_misc.c (handle_requests): Fix struct timespec
70870         normalization.
70871         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
70872         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
70874 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
70876         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
70877         be defined individually, they must be defined as a block.  Define
70878         S for printing a string instead of hidint the different by using a
70879         macro for adding the 'l'.
70880         * stdio-common/tst-fphex-wide.c: Adjust.
70882 2012-03-07  Marek Polacek  <polacek@redhat.com>
70884         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
70886 2012-03-08  Marek Polacek  <polacek@redhat.com>
70888         [BZ #13806]
70889         * stdio-common/Makefile (tests): Add tst-fphex-wide.
70890         * stdio-common/tst-fphex.c: Define a few macros to make the
70891         test reusable.  Use them.
70892         * stdio-common/tst-fphex-wide.c: New file.
70894 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
70896         [BZ #6911]
70897         * manual/macros.texi (gnusystems): New macro.
70898         (nongnusystems): Likewise.
70899         (gnulinuxhurdsystems): Likewise.
70900         (gnuhurdsystems): Likewise..
70901         (gnulinuxsystems): Likewise.
70902         * manual/charset.texi: Use new macros or @theglibc{} to refer to
70903         variants of the GNU system, not "GNU system".
70904         * manual/conf.texi: Likewise.
70905         * manual/errno.texi: Likewise.  Update example of errno macro
70906         expansion.
70907         * manual/filesys.texi: Likewise.
70908         (getumask): Document as specific to GNU/Hurd.
70909         * manual/install.texi: Likewise.  Reword some references to
70910         GNU/Linux.
70911         * manual/intro.texi: Likewise.
70912         * manual/io.texi: Likewise.
70913         (File Name Portability): Detail which constraints are inapplicable
70914         to all GNU systems and which are only inapplicable to GNU/Hurd.
70915         * manual/job.texi: Likewise.
70916         * manual/llio.texi: Likewise.
70917         (O_NOCTTY): Document as present on GNU/Linux.
70918         * manual/maint.texi: Likewise.
70919         * manual/memory.texi: Likewise.
70920         * manual/pattern.texi: Likewise.
70921         * manual/pipe.texi: Likewise.
70922         * manual/process.texi: Likewise.
70923         * manual/resource.texi: Likewise.
70924         (RUSAGE_CHILDREN): Remove statement about specifying a particular
70925         child on GNU/Hurd.
70926         * manual/setjmp.texi: Likewise.
70927         * manual/signal.texi: Likewise.
70928         * manual/startup.texi: Likewise.
70929         * manual/stdio.texi: Likewise.
70930         * manual/terminal.texi: Likewise.
70931         (ONLCR): Document as POSIX.
70932         (OXTABS): Document availability on GNU/Linux as XTABS.
70933         (ONOEOT): Document availability separately from other bits.
70934         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
70935         * manual/time.texi: Likewise.
70936         * manual/users.texi: Likewise.
70937         * INSTALL: Regenerated.
70938         * sysdeps/gnu/errlist.c: Regenerated.
70940         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
70941         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
70942         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
70943         puts.
70944         * configure: Regenerated.
70946 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
70948         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
70949         default includes instead of AC_HEADER_CHECK.
70950         * sysdeps/i386/configure: Regenerated.
70952         [BZ #10716]
70953         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
70954         * math/s_cacoshf.c (__cacoshf): Likewise.
70955         * math/s_cacoshl.c (__cacoshl): Likewise.
70956         * math/s_casinh.c (__casinh): Set signs of result from argument.
70957         * math/s_casinhf.c (__casinhf): Likewise.
70958         * math/s_casinhl.c (__casinhl): Likewise.
70959         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
70960         (casinh_test): Add more tests.
70961         * sysdeps/i386/fpu/libm-test-ulps: Update.
70962         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70964 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
70966         * po/zh_TW.po: Update from translation team.
70968         * login/Makefile (distribute): Remove variable.
70969         * catgets/Makefile: Likewise.
70970         * mach/Makefile: Likewise.
70971         * malloc/Makefile: Likewise.
70972         * misc/Makefile: Likewise.
70973         * iconv/Makefile: Likewise.
70974         * nscd/Makefile: Likewise.
70975         * hurd/Makefile: Likewise.
70976         * manual/Makefile: Likewise.
70977         * locale/Makefile: Likewise.
70978         * intl/Makefile: Likewise.
70979         * conform/Makefile: Likewise.
70980         * nss/Makefile: Likewise.
70981         * time/Makefile: Likewise.
70982         * soft-fp/Makefile: Likewise.
70983         * dirent/Makefile: Likewise.
70984         * gmon/Makefile: Likewise.
70985         * po/Makefile: Likewise.
70986         * rt/Makefile: Likewise.
70987         * socket/Makefile: Likewise.
70988         * math/Makefile: Likewise.
70989         * signal/Makefile: Likewise.
70990         * debug/Makefile: Likewise.
70991         * elf/Makefile: Likewise.
70992         * timezone/Makefile: Likewise.
70993         * stdlib/Makefile: Likewise.
70994         * iconvdata/Makefile: Likewise.
70995         * sunrpc/Makefile: Likewise.
70996         * io/Makefile: Likewise.
70997         * argp/Makefile: Likewise.
70998         * inet/Makefile: Likewise.
70999         * hesiod/Makefile: Likewise.
71000         * grp/Makefile: Likewise.
71001         * csu/Makefile: Likewise.
71002         * wctype/Makefile: Likewise.
71003         * crypt/Makefile: Likewise.
71004         * libio/Makefile: Likewise.
71005         * string/Makefile: Likewise.
71006         * nis/Makefile: Likewise.
71007         * resolv/Makefile: Likewise.
71008         * stdio-common/Makefile: Likewise.
71009         * wcsmbs/Makefile: Likewise.
71010         * dlfcn/Makefile: Likewise.
71011         * posix/Makefile: Likewise.
71013         [BZ #6959]
71014         * timezone/Makefile: Don't install timezone files, just the programs
71015         and scripts.
71017 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
71019         * nss/databases.def: Add missing gshadow entry.
71021         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
71023 2012-03-06  Marek Polacek  <polacek@redhat.com>
71025         [BZ #13726]
71026         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
71027         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
71028         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
71029         * stdio-common/tst-long-dbl-fphex.c: New file.
71031 2012-03-06  David S. Miller  <davem@davemloft.net>
71033         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
71034         (set_obp_int): New function.
71035         (get_obp_int): New function.
71036         (__get_clockfreq_via_dev_openprom): Likewise.
71037         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
71038         Avoid unused variable warnings on 'val' and use builtin_expect.
71039         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
71040         __builtin_expect.
71041         (INLINE_CLONE_SYSCALL): Likewise.
71043 2012-03-05  David S. Miller  <davem@davemloft.net>
71045         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71047 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
71049         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71051         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
71052         only for |x| >= 40.
71053         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
71055 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
71057         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
71058         Replace gettimeofday with __vdso_gettimeofday.
71060         * sysdeps/unix/sysv/linux/x86_64/init-first.c
71061         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
71062         __vdso_clock_gettime and __vdso_getcpu.
71064         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
71065         time with __vdso_time.
71067 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
71069         * manual/lang.texi (size_t): Note types to which size_t may be
71070         equivalent with the GNU C Library, but do not describe when
71071         differences between them are significant.
71073 2012-03-05  Andreas Jaeger  <aj@suse.de>
71075         * sysdeps/i386/fpu/libm-test-ulps: Update.
71077 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
71079         [BZ #3976]
71080         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
71081         (__ieee754_pow): Save and restore rounding mode and use
71082         round-to-nearest for main computations.
71083         * math/libm-test.inc (pow_test_tonearest): New function.
71084         (pow_test_towardzero): Likewise.
71085         (pow_test_downward): Likewise.
71086         (pow_test_upward): Likewise.
71087         (main): Call the new functions.
71088         * sysdeps/i386/fpu/libm-test-ulps: Update.
71089         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71091         [BZ #3976]
71092         * math/libm-test.inc (cosh_test_tonearest): New function.
71093         (cosh_test_towardzero): Likewise.
71094         (cosh_test_downward): Likewise.
71095         (cosh_test_upward): Likewise.
71096         (sinh_test_tonearest): Likewise.
71097         (sinh_test_towardzero): Likewise.
71098         (sinh_test_downward): Likewise.
71099         (sinh_test_upward): Likewise.
71100         (main): Call the new functions.
71101         * sysdeps/i386/fpu/libm-test-ulps: Update.
71102         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71104 2012-03-05  Tom de Vries  <tom@codesourcery.com>
71106         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
71107         default stack guard is set in last bytes.
71108         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
71110 2012-03-05  Kees Cook  <keescook@chromium.org>
71112         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
71114         [BZ #13656]
71115         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
71116         possibly allocate from heap instead of stack.
71117         * stdio-common/bug-vfprintf-nargs.c: New file.
71118         * stdio-common/Makefile (tests): Add nargs overflow test.
71120 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
71122         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71124 2012-03-03  Marek Polacek  <polacek@redhat.com>
71126         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
71127         * math/math_private.h: Likewise.
71128         * stdlib/tst-strtod.c: Likewise.
71129         * sysdeps/i386/i486/bits/atomic.h: Likewise.
71130         * sysdeps/x86_64/bits/atomic.h: Likewise.
71132 2012-03-02  David S. Miller  <davem@davemloft.net>
71134         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
71135         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
71136         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
71137         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
71138         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
71139         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
71140         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
71141         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
71143 2012-03-02  Roland McGrath  <roland@hack.frob.com>
71145         [BZ #13792]
71146         * manual/examples/README: New file, says the example source files
71147         can be used under GPL>=2.
71148         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
71149         line containing just "*/".
71150         * manual/examples/add.c: Add copyright header (GPL>=2).
71151         * manual/examples/argp-ex1.c: Likewise.
71152         * manual/examples/argp-ex2.c: Likewise.
71153         * manual/examples/argp-ex3.c: Likewise.
71154         * manual/examples/argp-ex4.c: Likewise.
71155         * manual/examples/atexit.c: Likewise.
71156         * manual/examples/db.c: Likewise.
71157         * manual/examples/dir.c: Likewise.
71158         * manual/examples/dir2.c: Likewise.
71159         * manual/examples/execinfo.c: Likewise.
71160         * manual/examples/filecli.c: Likewise.
71161         * manual/examples/filesrv.c: Likewise.
71162         * manual/examples/fmtmsgexpl.c: Likewise.
71163         * manual/examples/genpass.c: Likewise.
71164         * manual/examples/inetcli.c: Likewise.
71165         * manual/examples/inetsrv.c: Likewise.
71166         * manual/examples/isockad.c: Likewise.
71167         * manual/examples/longopt.c: Likewise.
71168         * manual/examples/memopen.c: Likewise.
71169         * manual/examples/memstrm.c: Likewise.
71170         * manual/examples/mkfsock.c: Likewise.
71171         * manual/examples/mkisock.c: Likewise.
71172         * manual/examples/mygetpass.c: Likewise.
71173         * manual/examples/pipe.c: Likewise.
71174         * manual/examples/popen.c: Likewise.
71175         * manual/examples/rprintf.c: Likewise.
71176         * manual/examples/search.c: Likewise.
71177         * manual/examples/select.c: Likewise.
71178         * manual/examples/setjmp.c: Likewise.
71179         * manual/examples/sigh1.c: Likewise.
71180         * manual/examples/sigusr.c: Likewise.
71181         * manual/examples/stpcpy.c: Likewise.
71182         * manual/examples/strdupa.c: Likewise.
71183         * manual/examples/strftim.c: Likewise.
71184         * manual/examples/strncat.c: Likewise.
71185         * manual/examples/subopt.c: Likewise.
71186         * manual/examples/swapcontext.c: Likewise.
71187         * manual/examples/termios.c: Likewise.
71188         * manual/examples/testopt.c: Likewise.
71189         * manual/examples/testpass.c: Likewise.
71190         * manual/examples/timeval_subtract.c: Likewise.
71192         [BZ #13792]
71193         * manual/time.texi (Elapsed Time): Move timeval_subtract example
71194         function to ...
71195         * manual/timeval_subtract.c.texi: ... here, new file.
71197 2012-03-02  David S. Miller  <davem@davemloft.net>
71199         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
71201 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
71203         [BZ #3976]
71204         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
71205         (__sin): Save and restore rounding mode and use round-to-nearest
71206         for all computations.
71207         (__cos): Save and restore rounding mode and use round-to-nearest
71208         for all computations.
71209         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
71210         <fenv.h>.
71211         (tan): Save and restore rounding mode and use round-to-nearest for
71212         all computations.
71213         * math/libm-test.inc (cos_test_tonearest): New function.
71214         (cos_test_towardzero): Likewise.
71215         (cos_test_downward): Likewise.
71216         (cos_test_upward): Likewise.
71217         (sin_test_tonearest): Likewise.
71218         (sin_test_towardzero): Likewise.
71219         (sin_test_downward): Likewise.
71220         (sin_test_upward): Likewise.
71221         (tan_test_tonearest): Likewise.
71222         (tan_test_towardzero): Likewise.
71223         (tan_test_downward): Likewise.
71224         (tan_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         [BZ #10135]
71230         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
71231         small n, then large n, before computing and testing k+n.
71232         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
71233         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
71234         Likewise.
71235         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
71236         Likewise.
71237         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
71238         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
71239         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
71240         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
71241         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
71242         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
71243         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
71244         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
71245         * math/libm-test.inc (scalbn_test): Add more tests.
71246         (scalbln_test): Likewise.
71248         * manual/filesys.texi (mode_t): Describe constraints on size and
71249         signedness, not exact equivalence to a particular type.
71250         (ino_t): Likewise.
71251         (ino64_t): Likewise.
71252         (dev_t): Likewise.
71253         (nlink_t): Likewise.
71254         (blkcnt_t): Likewise.
71255         (blkcnt64_t): Likewise.
71256         * manual/llio.texi (off_t): Likewise.
71258         [BZ #3976]
71259         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
71260         (__ieee754_exp): Save and restore rounding mode and use
71261         round-to-nearest for all computations.
71262         * math/libm-test.inc (exp_test_tonearest): New function.
71263         (exp_test_towardzero): Likewise.
71264         (exp_test_downward): Likewise.
71265         (exp_test_upward): Likewise.
71266         (main): Call the new functions.
71267         * sysdeps/i386/fpu/libm-test-ulps: Update.
71268         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71270 2012-03-01  Chris Demetriou  <cgd@google.com>
71272         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
71273         have predictable order.
71275 2012-03-01  David S. Miller  <davem@davemloft.net>
71277         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
71279         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
71280         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
71281         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
71282         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
71284         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
71285         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
71286         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
71287         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
71288         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
71289         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
71290         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
71291         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
71292         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
71294         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71296         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
71297         * sysdeps/sparc/fpu/libm-test-ulps: to here.
71298         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
71300         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
71301         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
71302         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
71303         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
71304         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
71305         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
71306         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
71307         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
71308         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
71309         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
71310         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
71311         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
71312         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
71313         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
71314         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
71315         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
71316         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
71317         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
71318         * sysdeps/sparc/elf/configure: Regenerated.
71320 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
71322         * configure.in (AS, LD): Require binutils 2.20 or later.
71323         * configure: Regenerated.
71324         * manual/install.texi (Tools for Compilation): Give binutils 2.20
71325         as required minimum version.
71326         * INSTALL: Regenerated.
71328         [BZ #2541]
71329         [BZ #4108]
71330         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
71331         before squaring exponent.
71332         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
71333         bottom long double and 27 bits of top long double before squaring
71334         exponent.
71335         * math/libm-test.inc (erfc_test): Add more tests.
71336         * sysdeps/i386/fpu/libm-test-ulps: Update.
71337         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
71338         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71340 2012-03-01  Kai Tietz  <ktietz@redhat.com>
71342         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
71343         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
71344         containing bit-fields.
71345         * soft-fp/extended.h (_FP_UNION_E): Likewise.
71346         * soft-fp/single.h (_FP_UNION_S): Likewise.
71347         * soft-fp/double.h (_FP_UNION_D): Likewise.
71349 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
71351         [BZ #13786]
71352         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
71353         not include ../strcmp.S.
71354         [USE_AS_STRNCASECMP_L]: Likewise.
71355         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
71356         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
71357         * sysdeps/i386/i686/multiarch/strncase_l-c.c
71358         (__strncasecmp_l_ia32): Define as alias to
71359         __strncasecmp_l_nonascii.
71361         [BZ #5794]
71362         * math/libm-test.inc (expm1_test): Add test for bug 5794.
71363         * sysdeps/i386/fpu/libm-test-ulps: Update.
71364         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71366         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
71367         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71369 2012-02-29  Jeff Law  <law@redhat.com>
71371         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
71372         out of bounds read.
71374 2012-02-29  Marek Polacek  <polacek@redhat.com>
71376         [BZ #13706]
71377         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
71378         * elf/Makefile: Add rules to run tst-unused-dep.out.
71380 2012-02-28  David S. Miller  <davem@davemloft.net>
71382         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
71383         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
71384         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
71385         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
71386         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
71387         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
71389 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
71391         * math/libm-test.inc (llround_test): Move one test from
71392         lround_test.  Use TEST_f_L in moved test.
71393         (lround_test): Move misplaced test to llround_test.  Add testcase
71394         from bug 2561.
71396 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
71398         * sysdeps/x86_64/fpu/e_expf.S: New file.
71399         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
71401 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
71403         [BZ #13637]
71404         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
71405         of remain_len that may cause incomplete multi-byte character and
71406         false match.
71407         * posix/bug-regex33.c: New file.
71408         * posix/Makefile (tests): Add bug-regex33.
71410 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
71412         * manual/macros.texi: New file.
71413         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
71414         * manual/libc.texinfo: Include macros.texi.
71415         * manual/creatute.texi: Likewise.
71416         * manual/install.texi: Likewise.
71417         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
71418         @glibcadj{} in references to the GNU C Library.
71419         * manual/charset.texi: Likewise.
71420         * manual/conf.texi: Likewise.
71421         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
71422         when not using those macros.
71423         * manual/creature.texi: Likewise.
71424         * manual/crypt.texi: Likewise.
71425         * manual/errno.texi: Likewise.
71426         * manual/filesys.texi: Likewise.
71427         * manual/header.texi: Likewise.
71428         * manual/install.texi: Likewise.
71429         * manual/intro.texi: Likewise.
71430         * manual/io.texi: Likewise.
71431         * manual/job.texi: Likewise.
71432         * manual/lang.texi: Likewise.
71433         * manual/libc.texiinfo: Likewise.
71434         * manual/llio.texi: Likewise.
71435         * manual/locale.texi: Likewise.
71436         * manual/maint.texi: Likewise.
71437         * manual/math.texi: Likewise.
71438         * manual/memory.texi: Likewise.
71439         * manual/message.texi: Likewise.
71440         * manual/nss.texi: Likewise.
71441         * manual/pattern.texi: Likewise.
71442         * manual/process.texi: Likewise.
71443         * manual/resource.texi: Likewise.
71444         * manual/search.texi: Likewise.
71445         * manual/setjmp.texi: Likewise.
71446         * manual/signal.texi: Likewise.
71447         * manual/socket.texi: Likewise.
71448         * manual/startup.texi: Likewise.
71449         * manual/stdio.texi: Likewise.
71450         * manual/string.texi: Likewise.
71451         * manual/sysinfo.texi: Likewise.
71452         * manual/syslog.texi: Likewise.
71453         * manual/terminal.texi: Likewise.
71454         * manual/time.texi: Likewise.
71455         * manual/users.texi: Likewise.
71456         * INSTALL: Regenerated.
71457         * NOTES: Regenerated.
71458         * sysdeps/gnu/errlist.c: Regenerated.
71460 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
71462         * include/dirent.h: Include <dirstream.h> before
71463         <dirent/dirent.h>.
71465 2012-02-28  David S. Miller  <davem@davemloft.net>
71467         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
71468         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
71469         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
71470         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
71472 2012-02-27  David S. Miller  <davem@davemloft.net>
71474         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
71475         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
71476         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
71477         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
71479         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
71480         frame pointer instead of stack pointer relative arg slot.
71481         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
71482         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
71483         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
71485 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
71487         [BZ #3992]
71488         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
71490 2012-02-27  David S. Miller  <davem@davemloft.net>
71492         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
71493         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
71494         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
71495         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
71496         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
71497         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
71498         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
71499         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
71501 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
71503         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
71504         later.  Allow versions 5-9.
71505         * configure: Regenerated.
71506         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
71507         required minimum version and 4.6 as recommended version.  Do not
71508         mention bugs in GCC 2.7 and 2.8.
71509         * INSTALL: Regenerated.
71511 2012-02-27  David S. Miller  <davem@davemloft.net>
71513         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
71514         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
71515         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
71516         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
71517         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
71518         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
71519         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
71520         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
71522         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
71523         manipulate bits before adding and subtracting TWO112[sx].
71524         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
71526 2012-02-27  Roland McGrath  <roland@hack.frob.com>
71528         [BZ #13775]
71529         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
71530         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
71531         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
71532         being in POSIX, because they are in 1003.1-2008.
71534         * rt/tst-aio.c: Include <fcntl.h>.
71535         * rt/tst-aio7.c: Likewise.
71536         * rt/tst-aio64.c: Likewise.
71538         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
71540 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
71542         * manual/install.texi (--with-headers): Describe headers as
71543         interface headers, not private headers.
71544         (Specific advice for GNU/Linux systems): Describe use of headers
71545         from "make headers_install", not private headers from older
71546         kernels.
71547         * INSTALL: Regenerated.
71548         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
71549         Change to 2.6.19.
71550         * sysdeps/unix/sysv/linux/configure: Regenerated.
71552         * manual/llio.texi (fclean): Remove documentation.
71554         * manual/Makefile (libc-texi-generated): New variable.  Include
71555         version.texi.
71556         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
71557         $(libc-texi-generated), not duplicated list of files.
71558         (version.texi, stamp-version): New rules.
71559         (realclean): Remove $(libc-texi-generated), not individual files
71560         from that list.  Do not remove dir-add.texinfo.
71561         * manual/libc.texinfo: Comment out uses of edition numbers and
71562         references to printed manual.  Remove last-updated dates.
71563         (EDITION): Comment out.
71564         (ISBN): Likewise.
71565         (VERSION, UPDATED): Remove.
71566         (version.texi): Include.
71568 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
71570         * sysdeps/posix/spawni.c: Include <signal.h>.
71571         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
71572         * sysdeps/pthread/aio_fsync.c: Likewise.
71574 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
71576         * conform/Makefile (tests): Run only when not cross-compiling and
71577         when fast-check is not defined.
71579         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
71580         * conform/data/limits.h-data: Fixes for POSIX2008.
71581         * conform/run-conformtest.sh: Run all tests.
71582         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
71583         headers.
71584         * include/bits/dlfcn.h: Likewise.
71585         * include/langinfo.h: Likewise.
71586         * include/monetary.h: Likewise.
71587         * include/sys/poll.h: Likewise.
71589         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
71590         for __USE_GNU.
71591         * posix/spawn.h: Define __need_sigset_t.
71592         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
71593         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
71594         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
71595         to get sigevent_t only.
71596         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
71597         only for __USE_GNU.
71598         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
71599         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
71600         process_vm_writev only for __USE_GNU.
71601         * termios/termios.h: Declare tcgetsid also for POSIX2008.
71603         * conform/Makefile: For now ignore errors from run-conformtest.
71604         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
71605         POSIX to avoid namespace pollution.  Don't prepend headers.
71606         * conform/data/aio.h-data: Fixes for POSIX testing.
71607         * conform/data/fcntl.h-data: Likewise.
71608         * conform/data/glob.h-data: Likewise.
71609         * conform/data/grp.h-data: Likewise.
71610         * conform/data/pthread.h-data: Likewise.
71611         * conform/data/pwd.h-data: Likewise.
71612         * conform/data/signal.h-data: Likewise.
71613         * conform/data/spawn.h-data: Likewise.
71614         * conform/data/stdio.h-data: Likewise.
71615         * conform/data/stdlib.h-data: Likewise.
71616         * conform/data/stropts.h-data: Likewise.
71617         * conform/data/sys/mman.h-data: Likewise.
71618         * conform/data/sys/stat.h-data: Likewise.
71619         * conform/data/sys/types.h-data: Likewise.
71620         * conform/data/sys/wait.h-data: Likewise.
71621         * conform/data/time.h-data: Likewise.
71622         * conform/data/unistd.h-data: Likewise.
71623         * conform/data/utime.h-data: Likewise.
71625         * io/sys/stat.h: fchmod was always in POSIX.
71626         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
71627         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
71628         * rt/aio.h: Define __need_timespec before including <time.h>.
71629         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
71630         struct.  Add forward declaration of pthread_attr_t and use it in
71631         sigevent.
71632         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
71633         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
71634         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
71635         always remove CLK_TCK definition.
71637 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
71639         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
71641 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
71643         * conform/run-conformtest.sh: New file.
71644         * conform/Makefile: Run run-conformtest for tests.
71645         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
71646         support.
71648         * conform/data/uchar.h-data: New file.
71649         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
71650         * conform/data/arpa/inet.h-data: Likewise.
71651         * conform/data/assert.h-data: Likewise.
71652         * conform/data/complex.h-data: Likewise.
71653         * conform/data/cpio.h-data: Likewise.
71654         * conform/data/ctype.h-data: Likewise.
71655         * conform/data/dirent.h-data: Likewise.
71656         * conform/data/dlfcn.h-data: Likewise.
71657         * conform/data/errno.h-data: Likewise.
71658         * conform/data/fcntl.h-data: Likewise.
71659         * conform/data/float.h-data: Likewise.
71660         * conform/data/fmtmsg.h-data: Likewise.
71661         * conform/data/fnmatch.h-data: Likewise.
71662         * conform/data/ftw.h-data: Likewise.
71663         * conform/data/glob.h-data: Likewise.
71664         * conform/data/grp.h-data: Likewise.
71665         * conform/data/iconv.h-data: Likewise.
71666         * conform/data/inttypes.h-data: Likewise.
71667         * conform/data/langinfo.h-data: Likewise.
71668         * conform/data/libgen.h-data: Likewise.
71669         * conform/data/limits.h-data: Likewise.
71670         * conform/data/locale.h-data: Likewise.
71671         * conform/data/math.h-data: Likewise.
71672         * conform/data/monetary.h-data: Likewise.
71673         * conform/data/mqueue.h-data: Likewise.
71674         * conform/data/ndbm.h-data: Likewise.
71675         * conform/data/net/if.h-data: Likewise.
71676         * conform/data/netdb.h-data: Likewise.
71677         * conform/data/netinet/in.h-data: Likewise.
71678         * conform/data/nl_types.h-data: Likewise.
71679         * conform/data/poll.h-data: Likewise.
71680         * conform/data/pthread.h-data: Likewise.
71681         * conform/data/pwd.h-data: Likewise.
71682         * conform/data/regex.h-data: Likewise.
71683         * conform/data/sched.h-data: Likewise.
71684         * conform/data/search.h-data: Likewise.
71685         * conform/data/semaphore.h-data: Likewise.
71686         * conform/data/setjmp.h-data: Likewise.
71687         * conform/data/signal.h-data: Likewise.
71688         * conform/data/spawn.h-data: Likewise.
71689         * conform/data/stdarg.h-data: Likewise.
71690         * conform/data/stdio.h-data: Likewise.
71691         * conform/data/stdlib.h-data: Likewise.
71692         * conform/data/string.h-data: Likewise.
71693         * conform/data/strings.h-data: Likewise.
71694         * conform/data/stropts.h-data: Likewise.
71695         * conform/data/sys/ipc.h-data: Likewise.
71696         * conform/data/sys/mman.h-data: Likewise.
71697         * conform/data/sys/msg.h-data: Likewise.
71698         * conform/data/sys/resource.h-data: Likewise.
71699         * conform/data/sys/select.h-data: Likewise.
71700         * conform/data/sys/sem.h-data: Likewise.
71701         * conform/data/sys/shm.h-data: Likewise.
71702         * conform/data/sys/socket.h-data: Likewise.
71703         * conform/data/sys/stat.h-data: Likewise.
71704         * conform/data/sys/statvfs.h-data: Likewise.
71705         * conform/data/sys/time.h-data: Likewise.
71706         * conform/data/sys/timeb.h-data: Likewise.
71707         * conform/data/sys/times.h-data: Likewise.
71708         * conform/data/sys/types.h-data: Likewise.
71709         * conform/data/sys/uio.h-data: Likewise.
71710         * conform/data/sys/un.h-data: Likewise.
71711         * conform/data/sys/utsname.h-data: Likewise.
71712         * conform/data/sys/wait.h-data: Likewise.
71713         * conform/data/syslog.h-data: Likewise.
71714         * conform/data/tar.h-data: Likewise.
71715         * conform/data/termios.h-data: Likewise.
71716         * conform/data/utime.h-data: Likewise.
71717         * conform/data/utmpx.h-data: Likewise.
71718         * conform/data/varargs.h-data: Likewise.
71719         * conform/data/wchar.h-data: Likewise.
71720         * conform/data/wctype.h-data: Likewise.
71721         * conform/data/wordexp.h-data: Likewise.
71723         * include/stropts.h: New file.
71724         * include/uchar.h: New file.
71725         * include/aio.h: Changes to allow conformtest.pl to use the headers.
71726         * include/assert.h: Likewise.
71727         * include/ctype.h: Likewise.
71728         * include/dirent.h: Likewise.
71729         * include/dlfcn.h: Likewise.
71730         * include/fcntl.h: Likewise.
71731         * include/fnmatch.h: Likewise.
71732         * include/glob.h: Likewise.
71733         * include/grp.h: Likewise.
71734         * include/libio.h: Likewise.
71735         * include/locale.h: Likewise.
71736         * include/math.h: Likewise.
71737         * include/net/if.h: Likewise.
71738         * include/netdb.h: Likewise.
71739         * include/netinet/in.h: Likewise.
71740         * include/pthread.h: Likewise.
71741         * include/pwd.h: Likewise.
71742         * include/regex.h: Likewise.
71743         * include/sched.h: Likewise.
71744         * include/search.h: Likewise.
71745         * include/setjmp.h: Likewise.
71746         * include/signal.h: Likewise.
71747         * include/stdio.h: Likewise.
71748         * include/stdlib.h: Likewise.
71749         * include/string.h: Likewise.
71750         * include/sys/cdefs.h: Likewise.
71751         * include/sys/mman.h: Likewise.
71752         * include/sys/msg.h: Likewise.
71753         * include/sys/resource.h: Likewise.
71754         * include/sys/select.h: Likewise.
71755         * include/sys/socket.h: Likewise.
71756         * include/sys/stat.h: Likewise.
71757         * include/sys/statvfs.h: Likewise.
71758         * include/sys/time.h: Likewise.
71759         * include/sys/times.h: Likewise.
71760         * include/sys/uio.h: Likewise.
71761         * include/sys/utsname.h: Likewise.
71762         * include/sys/wait.h: Likewise.
71763         * include/termios.h: Likewise.
71764         * include/time.h: Likewise.
71765         * include/ulimit.h: Likewise.
71766         * include/unistd.h: Likewise.
71767         * include/utime.h: Likewise.
71768         * include/wchar.h: Likewise.
71769         * include/wctype.h: Likewise.
71770         * include/wordexp.h: Likewise.
71772         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
71774         * time/time.h: TIME_UTC must be a macro.
71775         Make timespec_get available for ISO C11 only as well.
71777 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
71779         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
71780         Reported by Peng Haitao <penght@cn.fujitsu.com>.
71782 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
71784         * configure.in: Use -o not -a in test for unsupported multi-arch.
71786 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
71788         * manual/texinfo.tex: Update to version 2012-01-19.16.
71790 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
71792         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
71794 2012-02-24  Roland McGrath  <roland@hack.frob.com>
71796         [BZ #13738]
71797         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
71798         * manual/fdl-1.3.texi: New file.
71799         * manual/fdl-1.1.texi: File removed.
71801         [BZ #13738]
71802         * manual/libc.texinfo (FDL_VERSION): New @set.
71803         Use it for mention of FDL in cover text.
71804         (Documentation License): Use it in @include file name.
71806 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
71807             Roland McGrath  <roland@hack.frob.com>
71809         [BZ #5461]
71810         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
71811         (not LONG_LONG_MAX and LONG_LONG_MIN.
71812         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
71813         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
71814         name.
71815         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
71817 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
71819         [BZ #2547]
71820         [BZ #11365]
71821         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
71822         manipulate bits before adding and subtracting TWO23[sx].
71823         * math/libm-test.inc (nearbyint_test): Add more tests.
71825 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
71827         [BZ #2548]
71828         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
71829         bits before adding and subtracting TWO23[sx].
71830         * math/libm-test.inc (rint_test): Add more tests.
71831         (rint_test_tonearest): Likewise.
71832         (rint_test_towardzero): Likewise.
71833         (rint_test_downward): Likewise.
71834         (rint_test_upward: Likewise.
71836 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
71838         [BZ #10110]
71839         * include/stdc-predef.h: New file.  Extracted from features.h.
71840         * include/features.h: Include stdc-predef.h.
71841         * Makefile (headers): Add stdc-predef.h.
71842         * CONFORMANCE (Compiler limitations): Update.
71844 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
71846         * manual/libc.texinfo (VERSION, UPDATED): Revert.
71848 2012-02-21  David S. Miller  <davem@davemloft.net>
71850         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
71851         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
71853 2012-02-20  David S. Miller  <davem@davemloft.net>
71855         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
71856         using a normal save/restore sequence, rather than allocating a
71857         dummy stack frame just to store a frame pointer and restore.
71858         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
71860 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
71862         * manual/install.texi: Fix stray word in line-wrapped comment.
71864 2012-02-20  David S. Miller  <davem@davemloft.net>
71866         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
71867         both binutils and gcc support GOTDATA.
71869         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
71870         "rd %pc" in the PIC register setup sequences.
71872         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
71873         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
71874         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
71875         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
71876         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
71877         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
71878         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
71879         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
71880         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
71881         (SYSCALL_ERROR_HANDLER): Likewise.
71882         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
71883         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
71884         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
71885         (SYSCALL_ERROR_HANDLER): Likewise.
71887         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
71888         (HAVE_GCC_GOTDATA): New.
71889         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
71890         relocation support in both binutils and gcc.
71891         * sysdeps/sparc/elf/configure: Regenerate.
71893         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
71894         * sysdeps/sparc/sparc32/elf/configure: Delete.
71895         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
71896         * sysdeps/sparc/sparc64/elf/configure: Delete.
71897         * sysdeps/sparc/elf/configure.in: New file.
71898         * sysdeps/sparc/elf/configure: Generate.
71900         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
71901         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
71902         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
71903         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
71904         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
71906 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
71908         * manual/install.texi: Do not mention specific glibc version
71909         numbers.
71910         * manual/libc.texinfo (VERSION, UPDATED): Update.
71911         (@copying): Use @copyright{} and range of years.
71913 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
71915         [BZ #13695]
71916         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
71917         [crti.S not in sysdirs] (generated): Do not append.
71918         [crti.S not in sysdirs] (omit-deps): Likewise.
71919         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
71920         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
71921         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
71922         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
71923         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
71924         Likewise.
71925         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
71926         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
71927         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
71928         * csu/defs.awk: Remove file.
71929         * sysdeps/generic/initfini.c: Likewise.
71930         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
71931         variable.
71932         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
71933         Likewise.
71935 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
71937         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
71938         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
71939         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
71940         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
71941         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
71942         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
71943         <bits/epoll.h>.
71944         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
71945         (__EPOLL_PACKED): Define to empty if not defined by
71946         <bits/epoll.h>.
71947         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
71948         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
71949         bits/epoll.h.
71951 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
71953         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
71954         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
71955         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
71956         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
71957         <bits/timerfd.h>.
71958         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
71959         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
71960         bits/timerfd.h.
71962 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
71964         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
71965         in C locale.
71966         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
71967         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
71968         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
71969         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71971 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
71973         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
71974         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
71976 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
71978         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
71979         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
71980         defined.
71981         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
71982         Likewise.
71983         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
71984         entry for 2.16.
71986 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
71988         * math/w_acos.c: Use non-signaling floating-point comparisons.
71989         * math/w_acosf.c: Likewise.
71990         * math/w_acosh.c: Likewise.
71991         * math/w_acoshf.c: Likewise.
71992         * math/w_acoshl.c: Likewise.
71993         * math/w_acosl.c: Likewise.
71994         * math/w_asin.c: Likewise.
71995         * math/w_asinf.c: Likewise.
71996         * math/w_asinl.c: Likewise.
71997         * math/w_atanh.c: Likewise.
71998         * math/w_atanhf.c: Likewise.
71999         * math/w_atanhl.c: Likewise.
72000         * math/w_exp2.c: Likewise.
72001         * math/w_exp2f.c: Likewise.
72002         * math/w_exp2l.c: Likewise.
72003         * math/w_j0.c: Likewise.
72004         * math/w_j0f.c: Likewise.
72005         * math/w_j0l.c: Likewise.
72006         * math/w_j1.c: Likewise.
72007         * math/w_j1f.c: Likewise.
72008         * math/w_j1l.c: Likewise.
72009         * math/w_jn.c: Likewise.
72010         * math/w_jnf.c: Likewise.
72011         * math/w_log.c: Likewise.
72012         * math/w_log10.c: Likewise.
72013         * math/w_log10f.c: Likewise.
72014         * math/w_log10l.c: Likewise.
72015         * math/w_log2.c: Likewise.
72016         * math/w_log2f.c: Likewise.
72017         * math/w_log2l.c: Likewise.
72018         * math/w_logf.c: Likewise.
72019         * math/w_logl.c: Likewise.
72020         * math/w_sqrt.c: Likewise.
72021         * math/w_sqrtf.c: Likewise.
72022         * math/w_sqrtl.c: Likewise.
72023         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
72024         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
72025         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
72026         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
72027         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
72029 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
72031         [BZ #9739]
72032         * manual/string.texi (strnlen): Use correct parameter name in
72033         equivalent expression.
72035 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
72037         [BZ #11174]
72038         * manual/users.texi (seteuid): Consistently use neweuid for
72039         argument name.
72041 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
72043         [BZ #13704]
72044         * manual/nss.texi (Services in the NSS configuration): Correct
72045         list of services in example configuration file.
72047 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
72049         [BZ #11322]
72050         * manual/arith.texi: Remove statements about negative zero
72051         behaving identically to zero.
72053 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
72055         [BZ #5993]
72056         * manual/install.texi: Do not document upgrading from libc5.
72058 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
72060         [BZ #4596]
72061         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
72063 2012-02-18  David S. Miller  <davem@davemloft.net>
72065         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
72066         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
72067         %o7 across the call.
72068         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
72069         instead.
72070         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
72071         SETUP_PIC_REG_LEAF.
72072         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
72073         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
72074         * sysdeps/sparc/crtn.S: Likewise.
72076 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
72078         * aout/Makefile: Remove.
72080 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
72082         [BZ #13058]
72083         * manual/examples/argp-ex1.c (main): Format definition in GNU
72084         style.
72085         * manual/examples/argp-ex2.c (main): Likewise.
72086         * manual/examples/argp-ex3.c (main): Likewise.
72087         * manual/examples/argp-ex4.c (main): Likewise.
72088         * manual/examples/longopt.c (main): Use new-style prototype
72089         definition.
72090         * manual/examples/strncat.c (main): Specify return type and use
72091         (void) for arguments.
72092         * manual/examples/subopt.c (main): Use char **argv argument.
72094 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
72096         [BZ #5077]
72097         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
72098         rounding modes.
72100 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
72102         [BZ #6907]
72103         * manual/string.texi (strchr): Change when strchrnul is
72104         recommended.
72106 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
72108         [BZ #174]
72109         * manual/locale.texi (setlocale): Document LOCPATH.
72111 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
72113         [BZ #10210]
72114         * manual/process.texi (execle): Move @dots{} before last argument.
72116 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
72118         [BZ #12047]
72119         * manual/charset.texi (Generic Charset Conversion): Fix typo
72120         (LC_TYPE -> LC_CTYPE).
72122 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
72124         [BZ #5805]
72125         * manual/arith.texi (scalbn): Use @var{} on parameter names.
72126         (scalbnf): Likewise.
72127         (scalbnl): Likewise.
72128         (scalbln): Likewise.
72129         (scalblnf): Likewise.
72130         (scalblnl): Likewise.
72131         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
72132         (vwarnx): Likewise.
72133         (verr): Likewise.
72134         (verrx): Likewise.
72135         * manual/filesys.texi (telldir): Use braces around return type.
72136         * manual/llio.texi (mmap): Add space after comma.
72137         (mmap64): Likewise.
72138         * manual/math.texi (jn): Use @var{} on parameter names.
72139         (jnf): Likewise.
72140         (jnl): Likewise.
72141         (yn): Likewise.
72142         (ynf): Likewise.
72143         (ynl): Likewise.
72144         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
72145         line.
72146         * manual/resource.texi (ulimit): Use @dots{} instead of literal
72147         "...".
72148         (sched_get_priority_min): Remove semicolon on @deftypefun line.
72149         (sched_get_priority_max): Likewise.
72150         * manual/signal.texi (sigvec): Add space after comma.
72151         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
72152         names.
72153         (if_indextoname): Likewise.
72154         (if_freenameindex): Likewise.
72155         (sendto): Use ',' instead of '.' in prototype.
72156         * manual/startup.texi (syscall): Use @dots{} instead of literal
72157         "...".
72158         * manual/stdio.texi (__fpending): Separate initial words of
72159         paragraph from @deftypefun line.
72160         * manual/syslog.texi (syslog): Use @dots{} instead of literal
72161         "...".
72162         (vsyslog): Use @var{} on parameter names.
72163         * manual/terminal.texi (stty): Use @var{} on parameter names.
72164         * manual/users.texi (getutmp): Use @var{} on parameter names.
72165         (getutmpx): Likewise.
72167 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
72169         [BZ #6884]
72170         * manual/stdio.texi (fopen): Fix typos in description of
72171         ",ccs=STRING".
72173 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
72175         [BZ #4026]
72176         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
72177         get clock_id definition.
72179 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
72181         [BZ #4822]
72182         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
72183         (madvise): Cast every argument to void on its own.
72185 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
72187         [BZ #9902]
72188         * manual/startup.texi (Exit Status): Fix typo.
72190 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
72192         [BZ #10140]
72193         * manual/examples/argp-ex1.c: Include <stdlib.h>.
72194         * manual/examples/argp-ex2.c: Likewise.
72195         * manual/examples/argp-ex3.c: Likewise.
72197 2012-02-16  Richard Henderson  <rth@redhat.com>
72199         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
72200         * sysdeps/s390/s390-32/initfini.c: Remove.
72201         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
72202         * sysdeps/s390/s390-64/initfini.c: Remove.
72204 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
72206         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
72207         compiler output for sysdeps/generic/initfini.c.
72208         * sysdeps/sh/elf/initfini.c: Remove file.
72210 2012-02-16  David S. Miller  <davem@davemloft.net>
72212         [BZ #11494]
72213         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
72215         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
72216         * sysdeps/sparc/crti.S: New file.
72217         * sysdeps/sparc/crtn.S: New file.
72218         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
72219         * sysdeps/sparc/sparc64/Makefile: Likewise.
72221 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
72223         [BZ #3335]
72224         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
72226 2012-02-15  Roland McGrath  <roland@hack.frob.com>
72228         [BZ #4822]
72229         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
72231         * mach/devstream.c (cookie_io_functions_t): Macro removed.
72232         (write, read, close): Likewise.
72233         Patch by Aurelien Jarno <aurelien@aurel32.net>.
72235 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
72237         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
72238         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
72239         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
72240         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
72241         <bits/signalfd.h>.
72242         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
72243         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
72244         bits/signalfd.h.
72246 2012-02-14  Marek Polacek  <polacek@redhat.com>
72248         * sysdeps/x86_64/crti.S: New file.
72249         * sysdeps/x86_64/crtn.S: New file.
72250         * sysdeps/x86_64/elf/initfini.c: Remove file.
72252 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
72254         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
72255         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
72256         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
72257         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
72258         <bits/inotify.h>.
72259         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
72260         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
72261         bits/inotify.h.
72263 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
72265         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
72266         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
72267         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
72268         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
72269         <bits/eventfd.h>.
72270         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
72271         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
72272         bits/eventfd.h.
72274 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
72276         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
72277         __feraiseexcept instead of feraiseexcept.
72279         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
72280         nanosleep invocations.
72281         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
72282         strings, and add error checking for a nanosleep invocations.
72284 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
72286         Replace FSF snail mail address with URLs, as per GNU coding standards.
72287         Most of the snail mail addresses were wrong anyway, and omitting
72288         them makes the source code easier to maintain.  Almost all of the
72289         changes are to license notices and to locale LC_IDENTIFICATION
72290         addresses, except for this one:
72291         * manual/libc.texinfo: In "Published by", give the FSF's URL,
72292         not its snail mail address.
72294 2012-02-09  Richard Henderson  <rth@twiddle.net>
72296         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
72297         of kernel-features.h.
72299         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
72301 2012-02-08  Marek Polacek  <polacek@redhat.com>
72303         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
72304         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
72305         * sysdeps/gnu/_G_config.h: Likewise.
72306         * sysdeps/generic/_G_config.h: Likewise.
72308 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
72310         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
72311         tests.
72312         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72314         * sysdeps/powerpc/powerpc32/crti.S: New file.
72315         * sysdeps/powerpc/powerpc32/crtn.S: New file.
72316         * sysdeps/powerpc/powerpc64/crti.S: New file.
72317         * sysdeps/powerpc/powerpc64/crtn.S: New file.
72319         * Makeconfig (have-initfini): Don't set.
72320         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
72321         * configure.in (nopic_initfini): Don't substitute.
72322         * config.h.in (HAVE_INITFINI): Don't #undef.
72323         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
72324         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
72326 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
72328         Support crti.S and crtn.S provided directly by architectures.
72329         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
72330         [crti.S in sysdirs] (omit-deps): Likewise.
72331         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
72332         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
72333         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
72334         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
72335         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
72336         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
72337         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
72338         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
72339         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
72340         compiler output for sysdeps/generic/initfini.c.
72341         * sysdeps/i386/elf/Makefile: Remove file.
72342         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
72344 2012-02-07  Marek Polacek  <polacek@redhat.com>
72346         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
72347         * sysdeps/gnu/_G_config.h: Likewise.
72348         * sysdeps/mach/hurd/_G_config.h: Likewise.
72350 2012-02-07  Marek Polacek  <polacek@redhat.com>
72352         * math/Makefile (tests): Add tst-CMPLX2.
72353         * math/tst-CMPLX2.c: New file.
72355 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
72357         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
72359         * math/libm-test.inc (jn_test): Add missing L suffix.
72361 2012-02-06  Marek Polacek  <polacek@redhat.com>
72363         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
72364         * sysdeps/i386/fpu/e_powf.S: Likewise.
72365         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
72366         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
72367         * sysdeps/i386/fpu/e_acosh.S: Likewise.
72368         * sysdeps/i386/fpu/e_pow.S: Likewise.
72369         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
72370         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
72371         * sysdeps/i386/fpu/s_expm1.S: Likewise.
72372         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
72373         * sysdeps/i386/fpu/e_log2.S: Likewise.
72374         * sysdeps/i386/fpu/e_log2l.S: Likewise.
72375         * sysdeps/i386/fpu/e_scalb.S: Likewise.
72376         * sysdeps/i386/fpu/e_powl.S: Likewise.
72377         * sysdeps/i386/fpu/s_log1p.S: Likewise.
72378         * sysdeps/i386/fpu/e_log10f.S: Likewise.
72379         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
72380         * sysdeps/i386/fpu/e_logl.S: Likewise.
72381         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
72382         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
72383         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
72384         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
72385         * sysdeps/i386/fpu/e_log2f.S: Likewise.
72386         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
72387         * sysdeps/i386/fpu/e_log.S: Likewise.
72388         * sysdeps/i386/fpu/s_cexp.S: Likewise.
72389         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
72390         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
72391         * sysdeps/i386/fpu/e_logf.S: Likewise.
72392         * sysdeps/i386/fpu/e_log10l.S: Likewise.
72393         * sysdeps/i386/fpu/e_atanh.S: Likewise.
72394         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
72395         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
72396         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
72397         * sysdeps/i386/fpu/e_log10.S: Likewise.
72398         * sysdeps/i386/fpu/s_frexp.S: Likewise.
72399         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
72400         * sysdeps/i386/fpu/s_asinh.S: Likewise.
72401         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
72402         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
72403         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
72404         * sysdeps/i386/asm-syntax.h: Likewise.
72405         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
72406         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
72407         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
72408         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
72409         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
72410         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
72411         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
72412         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
72413         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
72414         * sysdeps/powerpc/sysdep.h: Likewise.
72415         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
72416         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
72418 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
72420         [BZ #411]
72421         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
72423 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
72425         * sysdeps/i386/sysdep.h: Include <features.h>.
72426         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
72427         version.
72429 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
72431         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
72432         Define.
72433         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
72434         LOAD_PIC_REG_STR.
72436 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
72438         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
72439         (SETUP_PIC_REG): Use GET_PC_THUNK.
72440         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
72441         macro.
72443 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
72445         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
72446         for non-PIC compilation.
72447         (SETUP_PIC_REG): Add .p2align directive.
72448         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
72449         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
72450         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
72451         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
72452         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
72453         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
72454         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
72455         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
72456         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
72457         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
72458         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
72459         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
72460         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
72461         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
72462         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
72463         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
72464         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
72465         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
72466         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
72467         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
72468         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
72469         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
72470         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
72471         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
72472         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
72473         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
72474         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
72475         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
72476         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
72477         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
72478         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
72479         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
72480         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
72481         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
72482         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
72483         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
72484         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
72485         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
72486         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
72487         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
72488         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
72490 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
72492         * math/tst-CMPLX.c: Include <stdio.h>.
72494 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
72496         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
72497         float.
72498         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
72499         * sysdeps/sparc/bits/mathdef.h: Likewise.
72501 2012-01-31  Marek Polacek  <polacek@redhat.com>
72503         * libio/libio.h: Don't define _PARAMS.
72504         * locale/programs/config.h: Don't define PARAMS.
72505         * stdlib/strtol_l.c: Likewise.
72506         (__strtol_l): Remove PARAMS from the prototype.
72508 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
72510         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
72511         names.  Just use the correct names.  Remove unnecessary wrapper
72512         functions.
72513         * malloc/arena.c: Likewise.
72514         * malloc/hooks.c: Likewise.
72516         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
72517         ARENA_TEST says not to.  Simplify test for creation of a new arena.
72518         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
72520 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
72522         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
72523         into tail calls.
72524         (update_get_addr): New function.
72525         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
72526         GET_ADDR_MODULE parameter.
72528 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
72530         * crypt/cert.c: Remove __STDC__ conditionals.
72531         * crypt/crypt-entry.c: Likewise.
72532         * crypt/crypt_util.c: Likewise.
72533         * libio/filedoalloc.c: Likewise.
72534         * libio/fileops.c: Likewise.
72535         * libio/genops.c: Likewise.
72536         * libio/iofclose.c: Likewise.
72537         * libio/iofdopen.c: Likewise.
72538         * libio/iofopen.c: Likewise.
72539         * libio/iofopen64.c: Likewise.
72540         * libio/iogetdelim.c: Likewise.
72541         * libio/iopopen.c: Likewise.
72542         * libio/obprintf.c: Likewise.
72543         * libio/oldfileops.c: Likewise.
72544         * libio/oldiofclose.c: Likewise.
72545         * libio/oldiofdopen.c: Likewise.
72546         * libio/oldiofopen.c: Likewise.
72547         * libio/oldiopopen.c: Likewise.
72548         * libio/wfiledoalloc.c: Likewise.
72549         * libio/wgenops.c: Likewise.
72550         * locale/programs/xmalloc.c: Likewise.
72551         * misc/syslog.c: Likewise.
72552         * stdio-common/xbug.c: Likewise.
72553         * string/memchr.c: Likewise.
72554         * string/memcmp.c: Likewise.
72555         * string/memrchr.c: Likewise.
72556         * string/rawmemchr.c: Likewise.
72557         * sysdeps/posix/getcwd.c: Likewise.
72558         * time/strftime_l.c: Likewise.
72560 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
72562         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
72563         * config.make.in (config-cflags-sse2avx): Define.
72564         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
72565         Fix typo.
72567 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
72569         * scripts/config.guess: Update from upstream config git repository.
72570         * scripts/config.sub: Likewise.
72572 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
72574         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
72575         (EM_NUM): Update.
72576         (R_TILEPRO_*, R_TILEGX_*): New macros.
72578         * scripts/firstversions.awk: Fix bug in version range handling.
72580         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
72582         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
72584         * include/sys/epoll.h: New file.
72585         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
72586         libc_hidden_def.
72588 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
72590         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
72591         Avoid unnecessary __WORDSIZE == 64 test.
72592         (fmaxf): Use VEX format if possible.
72593         (fmax): Likewise.
72594         (fminf): Likewise.
72595         (fmin): Likewise.
72597         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
72598         * math/math_private.h: Remove libc_fegetround* and
72599         libc_fesetround*.
72600         * sysdeps/i386/configure.in: Check for -msse2avx.
72601         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
72602         also if SSE2AVX is defined.
72603         Remove libc_fegetround* and libc_fesetround*.
72604         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
72605         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
72606         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
72607         of HAS_YMM_USABLE.
72608         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
72609         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
72610         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
72611         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
72612         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
72614         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
72616 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72618         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
72619         size is not set.
72620         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
72622 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
72624         [BZ #13618]
72625         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
72626         relocation.
72627         * Makeconfig (libm): Define.
72628         * elf/Makefile: Add rules to build and run tst-relsort1.
72629         * elf/tst-relsort1.c: New file.
72630         * elf/tst-relsort1mod1.c: New file.
72631         * elf/tst-relsort1mod2.c: New file.
72633 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
72635         * math/s_ldexp.c: Remove __STDC__ conditionals.
72636         * math/s_ldexpf.c: Likewise.
72637         * math/s_ldexpl.c: Likewise.
72638         * math/s_nextafter.c: Likewise.
72639         * math/s_nexttowardf.c: Likewise.
72640         * math/s_significand.c: Likewise.
72641         * math/s_significandf.c: Likewise.
72642         * math/s_significandl.c: Likewise.
72643         * math/w_jnl.c: Likewise.
72644         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
72645         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
72646         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
72647         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
72648         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
72649         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
72650         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
72651         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
72652         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
72653         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
72654         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
72655         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
72656         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
72657         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
72658         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
72659         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
72660         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
72661         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
72662         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
72663         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
72664         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
72665         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
72666         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
72667         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
72668         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
72669         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
72670         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
72671         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
72672         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
72673         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
72674         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
72675         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
72676         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
72677         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
72678         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
72679         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
72680         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
72681         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
72682         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
72683         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
72684         * sysdeps/ieee754/k_standard.c: Likewise.
72685         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
72686         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
72687         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
72688         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
72689         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
72690         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
72691         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
72692         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
72693         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
72694         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
72695         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
72696         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
72697         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
72698         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
72699         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
72700         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
72701         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
72702         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
72703         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
72704         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
72705         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
72706         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
72707         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
72708         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
72709         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
72710         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
72711         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
72712         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
72713         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
72714         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
72715         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
72716         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
72717         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
72718         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
72719         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
72720         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
72721         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
72722         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
72723         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
72724         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
72725         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
72726         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
72727         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
72728         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
72729         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
72730         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
72731         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
72732         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
72733         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
72734         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
72735         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
72736         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
72737         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
72738         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
72739         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
72740         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
72741         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
72742         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
72743         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
72744         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
72745         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
72746         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
72747         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
72748         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
72749         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
72750         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
72751         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
72752         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
72753         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
72754         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
72755         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
72756         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
72757         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
72758         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
72759         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
72760         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
72761         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
72762         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
72763         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
72764         * sysdeps/ieee754/s_matherr.c: Likewise.
72765         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
72766         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
72767         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
72768         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
72770 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
72772         * crypt/md5.h: Remove __STDC__ conditionals.
72773         * libio/libioP.h: Likewise.
72774         * locale/programs/config.h: Likewise.
72775         * sysdeps/generic/sysdep.h: Likewise.
72776         * sysdeps/i386/asm-syntax.h: Likewise.
72777         * sysdeps/s390/asm-syntax.h: Likewise.
72778         * sysdeps/unix/sysdep.h: Likewise.
72779         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
72780         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
72782 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
72784         * libio/libio.h: Remove __STDC__ conditionals.
72785         * malloc/obstack.h: Likewise.
72786         * math/complex.h: Likewise.
72787         * math/math.h: Likewise.
72788         * sysdeps/generic/_G_config.h: Likewise.
72789         * sysdeps/gnu/_G_config.h: Likewise.
72790         * sysdeps/mach/hurd/_G_config.h: Likewise.
72791         * sysdeps/powerpc/bits/mathdef.h: Likewise.
72792         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
72793         * sysdeps/sparc/bits/mathdef.h: Likewise.
72795 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
72797         [BZ #13583]
72798         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
72799         Clean up HAS_* macros.
72800         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
72801         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
72802         possible.
72803         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
72804         HAS_AVX.
72805         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
72806         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
72807         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
72808         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
72809         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
72811 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
72813         * elf/tst-unique3.cc (gets): Remove declaration.
72814         * elf/tst-unique3lib.cc (gets): Likewise.
72815         * elf/tst-unique3lib2.cc (gets): Likewise.
72816         * elf/tst-unique4.cc (gets): Likewise.
72818 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
72820         * include/stdio.h: Add C++ protection.  Add gets declarations and
72821         definitions.
72822         * debug/tst-chk1.c: Don't declare gets here.
72823         * stdio-common/tst-gets.c: Likewise.
72825 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
72827         * posix/glob: Remove directory.
72829 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
72831         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
72833 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
72835         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
72836         of the non-standard EPFNOSUPPORT.
72838 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72840         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
72841         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
72842         ANYWHERE set to 1 only on KERN_NO_SPACE error.
72844 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
72846         * wcsmbs/uchar.h: Test __STDC_VERSION__.
72848 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
72850         * nscd/aicache.c (addhstaiX): Do not cache negative results of
72851         transient errors.
72852         * nscd/grpcache.c (cache_addgr): Likewise.
72853         * nscd/hstcache.c (cache_addhst): Likewise.
72854         * nscd/initgrcache.c (addinitgroupsX): Likewise.
72855         * nscd/pwdcache.c (cache_addpw): Likewise.
72856         * nscd/servicescache.c (cache_addserv): Likewise.
72858 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
72860         * malloc/malloc.c: Various cleanups.
72861         * malloc/hooks.c: Likewise.
72863         * stdlib/Makefile (tests): Add bug-fmtmsg1.
72864         * stdlib/bug-fmtmsg1.c: New file.
72866         * stdlib/fmtmsg.c (init): Add missing unlock.
72867         Patch by Peng Haitao <penght@cn.fujitsu.com>.
72869 2012-01-12  Marek Polacek  <polacek@redhat.com>
72871         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
72872         and _GNU_SOURCE.
72874 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
72876         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
72877         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
72878         macro to ensure uniqueness of label name.
72879         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
72880         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
72882 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
72884         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
72886         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
72887         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
72888         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
72889         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
72891 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
72893         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
72895         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
72896         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
72897         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
72899         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
72901         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
72902         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
72903         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
72904         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
72906         * math/bits/math-finite.h: Add ldexp support.
72908 2012-01-10  Marek Polacek  <polacek@redhat.com>
72910         * locale/programs/localedef.h (show_archive_content): Add noreturn
72911         attribute.
72913 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
72915         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
72917 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
72919         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
72921         * io/Makefile (headers): Add bits/poll2.h.
72923 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
72925         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
72926         typo #include statement.
72928 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
72930         * include/sys/cdefs.h: Define __attribute_alloc_size.
72931         * catgets/gencat.c: Add alloc_size attribute and apply consistently
72932         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
72933         * elf/pldd.c: Likewise.
72934         * iconv/iconv_charmap.c: Likewise.
72935         * iconv/iconvconfig.c: Likewise.
72936         * iconv/strtab.c: Likewise.
72937         * locale/programs/locale.c: Likewise.
72938         * locale/programs/localedef.h: Likewise.
72939         * locale/programs/simple-hash.c: Likewise.
72940         * nscd/nscd.h: Likewise.
72941         * nss/makedb.c: Likewise.
72942         * sysdeps/generic/ldconfig.h: Likewise.
72943         * locale/programs/localedef.c: Remove xmalloc prototype.
72944         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
72946 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
72948         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
72949         appropriate.
72951 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
72953         * math/Makefile (tests): Add tst-CMPLX.
72954         * math/tst-CMPLX.c: New file.
72956         * math/complex.h (CMPLXL): Fix typo.
72958         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
72959         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
72960         GLIBC_2.16.
72961         * debug/tst-chk1.c: Add poll and ppoll tests.
72962         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
72963         * include/sys/poll.h: Add hidden proto for ppoll.
72964         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
72965         * sysdeps/mach/hurd/ppoll.c: Likewise.
72966         * io/ppoll.c: Likewise.
72967         * debug/poll_chk.c: New file.
72968         * debug/ppoll_chk.c: New file.
72969         * include/bits/poll2.h: New file.
72970         * io/bits/poll2.h: New file.
72972         [BZ #1350]
72973         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
72975         * configure.in: static is always set to yes.  Remove.
72976         * config.make.in: Don't set build-static.
72977         * Makeconfig: Remove use of build-static.
72978         * dlfcn/Makefile: Likewise.
72979         * elf/Makefile: Likewise.
72980         * math/Makefile: Likewise.
72981         * misc/Makefile: Likewise.
72982         * nptl/Makefile: Likewise.
72983         * sysdeps/mach/hurd/Makefile: Likewise.
72985         * configure.in: PWD_P is not used anymore.
72986         * config.make.in: Remove PWD_P entry.
72988         * configure.in: Remove last remnants of RANLIB.
72989         No need to check for signed size_t anymore.
72990         Don't set libc_commonpagesize and libc_relro_required here for Alpha
72991         and IA-64.
72992         Remove __builtin_expect test because we require at least gcc 3.4.
72993         * aclocal.m4: Likewise.
72995         * wcsmbs/mbrtoc16.c: Implement using towc function.
72996         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
72997         * wcsmbs/wcsmbsload.c: Likewise.
72998         * iconv/gconv_simple.c: Likewise.
72999         * iconv/gconv_int.h: Likewise.
73000         * iconv/gconv_builtin.h: Likewise.
73001         * iconv/iconv_prog.c: Remove CHAR16 handling.
73003         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
73005         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
73007         * configure.in: Remove --with-elf and --enable-bounded options.
73008         Dont set base_machine for ia64.  More non-ELF conditions removed.
73009         Remove testing and setting of leading underscore information.
73010         * config.make.in (build-bounded): Set to no.
73011         * config.h.in: Remove NO_UNDERSCORES entry.
73012         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
73013         them.
73014         * csu/start.c: Remove !NO_UNDERSCORE code.
73015         * locale/localeinfo.h: Likewise.
73016         * sysdeps/generic/machine-gmon.h: Likewise.
73017         * sysdeps/generic/sysdep.h: Likewise.
73018         * sysdeps/i386/sysdep.h: Likewise.
73019         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
73020         * sysdeps/mach/sysdep.h: Likewise.
73021         * sysdeps/s390/s390-32/sysdep.h: Likewise.
73022         * sysdeps/s390/s390-64/sysdep.h: Likewise.
73023         * sysdeps/sh/sysdep.h: Likewise.
73024         * sysdeps/sparc/sparc32/alloca.S: Likewise.
73025         * sysdeps/unix/i386/sysdep.S: Likewise.
73026         * sysdeps/unix/sparc/start.c: Likewise.
73027         * sysdeps/unix/sparc/sysdep.S: Likewise.
73028         * sysdeps/unix/sparc/sysdep.h: Likewise.
73029         * sysdeps/unix/start.c: Likewise.
73030         * sysdeps/unix/x86_64/sysdep.S: Likewise.
73031         * sysdeps/x86_64/sysdep.h: Likewise.
73033 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
73035         [BZ #13553]
73036         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
73037         for non-gcc.
73038         * argp/argp-fmtstream.h: Use const instead __const.
73039         * argp/argp.h: Likewise.
73040         * assert/assert.h: Likewise.
73041         * bits/fenv.h: Likewise.
73042         * bits/sched.h: Likewise.
73043         * bits/sigset.h: Likewise.
73044         * bits/sigthread.h: Likewise.
73045         * catgets/nl_types.h: Likewise.
73046         * conform/data/pthread.h-data: Likewise.
73047         * crypt/crypt-private.h: Likewise.
73048         * crypt/crypt.h: Likewise.
73049         * crypt/crypt_util.c: Likewise.
73050         * ctype/ctype.h: Likewise.
73051         * debug/execinfo.h: Likewise.
73052         * debug/mbsnrtowcs_chk.c: Likewise.
73053         * debug/mbsrtowcs_chk.c: Likewise.
73054         * debug/wcsnrtombs_chk.c: Likewise.
73055         * debug/wcsrtombs_chk.c: Likewise.
73056         * debug/wcstombs_chk.c: Likewise.
73057         * dirent/dirent.h: Likewise.
73058         * dlfcn/dlfcn.h: Likewise.
73059         * elf/neededtest4.c: Likewise.
73060         * grp/grp.h: Likewise.
73061         * gshadow/gshadow.h: Likewise.
73062         * iconv/gconv.h: Likewise.
73063         * iconv/gconv_int.h: Likewise.
73064         * iconv/gconv_simple.c: Likewise.
73065         * iconv/iconv.h: Likewise.
73066         * iconv/loop.c: Likewise.
73067         * iconv/skeleton.c: Likewise.
73068         * include/aio.h: Likewise.
73069         * include/aliases.h: Likewise.
73070         * include/argz.h: Likewise.
73071         * include/arpa/inet.h: Likewise.
73072         * include/assert.h: Likewise.
73073         * include/dirent.h: Likewise.
73074         * include/dlfcn.h: Likewise.
73075         * include/execinfo.h: Likewise.
73076         * include/fcntl.h: Likewise.
73077         * include/fenv.h: Likewise.
73078         * include/glob.h: Likewise.
73079         * include/grp.h: Likewise.
73080         * include/libintl.h: Likewise.
73081         * include/mntent.h: Likewise.
73082         * include/netdb.h: Likewise.
73083         * include/pwd.h: Likewise.
73084         * include/rpc/netdb.h: Likewise.
73085         * include/sched.h: Likewise.
73086         * include/search.h: Likewise.
73087         * include/shadow.h: Likewise.
73088         * include/signal.h: Likewise.
73089         * include/stdio.h: Likewise.
73090         * include/stdlib.h: Likewise.
73091         * include/string.h: Likewise.
73092         * include/sys/socket.h: Likewise.
73093         * include/sys/stat.h: Likewise.
73094         * include/sys/statfs.h: Likewise.
73095         * include/sys/statvfs.h: Likewise.
73096         * include/sys/syslog.h: Likewise.
73097         * include/sys/time.h: Likewise.
73098         * include/sys/uio.h: Likewise.
73099         * include/time.h: Likewise.
73100         * include/unistd.h: Likewise.
73101         * include/utmp.h: Likewise.
73102         * include/wchar.h: Likewise.
73103         * include/wctype.h: Likewise.
73104         * inet/aliases.h: Likewise.
73105         * inet/arpa/inet.h: Likewise.
73106         * inet/netinet/ether.h: Likewise.
73107         * inet/netinet/in.h: Likewise.
73108         * intl/libintl.h: Likewise.
73109         * io/bits/fcntl2.h: Likewise.
73110         * io/fcntl.h: Likewise.
73111         * io/ftw.h: Likewise.
73112         * io/sys/poll.h: Likewise.
73113         * io/sys/stat.h: Likewise.
73114         * io/sys/statfs.h: Likewise.
73115         * io/sys/statvfs.h: Likewise.
73116         * io/utime.h: Likewise.
73117         * libio/bits/stdio.h: Likewise.
73118         * libio/bits/stdio2.h: Likewise.
73119         * libio/libio.h: Likewise.
73120         * libio/libioP.h: Likewise.
73121         * libio/stdio.h: Likewise.
73122         * locale/lc-ctype.c: Likewise.
73123         * locale/locale.h: Likewise.
73124         * login/utmp.h: Likewise.
73125         * malloc/arena.c: Likewise.
73126         * malloc/malloc.c: Likewise.
73127         * malloc/malloc.h: Likewise.
73128         * malloc/mcheck.c: Likewise.
73129         * malloc/mtrace.c: Likewise.
73130         * math/bits/mathcalls.h: Likewise.
73131         * math/fenv.h: Likewise.
73132         * math/math_private.h: Likewise.
73133         * misc/bits/error.h: Likewise.
73134         * misc/bits/syslog.h: Likewise.
73135         * misc/err.h: Likewise.
73136         * misc/error.h: Likewise.
73137         * misc/fstab.h: Likewise.
73138         * misc/mntent.h: Likewise.
73139         * misc/regexp.h: Likewise.
73140         * misc/search.h: Likewise.
73141         * misc/sgtty.h: Likewise.
73142         * misc/sys/mman.h: Likewise.
73143         * misc/sys/syslog.h: Likewise.
73144         * misc/sys/uio.h: Likewise.
73145         * misc/sys/xattr.h: Likewise.
73146         * misc/ttyent.h: Likewise.
73147         * nis/rpcsvc/ypclnt.h: Likewise.
73148         * nss/nss.h: Likewise.
73149         * posix/bits/unistd.h: Likewise.
73150         * posix/fnmatch.h: Likewise.
73151         * posix/glob.h: Likewise.
73152         * posix/sched.h: Likewise.
73153         * posix/spawn.h: Likewise.
73154         * posix/sys/wait.h: Likewise.
73155         * posix/unistd.h: Likewise.
73156         * posix/wordexp.h: Likewise.
73157         * pwd/pwd.h: Likewise.
73158         * resolv/netdb.h: Likewise.
73159         * resource/sys/resource.h: Likewise.
73160         * rt/aio.h: Likewise.
73161         * rt/bits/mqueue2.h: Likewise.
73162         * rt/mqueue.h: Likewise.
73163         * shadow/shadow.h: Likewise.
73164         * signal/signal.h: Likewise.
73165         * socket/send.c: Likewise.
73166         * socket/sendto.c: Likewise.
73167         * socket/sys/socket.h: Likewise.
73168         * stdio-common/printf.h: Likewise.
73169         * stdlib/bits/stdlib.h: Likewise.
73170         * stdlib/fmtmsg.h: Likewise.
73171         * stdlib/monetary.h: Likewise.
73172         * stdlib/stdlib.h: Likewise.
73173         * stdlib/ucontext.h: Likewise.
73174         * streams/stropts.h: Likewise.
73175         * string/argz.h: Likewise.
73176         * string/bits/string2.h: Likewise.
73177         * string/string.h: Likewise.
73178         * string/strings.h: Likewise.
73179         * sunrpc/rpc/auth.h: Likewise.
73180         * sunrpc/rpc/auth_des.h: Likewise.
73181         * sunrpc/rpc/clnt.h: Likewise.
73182         * sunrpc/rpc/netdb.h: Likewise.
73183         * sunrpc/rpc/pmap_clnt.h: Likewise.
73184         * sunrpc/rpc/xdr.h: Likewise.
73185         * sysdeps/generic/inttypes.h: Likewise.
73186         * sysdeps/generic/net/if.h: Likewise.
73187         * sysdeps/generic/sys/swap.h: Likewise.
73188         * sysdeps/gnu/net/if.h: Likewise.
73189         * sysdeps/gnu/utmpx.h: Likewise.
73190         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
73191         * sysdeps/i386/i486/bits/string.h: Likewise.
73192         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
73193         * sysdeps/s390/bits/string.h: Likewise.
73194         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
73195         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
73196         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
73197         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
73198         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
73199         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
73200         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
73201         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
73202         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
73203         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
73204         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
73205         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
73206         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
73207         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
73208         * sysdeps/unix/sysv/linux/readv.c: Likewise.
73209         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
73210         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
73211         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
73212         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
73213         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
73214         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
73215         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
73216         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
73217         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
73218         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
73219         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
73220         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
73221         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
73222         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
73223         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
73224         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
73225         * sysvipc/sys/ipc.h: Likewise.
73226         * sysvipc/sys/msg.h: Likewise.
73227         * sysvipc/sys/sem.h: Likewise.
73228         * sysvipc/sys/shm.h: Likewise.
73229         * termios/termios.h: Likewise.
73230         * time/sys/time.h: Likewise.
73231         * time/time.h: Likewise.
73232         * wcsmbs/bits/wchar2.h: Likewise.
73233         * wcsmbs/uchar.h: Likewise.
73234         * wcsmbs/wchar.h: Likewise.
73235         * wctype/wctype.h: Likewise.
73237         [BZ #13551]
73238         * Makeconfig: Remove all but ELF support including AIX support.
73239         * Makerules: Likewise.
73240         * config.h.in: Likewise.
73241         * config.make.in: Likewise.
73242         * configure: Likewise.
73243         * configure.in: Likewise.
73244         * csu/Makefile: Likewise.
73245         * csu/version.c: Likewise.
73246         * debug/Makefile: Likewise.
73247         * dlfcn/Makefile: Likewise.
73248         * elf/Makefile: Likewise.
73249         * extra-lib.mk: Likewise.
73250         * iconv/Makefile: Likewise.
73251         * include/libc-symbols.h: Likewise.
73252         * include/shlib-compat.h: Likewise.
73253         * resolv/Makefile: Likewise.
73254         * resolv/res_libc.c: Likewise.
73255         * rt/Makefile: Likewise.
73256         * sysdeps/i386/asm-syntax.h: Likewise.
73257         * sysdeps/i386/sysdep.h: Likewise.
73258         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
73259         * sysdeps/mach/sysdep.h: Likewise.
73260         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
73261         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
73262         * sysdeps/s390/asm-syntax.h: Likewise.
73263         * sysdeps/s390/s390-32/sysdep.h: Likewise.
73264         * sysdeps/s390/s390-64/sysdep.h: Likewise.
73265         * sysdeps/sh/sysdep.h: Likewise.
73266         * sysdeps/unix/sparc/sysdep.h: Likewise.
73267         * sysdeps/wordsize-32/divdi3.c: Likewise.
73268         * sysdeps/x86_64/sysdep.h: Likewise.
73270         * argp/Versions: Remove _argp_unlock_xxx.
73272         [BZ #13559]
73273         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
73274         * abilist/libBrokenLocale.abilist: Likewise.
73275         * abilist/libanl.abilist: Likewise.
73276         * abilist/libc.abilist: Likewise.
73277         * abilist/libcrypt.abilist: Likewise.
73278         * abilist/libdl.abilist: Likewise.
73279         * abilist/libm.abilist: Likewise.
73280         * abilist/libnsl.abilist: Likewise.
73281         * abilist/libpthread.abilist: Likewise.
73282         * abilist/libresolv.abilist: Likewise.
73283         * abilist/librt.abilist: Likewise.
73284         * abilist/libthread_db.abilist: Likewise.
73285         * abilist/libutil.abilist: Likewise.
73286         * abilist/libnss_db.abilist: New file.
73288         * scripts/abilist.awk: Add support for indirect functions.
73290         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
73292         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
73294         * shlib-versions: Remove entries for ports architectures.
73296         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
73297         files in ports.
73298         * elf/stackguard-macros.h: Remove support for IA-64.
73299         * elf/tst-auditmod1.c: Likewise.
73300         * sysdeps/generic/ldsodefs.h: Likewise.
73302         * sysdeps/unix/sysv/linux/configure.in: Ports should define
73303         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
73304         configure files.
73306         [BZ #13552]
73307         * configure.in: Remove --enable-omitfp support.
73308         * FAQ.in: Adjust.
73309         * config.make.in: Likewise.
73310         * Makeconfig: Likewise.
73311         * manual/install.texi: Likewise.
73313         In case anyone cares, the IA-64 architecture could move to ports.
73314         * sysdeps/ia64/*: Removed.
73315         * sysdeps/unix/sysv/linux/ia64/*: Removed.
73316         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
73318         [BZ #13555]
73319         * configure.in: Remove entries for unsupported architectures.
73321         [BZ #13533]
73322         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
73323         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
73324         routines.
73325         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
73326         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
73327         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
73328         fall back to using wcrtomb.
73329         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
73330         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
73331         renaming.
73332         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
73333         * wcsmbs/tst-c16c32-1.c: New file.
73335         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
73336         local variable.
73338         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
73340         * elf/tst-unique3.cc: Add explicit declaration of gets.
73341         * elf/tst-unique3lib.cc: Likewise.
73342         * elf/tst-unique3lib2.cc: Likewise.
73343         * elf/tst-unique4.cc: Likewise.
73345         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
73347 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
73349         [BZ #13566]
73350         * assert/assert.h (static_assert): Don't define for C++.
73351         * libio/stdio.h (gets): Do declare for C++ <= C++11.
73352         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
73354 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
73356         * iconv/loop.c (single loop): Fix assertion in storing of
73357         remaining bytes.
73359         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
73361 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
73363         * posix/getconf.c: Update copyright year.
73364         * nss/getent.c: Likewise.
73365         * nss/makedb.c: Likewise.
73366         * iconv/iconvconfig.c: Likewise.
73367         * iconv/iconv_prog.c: Likewise.
73368         * elf/ldconfig.c: Likewise.
73369         * elf/pldd.c: Likewise.
73370         * elf/sotruss.ksh: Likewise.
73371         * catgets/gencat.c: Likewise.
73372         * csu/version.c: Likewise.
73373         * elf/ldd.bash.in: Likewise.
73374         * elf/sprof.c (print_version): Likewise.
73375         * locale/programs/locale.c: Likewise.
73376         * locale/programs/localedef.c: Likewise.
73377         * login/programs/pt_chown.c: Likewise.
73378         * nscd/nscd.c (print_version): Likewise.
73379         * debug/xtrace.sh: Likewise.
73380         * malloc/memusage.sh: Likewise.
73381         * malloc/mtrace.pl: Likewise.
73382         * debug/catchsegv.sh: Likewise.
73384 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
73386         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
73387         pure attribute.
73389 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
73391         [BZ #13533]
73392         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
73393         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
73394         transformations.
73395         * iconv/gconv_int.h: Likewise.
73396         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
73397         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
73398         from libc for GLIBC_2.16.
73399         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
73400         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
73401         * wcsmbs/uchar.h: Really define mbstate_t.
73402         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
73403         * wcsmbs/c16rtomb.c: New file.
73404         * wcsmbs/mbrtoc16.c: New file.
73405         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
73406         for C/POSIX locale.
73407         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
73408         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
73410         * wcsmbs/wchar.h: Add missing __restrict.
73412 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
73414         [BZ #13532]
73415         * time/Makefile (routines): Add timespec_get.
73416         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
73417         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
73418         timespec for ISO C11.
73419         * time/timespec_get.c: New file.
73420         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
73421         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
73423         [BZ #13531]
73424         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
73425         * stdlib/stdlib.h: Declare aligned_alloc.
73426         * Versions.def: Add GLIBC_2.16 for libc.
73427         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
73429         [BZ 13527]
73430         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
73431         ISO C11.
73433         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
73434         code.
73436         [BZ #13528]
73437         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
73439         [BZ #13529]
73440         * assert/assert.h (static_assert): Define.
73442         * version.h: Update for 2.16 development version.
73444         [BZ #13526]
73445         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
73446         _ISOC11_SOURCE.
73448         * version.h (RELEASE): Bump for 2.15 release.
73449         * include/features.h (__GLIBC_MINOR__): Bump to 15.
73451         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
73452         Patch by Marek Polacek <mpolacek@redhat.com>.
73454         * bits/byteswap.h: Protect long long constants with __extension__.
73455         * sysdeps/i386/bits/byteswap.h: Likewise.
73456         * sysdeps/ia64/bits/byteswap.h: Likewise.
73457         * sysdeps/s390/bits/byteswap.h: Likewise.
73458         * sysdeps/x86_64/bits/byteswap.h: Likewise.
73460 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73462         [BZ #13540]
73463         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
73464         destination buffer.
73465         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
73467 2011-12-23  Marek Polacek  <polacek@redhat.com>
73469         * elf/dl-addr.c (determine_info): Add inline keyword.
73470         * elf/tst-auditmod4b.c (check_avx): Likewise.
73471         * elf/tst-auditmod6b.c (check_avx): Likewise.
73472         * elf/tst-auditmod6c.c (check_avx): Likewise.
73473         * elf/tst-auditmod7b.c (check_avx): Likewise.
73475 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
73477         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
73478         !__SSE_MATH__.
73480 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73482         [BZ #13540]
73483         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
73484         processing for last bytes.
73486 2011-08-06  Bruno Haible  <bruno@clisp.org>
73488         [BZ #13061]
73489         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
73490         U+0385, not to U+1FEE.
73492         [BZ #13062]
73493         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
73494         entry for U+00A5 U+0301.
73496 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
73498         [BZ #13166]
73499         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
73500         buffer for the output is too small.
73502         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
73503         optimization.
73505         [BZ #13185]
73506         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
73507         SSE flags if possible.
73509 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73511         [BZ #13540]
73512         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
73513         processing for last bytes.
73515 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
73517         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
73518         (syscall-list-default-options, syscall-list-default-condition)
73519         (syscall-list-includes): Define.
73520         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
73521         list of ABIs and options and #if conditions for each ABI.  Do not
73522         handle common syscalls between ABIs specially.
73523         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
73524         Remove.
73525         (syscall-list-variants, syscall-list-32bit-options)
73526         (syscall-list-32bit-condition, syscall-list-64bit-options)
73527         (syscall-list-64bit-condition): Define.
73528         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
73529         (syscall-list-variants, syscall-list-32bit-options)
73530         (syscall-list-32bit-condition, syscall-list-64bit-options)
73531         (syscall-list-64bit-condition): Define.
73532         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
73533         Remove.
73534         (syscall-list-variants, syscall-list-32bit-options)
73535         (syscall-list-32bit-condition, syscall-list-64bit-options)
73536         (syscall-list-64bit-condition): Define.
73537         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
73538         Remove.
73539         (syscall-list-variants, syscall-list-32bit-options)
73540         (syscall-list-32bit-condition, syscall-list-64bit-options)
73541         (syscall-list-64bit-condition): Define.
73543 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
73545         * locale/iso-639.def: Add brx entry.
73547         [BZ #13328]
73548         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
73549         Proposed by Mariusz_Cukr <marcukr@op.pl>.
73551         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
73552         __feraiseexcept_renamed.
73554 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
73556         [BZ #13538]
73557         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
73558         EPOLLET with unsigned values.
73559         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
73560         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
73562         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
73563         to large cancellation.
73564         * math/s_cacoshf.c: Likewise.
73565         * math/s_cacoshl.c: Likewise.
73567 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
73569         [BZ #13305]
73570         [BZ #12786]
73571         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
73572         * math/s_cacoshf.c: Likewise.
73573         * math/s_cacoshl.c: Likewise.
73575 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
73577         [BZ #13439]
73578         * iconv/gconv.h: Define __GCONV_SWAP.
73579         * iconvdata/unicode.c: The swap bit must be stored in __flags.
73580         * iconvdata/utf-16.c: Likewise.
73581         * iconvdata/utf-32.c: Likewise.
73583 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
73585         [BZ #13524]
73586         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
73587         numerator after shifting it by one limb.
73589 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
73591         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
73592         under [__USE_EXTERN_INLINES].
73594 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
73596         [BZ #13446]
73597         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
73599 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73601         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
73602         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
73603         optimized code.
73604         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
73605         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
73606         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
73607         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
73608         for strncasecmp/strncasecmp_l compilation.
73609         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
73610         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
73612 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
73614         [BZ #13484]
73615         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
73616         of __asm__.
73618 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
73620         [BZ #13506]
73621         * time/tzfile.c (__tzfile_read): Check values from file header.
73623 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
73625         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
73626         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
73627         * powerpc/powerpc32/dl-start.S: Likewise.
73628         * powerpc/powerpc32/elf/start.S: Likewise.
73629         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
73630         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
73631         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
73632         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
73633         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
73634         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
73635         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
73636         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
73637         * powerpc/powerpc32/fpu/s_round.S: Likewise.
73638         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
73639         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
73640         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
73641         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
73642         * powerpc/powerpc32/memset.S: Likewise.
73643         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
73644         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
73645         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
73646         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
73647         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
73648         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
73649         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
73650         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
73651         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
73652         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
73653         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
73654         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
73655         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
73657 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73659         * math/libm-test.inc: Added more nearbyint tests.
73660         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
73661         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
73662         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
73663         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
73665 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
73667         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
73668         FD_CLOEXEC.
73670 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73672         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
73673         Add wcscpy-ssse3 wcscpy-c.
73674         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
73675         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
73676         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
73677         * sysdeps/x86_64/wcschr.S: New file.
73678         * sysdeps/x86_64/wcsrchr.S: New file.
73679         * string/test-strcmp.c: Remove checking of wcscmp function for
73680         wrong alignments.
73681         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
73682         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
73683         wcsrchr-sse2 wcsrchr-c.
73684         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
73685         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
73686         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
73687         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
73688         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
73689         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
73690         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
73691         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
73692         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
73693         * wcsmbc/wcschr.c (WCSCHR): New macro.
73695 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73697         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
73698         * wcsmbs/test-wcsrchr.c: New file.
73699         * string/test-strrchr.c: Add wcsrchr support.
73700         (WIDE): New macro.
73701         * wcsmbs/test-wcscpy.c: New file.
73702         * string/test-strcpy.c: Add wcscpy support.
73703         (WIDE): New macro.
73705 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
73707         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
73708         the inner loop.
73710 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
73712         [BZ #13472]
73713         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
73715 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
73717         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
73718         Minor optimizations.
73720         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
73721         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
73722         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
73724 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
73726         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
73727         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
73728         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
73729         for gcc to avoid warnings.
73730         * inet/Makefile (tests): Add tst-checks.
73731         * inet/tst-checks.c: New file.
73733         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
73734         warning.
73736         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
73737         __wmemcmp_sse2.
73739         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
73740         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
73742         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
73744 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
73746         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
73747         problem.
73749         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
73751 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
73753         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
73754         conditional on GCC version.
73755         (__arch_compare_and_exchange_val_8_acq)
73756         (__arch_compare_and_exchange_val_16_acq)
73757         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
73758         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
73759         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
73761 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
73763         * sysdeps/sh/backtrace.c: New file.
73765 2011-12-02  Andreas Schwab  <schwab@redhat.com>
73767         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
73768         parenthesis.
73770 2011-12-01  Andreas Schwab  <schwab@redhat.com>
73772         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
73773         falling back to utime.
73775 2011-11-30  Andreas Schwab  <schwab@redhat.com>
73777         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
73778         expectations for float.
73780 2011-11-29  Andreas Schwab  <schwab@redhat.com>
73782         * locale/weight.h (findidx): Add parameter len.
73783         * locale/weightwc.h (findidx): Likewise.
73784         * posix/fnmatch_loop.c (FCT): Adjust caller.
73785         * posix/regcomp.c (build_equiv_class): Likewise.
73786         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
73787         * posix/regexec.c (check_node_accept_bytes): Likewise.
73788         * string/strcoll_l.c (STRCOLL): Likewise.
73789         * string/strxfrm_l.c (STRXFRM): Likewise.
73791 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
73793         * Makefile.in: Remove CVSOPT handling.
73794         * configure.in: Remove use of AC_REVISION.
73795         * iconvdata/Makefile (distribute): No need to filter out CVS.
73796         * scripts/list-sources.sh: Remove CVS, subversion and monotone
73797         handling.
73799 2011-11-16  Andreas Schwab  <schwab@redhat.com>
73801         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
73802         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
73803         [USE_AS_STRNCASECMP_L]: Likewise.
73804         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
73805         NO_TLS_DIRECT_SEG_REFS.
73806         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
73807         Fix argument offsets for non-PIC.
73808         [USE_AS_STRNCASECMP_L]: Likewise.
73809         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
73810         NO_TLS_DIRECT_SEG_REFS.
73812 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
73814         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
73815         O_CLOEXEC.
73816         * locale/loadlocale.c (_nl_load_locale): Likewise.
73818 2011-11-15  Andreas Schwab  <schwab@redhat.com>
73820         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
73821         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
73822         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
73823         (SYSCALL_GETTIME): Set errno on error.
73825         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
73826         count references to noai6ai_cached.
73828 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
73830         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
73832         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
73833         FD_CLOEXEC for /proc/self/maps.
73835         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
73836         FD_CLOEXEC for /proc/meminfo.
73838         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
73839         gai.conf.
73841         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
73842         FD_CLOEXEC for given file.
73844         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
73846         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
73847         FD_CLOEXEC for /etc/hosts.
73848         (_gethtent): Likewise.
73850         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
73852         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
73853         cancellation and set FD_CLOEXEC for /etc/netgroup.
73855         * nss/nss_files/files-key.c (search): Don't allow cancellation when
73856         reading /etc/publickey.
73858         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
73859         allow cancellation when reading /etc/group.
73861         * nss/nss_files/files-alias.c (internal_setent): Don't allow
73862         cancellation.
73863         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
73865         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
73866         when using data file.
73868         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
73870         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
73871         (write_nis_obj): Use "c" and "e" in fopen.
73873         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
73875         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
73877         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
73879         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
73881         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
73882         locale.alias.
73884         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
73886         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
73888         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
73890         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
73891         file parsing and set FD_CLOEXEC.
73893 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
73895         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
73897 2011-11-14  Andreas Schwab  <schwab@redhat.com>
73899         * malloc/arena.c (arena_get2): Don't call reused_arena when
73900         _int_new_arena failed.
73902 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
73904         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
73905         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
73906         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
73907         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
73908         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
73909         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
73910         to compile strcasecmp and strncasecmp.
73911         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
73912         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
73914         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
73916 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
73918         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
73919         locale-defines.sym to gen-as-const-headers.
73920         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
73921         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
73922         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
73923         to compile strcasecmp and strncasecmp.
73924         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
73925         strcasecmp_l and strncasecmp_l.
73926         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
73927         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
73928         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
73929         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
73930         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
73931         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
73932         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
73933         * sysdeps/i386/i686/multiarch/strncase.S: New file.
73934         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
73935         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
73936         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
73938 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
73940         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
73941         result of SYSDEP_GETTIME_CPU to retval.
73942         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
73943         parameter list to macro.  Remove trailing semicolon.  Adjust users.
73945         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
73946         variable.
73948         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
73949         mantissa words.
73950         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
73952         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
73953         from unused variable.
73955         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
73956         DWARF definitions.
73957         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
73958         for assembling.
73960         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
73961         over namespaces.
73963         * sunrpc/rpc_prot.c (rejected): Fix case value.
73965         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
73966         unsigned long long int to avoid warnings in shift.
73968         * posix/regex_internal.c (re_string_reconstruct): Actually use result
73969         of use of trans.
73970         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
73971         variable tmp.
73973         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
73974         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
73975         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
73977         * nis/nis_table.c (nis_list): Use variable of correct type for
73978         result of __follow_path call.
73980 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73982         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
73983         of math functions ceil, trunc, floor, round, and sqrt, when
73984         avaliable on the platform.
73985         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
73986         name clash.
73987         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
73988         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
73989         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
73991 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
73993         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
73994         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
73996 2011-11-11  Roland McGrath  <roland@hack.frob.com>
73998         * include/unistd.h: Fix __readlink return type.
73999         Reported by Chris Metcalf <cmetcalf@tilera.com>.
74001 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
74003         * stdlib/ucontext.h: Undo last change for makecontext.
74005 2011-11-11  Andreas Schwab  <schwab@redhat.com>
74007         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
74009         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
74010         * setjmp/setjmp.h: Mark functions as non-leaf.
74011         * setjmp/bits/setjmp2.h: Likewise.
74012         * stdlib/ucontext.h: Likewise.
74014 2011-11-10  Andreas Schwab  <schwab@redhat.com>
74016         * malloc/arena.c (_int_new_arena): Don't increment narenas.
74017         (reused_arena): Don't check arena limit.
74018         (arena_get2): Atomically check arena limit.
74020 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
74022         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
74023         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
74025         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
74026         instructions.
74028 2011-11-07  Andreas Schwab  <schwab@redhat.com>
74030         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
74031         handler when locking.
74033         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
74034         Fix size of allocated buffer.
74036 2011-11-04  Andreas Schwab  <schwab@redhat.com>
74038         [BZ #10103]
74039         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
74040         declarations for long double functions.
74041         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
74043         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
74045 2011-11-03  Andreas Schwab  <schwab@redhat.com>
74047         * nscd/nscd.c (main): Don't start AVC thread until credentials are
74048         installed.
74050         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
74051         is disabled.
74053 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74055         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
74057 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
74059         * include/alloca.h (stackinfo_alloca_round): Define.
74060         (extend_alloca): Use it.
74061         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
74062         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
74063         here.
74065         * scripts/check-local-headers.sh: Ignore libaudit.h.
74067         * nscd/Makefile (extra-objs): Make recursively expanded.
74069 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
74071         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
74072         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
74074         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
74075         * posix/tst-rfc3484-2.c: Likewise.
74076         * posix/tst-rfc3484-3.c: Likewise.
74078         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
74079         process_vm_writev.
74080         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
74081         process_vm_writev.
74082         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
74083         process_vm_writev from libc using GLIBC_2.15 version.
74085         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
74087 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
74089         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
74090         stack usage.
74092 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
74094         [BZ #13367]
74095         * nss/getent.c (initgroups_keys): Show error message in case no group
74096         names are given.
74098         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
74099         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
74100         __bump_nl_timestamp.
74101         * nscd/connections (nscd_init): When host database is served open
74102         netlink socket and request notification about configuration changes.
74103         (main_loop_poll): Track netlink file descriptor and bump timestamp
74104         in case data becomes available.
74105         (main_loop_epoll): Likewise.
74106         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
74107         (database_pers_head): Add extra_data fileds.
74108         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
74109         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
74110         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
74111         Adjust caller.
74112         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
74113         in6ai data, call __free_in6ai.
74114         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
74115         Add -DHAVE_NETLINK.
74116         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
74117         interface information.  Reuse previous data if netlink timestamp
74118         is not changed.
74119         (__bump_nl_timestamp): New function.
74120         (__free_in6ai): New function.
74122 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
74124         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
74125         close_not_cancel_no_status here.
74126         (__check_pf): Reorganize code a bit to not call close twice if OOM.
74128 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
74130         [BZ #13276]
74131         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
74132         return value.
74134         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
74135         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
74136         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
74138 2011-07-03  Andreas Jaeger  <aj@suse.de>
74140         [BZ #10709]
74141         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
74142         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
74143         * math/libm-test.inc (sin_test): Add test case.
74145 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
74147         [BZ #13337]
74148         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
74149         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
74151         * elf/chroot_canon.c (chroot_canon): Cleanups.
74153         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
74155         [BZ #13335]
74156         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
74157         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
74159         * string/test-strchr.c: Make usable for strchrnul testing.
74160         * string/test-strchrnul.c: New file.
74161         * string/Makefile (strop-tests): Add strchrnul.
74163         * po/it.po: Update from translation team.
74164         * po/es.po: Likewise.
74166 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
74168         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
74169         the three constants needed as parameters.  Drop the others.
74170         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
74171         __m128i_strloadu_tolower.
74172         Create and initialize variable zero and use it in all the places
74173         where _mm_setzero_si128 was used.
74175         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
74176         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
74177         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
74178         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
74179         anymore.
74180         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
74181         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
74182         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
74183         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
74184         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
74185         __mpranred, __mptan.
74186         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
74187         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
74188         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
74189         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
74190         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
74191         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
74192         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
74193         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
74194         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
74196 2011-10-28  Andreas Schwab  <schwab@redhat.com>
74198         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
74199         redefine if SHARED.
74200         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
74202         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
74203         wide char related routines to wcsmbs subdir.
74205 2011-10-27  Andreas Schwab  <schwab@redhat.com>
74207         [BZ #13344]
74208         * misc/sys/cdefs.h (__THROWNL): Define.
74209         * posix/unistd.h: Use __THREADNL instead of __THREAD
74210         for memory synchronization functions.
74212 2011-10-26  Roland McGrath  <roland@hack.frob.com>
74214         [BZ #13349]
74215         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
74216         doesn't exist.
74217         * manual/stdio.texi (Obstack Streams): Node removed.
74219 2011-10-26  Andreas Schwab  <schwab@redhat.com>
74221         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
74222         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
74223         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
74225         * math/math_private.h (math_force_eval): Allow non-addressable
74226         arguments.
74227         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
74229 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
74231         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
74232         file is not needed.
74234         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
74235         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
74236         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
74237         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
74238         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
74239         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
74240         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
74241         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
74242         Add AVX variants.
74243         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
74244         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
74245         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
74246         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
74247         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
74248         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
74249         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
74250         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
74251         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
74252         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
74253         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
74254         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
74255         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
74256         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
74257         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
74258         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
74259         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
74260         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
74261         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
74263         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
74264         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
74266         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
74267         place.  Use VEX encoding when compiling for AVX.
74269 2011-10-25  Andreas Schwab  <schwab@redhat.com>
74271         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
74272         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
74274         * string/test-strchr.c (do_test): Don't generate NUL bytes.
74276 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
74278         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
74279         useless if() expression.
74280         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
74281         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
74282         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
74283         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
74284         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
74285         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
74286         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
74287         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
74288         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
74289         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
74290         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
74291         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
74292         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
74293         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
74294         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
74295         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
74296         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
74297         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
74298         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
74300         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
74302 2011-10-25  Andreas Schwab  <schwab@redhat.com>
74304         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
74305         condition.
74306         * elf/dl-fini.c (_dl_sort_fini): Likewise.
74308 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
74310         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
74311         .text section.  Avoid duplicate constants.
74312         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
74313         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
74314         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
74315         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
74316         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
74317         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
74318         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
74319         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
74320         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
74321         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
74322         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
74323         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
74324         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
74325         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
74326         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
74327         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
74328         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
74329         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
74330         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
74331         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
74332         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
74333         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
74334         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
74335         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
74336         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
74337         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
74338         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
74339         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
74340         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
74341         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
74342         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
74343         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
74344         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
74345         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
74346         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
74347         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
74348         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
74349         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
74350         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
74351         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
74352         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
74353         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
74354         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
74355         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
74356         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
74358 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
74360         * sysdeps/x86_64/dla.h: Move to ...
74361         * sysdeps/x86_64/fpu/dla.h: ...here.
74362         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
74363         situations.  Use __builtin_fma only for gcc 4.6 and up.
74365         * config.make.in: Add have-mfma4 entry.
74366         * configure.in: Substitute libc_cv_cc_fma4.
74367         * math/Makefile (dbl-only-routines): Add sincostab.
74368         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
74369         Use __sincostab not sincos.
74370         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
74371         name is a macro.
74372         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
74373         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
74374         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
74375         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
74376         using __copysign.
74377         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
74378         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
74379         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
74380         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
74381         and __inv.
74382         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
74383         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
74384         __copysign.
74385         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
74386         define aliases when function name is a macro.
74387         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
74388         sysdeps/ieee754/dbl-64/sincos.tbl.
74389         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
74390         fma4-enabled routines.
74391         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
74392         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
74393         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
74394         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
74395         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
74396         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
74397         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
74398         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
74399         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
74400         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
74401         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
74402         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
74403         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
74404         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
74405         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
74406         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
74407         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
74408         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
74409         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
74410         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
74411         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
74412         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
74413         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
74414         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
74415         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
74416         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
74417         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
74418         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
74419         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
74420         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
74422         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
74423         rename.
74424         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
74425         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
74426         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
74427         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
74428         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
74429         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
74430         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
74431         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
74433 2011-10-24  Andreas Schwab  <schwab@redhat.com>
74435         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
74437 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
74439         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
74441         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
74442         prediction.
74443         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
74445         * string/strnlen.c: Don't define STRNLEN, reverse logic.
74446         Remove unused variable magic_bits.
74447         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
74449         * string/strnlen.c: Define and use STRNLEN macro.
74450         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
74451         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
74452         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
74453         * wcsmbs/wcslen.c: Define and use WCSLEN.
74454         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
74455         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
74456         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
74457         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
74458         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
74459         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
74460         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
74462 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74464         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
74465         strnlen-sse2-no-bsf.
74466         Rename strlen-no-bsf to strlen-sse2-no-bsf.
74467         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
74468         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
74469         Add strnlen support.
74470         (USE_AS_STRNLEN): New macro.
74471         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
74472         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
74473         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
74474         * sysdeps/x86_64/wcslen.S: New file.
74476 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
74478         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
74479         XMM-moves are used for copying on small sizes.
74481 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74483         * wcsmbs/Makefile (strop-tests): Add wcschr.
74484         * wcsmbs/test-wcschr.c: New file.
74485         * string/test-strchr.c: Update.
74486         Add wcschr support.
74487         (WIDE): New macro.
74489 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74491         * wcsmbs/Makefile (strop-tests): Add wcslen.
74492         * wcsmbs/test-wcslen.c: New file.
74493         * string/test-strlen.c: Update.
74494         Add wcslen support.
74495         (WIDE): New macro.
74497 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
74499         * po/it.po: Update from translation team.
74501 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74503         * sysdeps/x86_64/wcscmp.S: Update.
74504         Fix wrong comparison semantics.
74505         wcscmp shall use signed comparison not unsigned.
74506         Don't use substraction to avoid overflow bug.
74507         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
74508         * wcsmbc/wcscmp.c: Likewise.
74509         * string/test-strcmp.c: Likewise.
74510         Add new tests to check cases with negative values.
74512 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
74514         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
74515         * sysdeps/x86_64/dla.h: ...here.  New file.
74516         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
74517         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
74518         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
74519         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
74520         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
74521         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
74522         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
74523         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
74524         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
74526 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
74528         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
74529         __ynl_finite aliases.
74531 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
74533         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
74535         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
74536         define DLA_FMA.
74537         [DLA_FMA] (EMULV): Use DLA_FMA.
74538         [DLA_FMA] (MUL12): Use EMULV.
74539         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
74540         that are not needed.
74541         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
74542         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
74543         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
74544         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
74545         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
74546         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
74547         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
74549 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
74551         * math/s_nan.c: Undef __nan.
74552         * math/s_nanf.c: Undef __nanf.
74553         * math/s_nanl.c: Undef __nanl.
74554         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
74555         "math_private.h".
74557 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
74559         * math/s_catan.c: Add branch predictions.
74560         * math/s_catanf.c: Likewise.
74561         * math/s_catanh.c: Likewise.
74562         * math/s_catanhf.c: Likewise.
74563         * math/s_catanhl.c: Likewise.
74564         * math/s_catanl.c: Likewise.
74565         * math/s_cexp.c: Likewise.
74566         * math/s_cexpf.c: Likewise.
74567         * math/s_cexpl.c: Likewise.
74568         * math/s_clog.c: Likewise.
74569         * math/s_clog10.c: Likewise.
74570         * math/s_clog10f.c: Likewise.
74571         * math/s_clog10l.c: Likewise.
74572         * math/s_clogf.c: Likewise.
74573         * math/s_clogl.c: Likewise.
74574         * math/s_csqrt.c: Likewise.
74575         * math/s_csqrtf.c: Likewise.
74576         * math/s_csqrtl.c: Likewise.
74577         * math/s_ctanf.c: Likewise.
74578         * math/s_ctanh.c: Likewise.
74579         * math/s_ctanhf.c: Likewise.
74580         * math/s_ctanhl.c: Likewise.
74581         * math/s_ctanl.c: Likewise.
74583         * math/math_private.h: Define __nan, __nanf, __nanl.
74584         * math/s_cacosh.c: Include <math_private.h>.
74585         * math/s_cacoshl.c: Likewise.
74586         * math/s_casinh.c: Likewise.
74587         * math/s_casinhf.c: Likewise.
74588         * math/s_casinhl.c: Likewise.
74589         * math/s_ccos.c: Rely entire on ccosh.
74590         * math/s_ccosf.c: Rely entire on ccoshf.
74591         * math/s_ccosl.c: Rely entirely on ccoshl.
74592         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
74593         Remove tests for FE_INVALID.
74594         * math/s_ccoshf.c: Likewise.
74595         * math/s_ccoshl.c: Likewise.
74596         * math/s_csin.c: Likewise.
74597         * math/s_csinf.c: Likewise.
74598         * math/s_csinh.c Likewise.
74599         * math/s_csinhf.c: Likewise.
74600         * math/s_csinhl.c: Likewise.
74601         * math/s_csinl.c: Likewise.
74602         * math/s_ctan.c: Likewise.
74603         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
74604         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
74605         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
74607 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
74609         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
74610         compilation problems.
74612         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
74613         __builtin_expect.
74615 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
74617         * sysdeps/i386/configure.in: Test for -mfma4 option.
74618         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
74619         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
74620         COMMON_CPUID_INDEX_80000001.
74621         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
74622         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
74623         use it if FMA3 is not supported.
74624         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
74626         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
74627         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
74629 2011-10-20  Andreas Schwab  <schwab@redhat.com>
74631         [BZ #12892]
74632         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
74633         it would create a cycle with a link time dependency.
74635 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
74637         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
74638         instruction.
74639         * string/Makefile (strop-tests): Add rawmemchr.
74640         * string/test-rawmemchr.c: New file.
74642         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
74643         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
74644         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
74645         when compiling str{,n}casecmp and when AVX is available.  Hook up
74646         new optimized code in initializers.
74648 2011-10-19  Andreas Schwab  <schwab@redhat.com>
74650         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
74651         __feraiseexcept instead of feraiseexcept.
74653 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
74655         * math/math_private.h: Define defaults for libc_fetestexcept and
74656         libc_feupdateenv.
74657         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
74658         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
74659         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
74660         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
74661         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
74662         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
74663         libc_fetestexcept and libc_feupdateenv.
74665         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
74666         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
74667         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
74668         * sysdeps/x86_64/fpu/math_private.h: Define special version of
74669         libc_feholdexcept_setround.
74671         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
74672         Add s_nearbyint-c and s_nearbyintf-c.
74673         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
74674         nearbyintf inlines.
74675         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
74676         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
74677         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
74678         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
74680         * math/math_private.h: Define defaults for libc_fegetround,
74681         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
74682         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
74683         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
74684         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
74685         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
74686         standard functions.
74687         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
74688         Remove comments and hacks for old compiler versions.
74689         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
74690         libc_fegetround, libc_fesetround, libc_feholdexcept, and
74691         libc_feholdexceptl.
74693 2011-10-18  Andreas Schwab  <schwab@redhat.com>
74695         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
74696         (__feraiseexcept_renamed): Add __NTH.
74697         (feraiseexcept): Add __NTH.  Rename local variables to fix
74698         namespace violations.
74700 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
74702         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
74704         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
74706         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
74707         recently added interfaces.
74708         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
74710         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
74711         about macro parameter expansion.
74713         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
74714         __NO_MATH_INLINES is defined.  Cleanups.
74716         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
74717         and __floorf is target has SSE4.1.
74718         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
74719         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
74720         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
74721         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
74723         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
74724         name.
74725         (floorf): Likewise.
74727         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
74729 2011-10-17  Andreas Schwab  <schwab@redhat.com>
74731         * misc/sys/cdefs.h: Fix last change.
74733         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
74734         database lookup.
74736 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
74738         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
74740         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
74741         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
74742         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
74743         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
74744         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
74745         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
74746         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
74747         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
74748         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
74749         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
74750         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
74751         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
74752         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
74753         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
74754         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
74755         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
74756         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
74757         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
74758         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
74759         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
74760         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
74761         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
74763         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
74764         ceil, ceilf, floor, floorf.
74766         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
74767         Perform IRELATIVE relocations last.
74769         * elf/do-rel.h: Add another parameter nrelative, replacing the
74770         local variable with the same name.  Change name of the function
74771         to end in Rel or Rela (uppercase).
74772         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
74773         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
74774         elf_dynamic_do_##reloc function.
74776 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
74778         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
74779         is sufficient, at least on modern CPUs.
74781         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
74783         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
74784         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
74786         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
74787         __expl_finite.
74788         * math/bits/math-finite.h: Add entries for exp.
74789         * math/e_expl.c: Add __*_finite alias.
74790         * sysdeps/i386/fpu/e_exp.S: Likewise.
74791         * sysdeps/i386/fpu/e_expf.S: Likewise.
74792         * sysdeps/i386/fpu/e_expl.c: Likewise.
74793         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
74794         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
74795         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
74796         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
74797         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
74798         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
74799         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
74801         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
74802         is sufficient, at least on modern CPUs.
74804         * ctype/ctype-info.c (__ctype_init): Define.
74805         * include/ctype.h (__ctype_init): Declare.
74806         (__ctype_b_loc): The variable is always initialized.
74807         (__ctype_toupper_loc): Likewise.
74808         (__ctype_tolower_loc): Likewise.
74809         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
74810         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
74812 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
74814         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
74816         * configure.in: Also look in $cxxmachine/include for C++ system
74817         headers.
74819 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74821         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
74822         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
74823         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
74824         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
74825         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
74826         (USE_AS_WMEMCMP): New macro.
74827         Fixing indents.
74828         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
74829         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
74830         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
74831         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
74832         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
74833         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
74834         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
74835         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
74836         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
74837         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
74838         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
74839         (USE_AS_WMEMCMP): New macro.
74840         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
74841         * sysdeps/string/test-memcmp.c: Update.
74842         Fix simple_wmemcmp.
74843         Add new tests.
74844         * wcsmbs/wmemcmp.c: Update.
74845         (WMEMCMP): New macro.
74846         Fix overflow bug.
74848 2011-10-12  Andreas Jaeger  <aj@suse.de>
74850         [BZ #13268]
74851         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
74853 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
74855         * libio/iofwide.c (do_length): Avoid warning.
74857         * ctype/ctype.h (__isctype_f): Add missing __THROW.
74859 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
74861         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
74863         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
74864         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
74865         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
74866         * sysdeps/i386/i686/fpu/e_log.S: New file.
74867         * sysdeps/i386/i686/fpu/e_logf.S: New file.
74868         * sysdeps/i386/i686/fpu/e_logl.S: New file.
74870         * ctype/ctype.h: Add support for inlined isXXX functions when
74871         compiling C++ code.
74873 2011-10-14  Andreas Schwab  <schwab@redhat.com>
74875         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
74877         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
74879 2011-10-13  Roland McGrath  <roland@hack.frob.com>
74881         [BZ #13291]
74882         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
74884 2011-10-13  Andreas Schwab  <schwab@redhat.com>
74886         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
74887         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
74888         feraiseexcept.
74890         * sysdeps/x86_64/memrchr.S: Check for zero size.
74892         * string/stratcliff.c: Add memrchr tests.
74894 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74896         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
74897         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
74898         rawmemchr-sse2 rawmemchr-sse2-bsf.
74899         * sysdeps/i386/i686/multiarch/memchr.S: New file.
74900         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
74901         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
74902         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
74903         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
74904         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
74905         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
74906         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
74907         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
74908         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
74909         * string/memrchr.c (MEMRCHR): New macro.
74911 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
74913         Add integration with gcc's -ffinite-math-only and optimize wrapper
74914         functions in libm.
74915         * Versions.def: Define GLIBC_2.15 version for libm.
74916         * math/Makefile (headers): Add bits/math-finite.h.
74917         * math/bits/math-finite.h: New file.
74918         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
74919         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
74920         * math/e_acoshl.c: Add __*_finite alias.
74921         * math/e_acosl.c: Likewise.
74922         * math/e_asinl.c: Likewise.
74923         * math/e_atan2l.c: Likewise.
74924         * math/e_atanhl.c: Likewise.
74925         * math/e_coshl.c: Likewise.
74926         * math/e_exp10.c: Likewise.
74927         * math/e_exp10f.c: Likewise.
74928         * math/e_exp10l.c: Likewise.
74929         * math/e_exp2l.c: Likewise.
74930         * math/e_fmodl.c: Likewise.
74931         * math/e_gammal_r.c: Likewise.
74932         * math/e_hypotl.c: Likewise.
74933         * math/e_j0l.c: Likewise.
74934         * math/e_j1l.c: Likewise.
74935         * math/e_jnl.c: Likewise.
74936         * math/e_lgammal_r.c: Likewise.
74937         * math/e_log10l.c: Likewise.
74938         * math/e_log2l.c: Likewise.
74939         * math/e_logl.c: Likewise.
74940         * math/e_powl.c: Likewise.
74941         * math/e_sinhl.c: Likewise.
74942         * math/e_sqrtl.c: Likewise.
74943         * math/e_scalb.c: Completely rewritten and optimized.
74944         * math/e_scalbf.c: Likewise.
74945         * math/e_scalbl.c: Likewise.
74946         * math/w_acos.c: Likewise.
74947         * math/w_acosf.c: Likewise.
74948         * math/w_acosl.c: Likewise.
74949         * math/w_acosh.c: Likewise.
74950         * math/w_acoshf.c: Likewise.
74951         * math/w_acoshl.c: Likewise.
74952         * math/w_asin.c: Likewise.
74953         * math/w_asinf.c: Likewise.
74954         * math/w_asinl.c: Likewise.
74955         * math/w_atan2.c: Likewise.
74956         * math/w_atan2f.c: Likewise.
74957         * math/w_atan2l.c: Likewise.
74958         * math/w_atanh.c: Likewise.
74959         * math/w_atanhf.c: Likewise.
74960         * math/w_atanhl.c: Likewise.
74961         * math/w_exp10.c: Likewise.
74962         * math/w_exp10f.c: Likewise.
74963         * math/w_exp10l.c: Likewise.
74964         * math/w_fmod.c: Likewise.
74965         * math/w_fmodf.c: Likewise.
74966         * math/w_fmodl.c: Likewise.
74967         * math/w_j0.c: Likewise.
74968         * math/w_j0f.c: Likewise.
74969         * math/w_j0l.c: Likewise.
74970         * math/w_j1.c: Likewise.
74971         * math/w_j1f.c: Likewise.
74972         * math/w_j1l.c: Likewise.
74973         * math/w_jn.c: Likewise.
74974         * math/w_jnf.c: Likewise.
74975         * math/w_log.c: Likewise.
74976         * math/w_logf.c: Likewise.
74977         * math/w_logl.c: Likewise.
74978         * math/w_log10.c: Likewise.
74979         * math/w_log10f.c: Likewise.
74980         * math/w_log10l.c: Likewise.
74981         * math/w_log2.c: Likewise.
74982         * math/w_log2f.c: Likewise.
74983         * math/w_log2l.c: Likewise.
74984         * math/w_pow.c: Likewise.
74985         * math/w_powf.c: Likewise.
74986         * math/w_powl.c: Likewise.
74987         * math/w_remainder.c: Likewise.
74988         * math/w_remainderf.c: Likewise.
74989         * math/w_remainderl.c: Likewise.
74990         * math/w_scalb.c: Likewise.
74991         * math/w_scalbf.c: Likewise.
74992         * math/w_scalbl.c: Likewise.
74993         * math/w_sqrt.c: Likewise.
74994         * math/w_sqrtf.c: Likewise.
74995         * math/w_sqrtl.c: Likewise.
74996         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
74997         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
74998         used.
74999         * math/math_private.h: Declare __kernel_standard_f.
75000         * math/w_cosh.c: Remove cruft and optimize a bit.
75001         * math/w_coshf.c: Likewise.
75002         * math/w_coshl.c: Likewise.
75003         * math/w_exp2.c: Likewise.
75004         * math/w_exp2f.c: Likewise.
75005         * math/w_exp2l.c: Likewise.
75006         * math/w_hypot.c: Likewise.
75007         * math/w_hypotf.c: Likewise.
75008         * math/w_hypotl.c: Likewise.
75009         * math/w_lgamma.c: Likewise.
75010         * math/w_lgamma_r.c: Likewise.
75011         * math/w_lgammaf.c: Likewise.
75012         * math/w_lgammaf_r.c: Likewise.
75013         * math/w_lgammal.c: Likewise.
75014         * math/w_lgammal_r.c: Likewise.
75015         * math/w_sinh.c: Likewise.
75016         * math/w_sinhf.c: Likewise.
75017         * math/w_sinhl.c: Likewise.
75018         * math/w_tgamma.c: Likewise.
75019         * math/w_tgammaf.c: Likewise.
75020         * math/w_tgammal.c: Likewise.
75021         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
75022         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
75023         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
75024         Minor optimizations.  Pretty printing.  Remove cruft.
75025         * sysdeps/i386/fpu/e_acosf.S: Likewise.
75026         * sysdeps/i386/fpu/e_acosh.S: Likewise.
75027         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
75028         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
75029         * sysdeps/i386/fpu/e_acosl.c: Likewise.
75030         * sysdeps/i386/fpu/e_asin.S: Likewise.
75031         * sysdeps/i386/fpu/e_asinf.S: Likewise.
75032         * sysdeps/i386/fpu/e_atan2.S: Likewise.
75033         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
75034         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
75035         * sysdeps/i386/fpu/e_atanh.S: Likewise.
75036         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
75037         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
75038         * sysdeps/i386/fpu/e_exp10.S: Likewise.
75039         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
75040         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
75041         * sysdeps/i386/fpu/e_exp2.S: Likewise.
75042         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
75043         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
75044         * sysdeps/i386/fpu/e_fmod.S: Likewise.
75045         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
75046         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
75047         * sysdeps/i386/fpu/e_hypot.S: Likewise.
75048         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
75049         * sysdeps/i386/fpu/e_log.S: Likewise.
75050         * sysdeps/i386/fpu/e_log10.S: Likewise.
75051         * sysdeps/i386/fpu/e_log10f.S: Likewise.
75052         * sysdeps/i386/fpu/e_log10l.S: Likewise.
75053         * sysdeps/i386/fpu/e_log2.S: Likewise.
75054         * sysdeps/i386/fpu/e_log2f.S: Likewise.
75055         * sysdeps/i386/fpu/e_log2l.S: Likewise.
75056         * sysdeps/i386/fpu/e_logf.S: Likewise.
75057         * sysdeps/i386/fpu/e_logl.S: Likewise.
75058         * sysdeps/i386/fpu/e_pow.S: Likewise.
75059         * sysdeps/i386/fpu/e_powf.S: Likewise.
75060         * sysdeps/i386/fpu/e_powl.S: Likewise.
75061         * sysdeps/i386/fpu/e_remainder.S: Likewise.
75062         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
75063         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
75064         * sysdeps/i386/fpu/e_scalb.S: Likewise.
75065         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
75066         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
75067         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
75068         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
75069         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
75070         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
75071         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
75072         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
75073         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
75074         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
75075         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
75076         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
75077         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
75078         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
75079         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
75080         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
75081         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
75082         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
75083         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
75084         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
75085         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
75086         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
75087         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
75088         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
75089         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
75090         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
75091         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
75092         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
75093         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
75094         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
75095         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
75096         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
75097         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
75098         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
75099         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
75100         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
75101         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
75102         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
75103         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
75104         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
75105         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
75106         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
75107         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
75108         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
75109         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
75110         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
75111         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
75112         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
75113         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
75114         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
75115         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
75116         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
75117         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
75118         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
75119         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
75120         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
75121         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
75122         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
75123         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
75124         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
75125         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
75126         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
75127         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
75128         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
75129         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
75130         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
75131         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
75132         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
75133         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
75134         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
75135         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
75136         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
75137         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
75138         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
75139         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
75140         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
75141         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
75142         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
75143         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
75144         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
75145         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
75146         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
75147         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
75148         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
75149         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
75150         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
75151         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
75152         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
75153         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
75154         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
75155         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
75156         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
75157         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
75158         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
75159         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
75160         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
75161         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
75162         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
75163         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
75164         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
75165         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
75166         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
75167         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
75168         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
75169         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
75170         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
75171         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
75172         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
75173         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
75174         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
75175         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
75176         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
75177         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
75178         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
75179         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
75180         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
75181         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
75182         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
75183         (__isnanf): Likewise.
75184         (__isinf_ns): Likewise.
75185         (__isinf_nsf): Likewise.
75186         (__finite): Likewise.
75187         (__finitef): Likewise.
75188         (__ieee754_sqrt): Define as macro.
75189         (__ieee754_sqrtf): Define as macro.
75190         (__ieee754_sqrtl): Define as macro.
75191         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
75192         inlined copy.
75193         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
75194         __FINITE_MATH_ONLY__ consistent.
75195         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
75197 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
75199         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
75200         of rawmemchr.
75202         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
75204 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
75206         * po/ja.po: Update from translation team.
75208 2011-10-08  Roland McGrath  <roland@hack.frob.com>
75210         * locale/programs/locarchive.c (prepare_address_space): New function.
75211         (create_archive, enlarge_archive, open_archive): Use it.
75213         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
75214         inside [SHARED], where it is used.
75216         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
75218         * nss/getent.c (netgroup_keys): Remove unused variable.
75219         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
75221 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
75223         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
75224         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
75225         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
75226         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
75227         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
75228         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
75229         * math/Makefile (libm-calls): Add s_isinf_ns.
75230         * math/divtc3.c: Use __isinf_nsl instead of isinf.
75231         * math/multc3.c: Likewise.
75232         * math/s_casin.c: Likewise.
75233         * math/s_casinf.c: Likewise.
75234         * math/s_casinl.c: Likewise.
75235         * math/s_ccos.c: Likewise.
75236         * math/s_ccosf.c: Likewise.
75237         * math/s_ccosl.c: Likewise.
75238         * math/s_ctan.c: Likewise.
75239         * math/s_ctanf.c: Likewise.
75240         * math/s_ctanh.c: Likewise.
75241         * math/s_ctanhf.c: Likewise.
75242         * math/s_ctanhl.c: Likewise.
75243         * math/s_ctanl.c: Likewise.
75244         * math/w_fmod.c: Likewise.
75245         * math/w_fmodf.c: Likewise.
75246         * math/w_fmodl.c: Likewise.
75247         * math/w_remainder.c: Likewise.
75248         * math/w_remainderf.c: Likewise.
75249         * math/w_remainderl.c: Likewise.
75250         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
75251         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
75252         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
75253         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
75254         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
75255         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
75256         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
75257         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
75259         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
75260         of the number.
75261         * stdio-common/printf_fphex.c: Likewise.
75262         * stdio-common/printf_size.c: Likewise.
75264         * math/e_exp10.c: Include math_private.h using <...> not "...".
75265         * math/e_exp10f.c: Likewise.
75266         * math/e_exp10l.c: Likewise.
75267         * math/e_exp2l.c: Likewise.
75268         * math/e_j0l.c: Likewise.
75269         * math/e_j1l.c: Likewise.
75270         * math/e_jnl.c: Likewise.
75271         * math/e_lgammal_r.c: Likewise.
75272         * math/e_rem_pio2l.c: Likewise.
75273         * math/e_scalb.c: Likewise.
75274         * math/e_scalbf.c: Likewise.
75275         * math/e_scalbl.c: Likewise.
75276         * math/k_cosl.c: Likewise.
75277         * math/k_sinl.c: Likewise.
75278         * math/k_tanl.c: Likewise.
75279         * math/s_cacoshf.c: Likewise.
75280         * math/s_catan.c: Likewise.
75281         * math/s_catanf.c: Likewise.
75282         * math/s_catanh.c: Likewise.
75283         * math/s_catanhf.c: Likewise.
75284         * math/s_catanhl.c: Likewise.
75285         * math/s_catanl.c: Likewise.
75286         * math/s_ccosh.c: Likewise.
75287         * math/s_ccoshf.c: Likewise.
75288         * math/s_ccoshl.c: Likewise.
75289         * math/s_cexp.c: Likewise.
75290         * math/s_cexpf.c: Likewise.
75291         * math/s_cexpl.c: Likewise.
75292         * math/s_clog.c: Likewise.
75293         * math/s_clog10.c: Likewise.
75294         * math/s_clog10f.c: Likewise.
75295         * math/s_clog10l.c: Likewise.
75296         * math/s_clogf.c: Likewise.
75297         * math/s_clogl.c: Likewise.
75298         * math/s_csin.c: Likewise.
75299         * math/s_csinf.c: Likewise.
75300         * math/s_csinh.c: Likewise.
75301         * math/s_csinhf.c: Likewise.
75302         * math/s_csinhl.c: Likewise.
75303         * math/s_csinl.c: Likewise.
75304         * math/s_csqrt.c: Likewise.
75305         * math/s_csqrtf.c: Likewise.
75306         * math/s_csqrtl.c: Likewise.
75307         * math/s_ctan.c: Likewise.
75308         * math/s_ctanf.c: Likewise.
75309         * math/s_ctanh.c: Likewise.
75310         * math/s_ctanhf.c: Likewise.
75311         * math/s_ctanhl.c: Likewise.
75312         * math/s_ctanl.c: Likewise.
75313         * math/s_ldexp.c: Likewise.
75314         * math/s_ldexpf.c: Likewise.
75315         * math/s_ldexpl.c: Likewise.
75316         * math/s_significand.c: Likewise.
75317         * math/s_significandf.c: Likewise.
75318         * math/s_significandl.c: Likewise.
75319         * math/w_acos.c: Likewise.
75320         * math/w_acosf.c: Likewise.
75321         * math/w_acosh.c: Likewise.
75322         * math/w_acoshf.c: Likewise.
75323         * math/w_acoshl.c: Likewise.
75324         * math/w_acosl.c: Likewise.
75325         * math/w_asin.c: Likewise.
75326         * math/w_asinf.c: Likewise.
75327         * math/w_asinl.c: Likewise.
75328         * math/w_atan2.c: Likewise.
75329         * math/w_atan2f.c: Likewise.
75330         * math/w_atan2l.c: Likewise.
75331         * math/w_atanh.c: Likewise.
75332         * math/w_atanhf.c: Likewise.
75333         * math/w_atanhl.c: Likewise.
75334         * math/w_cosh.c: Likewise.
75335         * math/w_coshf.c: Likewise.
75336         * math/w_coshl.c: Likewise.
75337         * math/w_dremf.c: Likewise.
75338         * math/w_exp10.c: Likewise.
75339         * math/w_exp10f.c: Likewise.
75340         * math/w_exp10l.c: Likewise.
75341         * math/w_exp2.c: Likewise.
75342         * math/w_exp2f.c: Likewise.
75343         * math/w_fmod.c: Likewise.
75344         * math/w_fmodf.c: Likewise.
75345         * math/w_fmodl.c: Likewise.
75346         * math/w_hypot.c: Likewise.
75347         * math/w_hypotf.c: Likewise.
75348         * math/w_hypotl.c: Likewise.
75349         * math/w_j0.c: Likewise.
75350         * math/w_j0f.c: Likewise.
75351         * math/w_j0l.c: Likewise.
75352         * math/w_j1.c: Likewise.
75353         * math/w_j1f.c: Likewise.
75354         * math/w_j1l.c: Likewise.
75355         * math/w_jn.c: Likewise.
75356         * math/w_jnf.c: Likewise.
75357         * math/w_jnl.c: Likewise.
75358         * math/w_lgamma.c: Likewise.
75359         * math/w_lgamma_r.c: Likewise.
75360         * math/w_lgammaf.c: Likewise.
75361         * math/w_lgammaf_r.c: Likewise.
75362         * math/w_lgammal.c: Likewise.
75363         * math/w_lgammal_r.c: Likewise.
75364         * math/w_log.c: Likewise.
75365         * math/w_log10.c: Likewise.
75366         * math/w_log10f.c: Likewise.
75367         * math/w_log10l.c: Likewise.
75368         * math/w_log2.c: Likewise.
75369         * math/w_log2f.c: Likewise.
75370         * math/w_log2l.c: Likewise.
75371         * math/w_logf.c: Likewise.
75372         * math/w_logl.c: Likewise.
75373         * math/w_pow.c: Likewise.
75374         * math/w_powf.c: Likewise.
75375         * math/w_powl.c: Likewise.
75376         * math/w_remainder.c: Likewise.
75377         * math/w_remainderf.c: Likewise.
75378         * math/w_remainderl.c: Likewise.
75379         * math/w_scalb.c: Likewise.
75380         * math/w_scalbf.c: Likewise.
75381         * math/w_scalbl.c: Likewise.
75382         * math/w_sinh.c: Likewise.
75383         * math/w_sinhf.c: Likewise.
75384         * math/w_sinhl.c: Likewise.
75385         * math/w_sqrt.c: Likewise.
75386         * math/w_sqrtf.c: Likewise.
75387         * math/w_sqrtl.c: Likewise.
75388         * math/w_tgamma.c: Likewise.
75389         * math/w_tgammaf.c: Likewise.
75390         * math/w_tgammal.c: Likewise.
75392         * po/ja.po: Update from translation team.
75394 2011-09-29  Andreas Jaeger  <aj@suse.de>
75396         [BZ #13179]
75397         * sunrpc/netname.c (netname2host): Fix logic.
75399         [BZ #6779]
75400         [BZ #6783]
75401         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
75402         correctly.
75403         * math/w_remainder.c (__remainder): Likewise.
75404         * math/w_remainderf.c (__remainderf): Likewise.
75405         * math/libm-test.inc (remainder_test): Add test cases.
75407 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
75409         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
75410         sdiv_qrnnd.
75412 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
75414         * string/test-memcmp.c: Avoid unncessary #defines.
75415         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
75417 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75419         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
75420         Use new sse2 version for core i3 - i7 as it's faster
75421         than sse42 version.
75422         (bit_Prefer_PMINUB_for_stringop): New.
75423         * sysdeps/x86_64/rawmemchr.S: Update.
75424         Replace with faster SSE2 version.
75425         * sysdeps/x86_64/memrchr.S: New file.
75426         * sysdeps/x86_64/memchr.S: Update.
75427         Replace with faster SSE2 version.
75429 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
75431         * elf/dl-load.c (lose): Add cast to avoid warning.
75433 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
75435         * po/ca.po: Update from translation team.
75437         * inet/getnetgrent_r.c: Hook up nscd.
75438         * nscd/Makefile (routines): Add nscd_netgroup.
75439         (nscd-modules): Add netgroupcache.
75440         (CFLAGS-netgroupcache.c): Define.
75441         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
75442         (cache_search): Add const to second parameter.
75443         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
75444         INNETGR.
75445         (dbs): Add netgrdb entry.
75446         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
75447         (verify_persistent_db): Handle netgrdb.
75448         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
75449         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
75450         GETFDNETGR.
75451         (netgroup_response_header): Define.
75452         (innetgroup_response_header): Define.
75453         (datahead): Add netgroup_response_header and innetgroup_response_header
75454         elements.
75455         * nscd/nscd.conf: Add entries for netgroup cache.
75456         * nscd/nscd.h (dbtype): Add netgrdb.
75457         (_PATH_NSCD_NETGROUP_DB): Define.
75458         (netgroup_iov_disabled): Declare.
75459         (xmalloc, xcalloc, xrealloc): Move declarations here.
75460         (cache_search): Adjust prototype.
75461         Add netgroup-related prototypes.
75462         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
75463         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
75464         (__nscd_innetgr): Declare.
75465         * nscd/selinux.c (perms): Use access_vector_t as element type and
75466         add netgroup-related initializers.
75467         * nscd/netgroupcache.c: New file.
75468         * nscd/nscd_netgroup.c: New file.
75469         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
75470         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
75471         For four parameters use innetgr.
75472         * nss/nss_files/files-init.c: Add definition and callback for netgr.
75473         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
75474         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
75475         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
75477         * nscd/connections.c (register_traced_file): Don't register file
75478         for disabled databases.
75480 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
75482         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
75484         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
75485         from tree and freeing node.
75487 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
75489         * nss/nsswitch.c (__nss_database_lookup): Handle
75490         nss_parse_service_list out of memory case.
75492 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
75494         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
75495         out of memory case.
75497 2011-10-04  Andreas Schwab  <schwab@redhat.com>
75499         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
75500         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
75501         pass it down.
75502         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
75503         elf_machine_rela, elf_machine_lazy_rel.
75504         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
75505         (ELF_DYNAMIC_DO_REL): Likewise.
75506         (ELF_DYNAMIC_DO_RELA): Likewise.
75507         (ELF_DYNAMIC_RELOCATE): Likewise.
75508         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
75509         to ELF_DYNAMIC_DO_REL.
75510         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
75511         (dl_main): In trace mode always set __RTLD_NOIFUNC.
75512         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
75513         elf_machine_rela.
75514         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
75515         skip_ifunc, don't call ifunc function if non-zero.
75516         (elf_machine_rela): Likewise.
75517         (elf_machine_lazy_rel): Likewise.
75518         (elf_machine_lazy_rela): Likewise.
75519         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
75520         (elf_machine_lazy_rel): Likewise.
75521         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
75522         Likewise.
75523         (elf_machine_lazy_rel): Likewise.
75524         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
75525         Likewise.
75526         (elf_machine_lazy_rel): Likewise.
75527         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
75528         (elf_machine_lazy_rel): Likewise.
75529         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
75530         (elf_machine_lazy_rel): Likewise.
75531         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
75532         (elf_machine_lazy_rel): Likewise.
75533         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
75534         (elf_machine_lazy_rel): Likewise.
75535         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
75536         (elf_machine_lazy_rel): Likewise.
75537         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
75538         (elf_machine_lazy_rel): Likewise.
75540 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
75542         * nss/nss_files/files-init.c (_nss_files_init): Use static
75543         initialization for all the *_traced_file variables.
75545 2011-09-28  Andreas Schwab  <schwab@redhat.com>
75547         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
75549 2011-09-27  Roland McGrath  <roland@hack.frob.com>
75551         [BZ #13226]
75552         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
75554 2011-09-27  Andreas Schwab  <schwab@redhat.com>
75556         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
75557         Reread the line before reparsing it.
75559 2011-09-26  Andreas Schwab  <schwab@redhat.com>
75561         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
75563 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
75564             Maxim Kuvyrkov  <maxim@codesourcery.com>
75565             Joseph Myers  <joseph@codesourcery.com>
75567         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
75568         if needed for __stack_chk_guard.
75570 2011-09-19  Roland McGrath  <roland@hack.frob.com>
75572         * sysdeps/posix/spawni.c (script_execute): Always define it.
75573         It will be optimized away if unused.
75574         (maybe_script_execute): New function.
75575         (__spawni): Call it.
75577         * Makerules: Don't include tls.make.
75578         (config-tls): Always set to thread.
75579         * tls.make.c: File removed.
75581 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
75583         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
75584         * config.make.in (CPPFLAGS-config): New substituted variable.
75586 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
75588         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
75590         [BZ #13192]
75591         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
75592         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
75594 2011-09-15  Roland McGrath  <roland@hack.frob.com>
75596         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
75597         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
75598         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
75599         (CALL_FAIL): Likewise.
75600         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
75601         (CALL_FAIL): Macro removed.
75602         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
75604 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
75606         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
75607         for __FINITE_MATH_ONLY__ == 1.
75609 2011-09-15  Andreas Schwab  <schwab@redhat.com>
75611         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
75612         __ieee754_sqrt instead of sqrt.
75613         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
75614         __ieee754_sqrtf instead of sqrtf.
75615         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
75616         __floorf instead of floorf.
75617         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
75618         __floorf, __truncf instead of floorf, truncf.
75620 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
75622         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
75624         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
75625         __extern_always_inline.
75626         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
75627         32-bit.
75629 2011-09-14  Andreas Schwab  <schwab@redhat.com>
75631         * elf/rtld.c (dl_main): Also relocate in dependency order when
75632         doing symbol dependency testing.
75634 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
75636         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
75637         Always define `refsym'.
75639 2011-09-13  Andreas Schwab  <schwab@redhat.com>
75641         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
75642         (__FD_ELT): Renamed from __FDELT.
75643         * misc/bits/select2.h (__FD_ELT): Likewise.
75644         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
75645         __FD_MASK instead of __FDELT, __FDMASK.
75646         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
75647         Likewise.
75648         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
75649         Likewise.
75651         * elf/Makefile (gen-ldd): Fix pattern.
75653         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
75654         (init_tls): Likewise.
75656 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
75658         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
75660 2011-09-12  Andreas Schwab  <schwab@redhat.com>
75662         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
75663         `struct cmsghdr *' instead of `void *'.
75664         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
75665         Likewise.
75667 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
75669         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
75670         if non-absolute.
75671         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
75672         ldd_rewrite_script.
75674 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
75676         * configure.in: Remove --with-tls option.
75677         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
75678         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
75679         out in case it is missing.
75680         * sysdeps/ia64/elf/configure.in: Likewise.
75681         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
75682         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
75683         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
75684         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
75685         * sysdeps/sh/elf/configure.in: Likewise.
75686         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
75687         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
75688         * sysdeps/x86_64/elf/configure.in: Likewise.
75689         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
75690         * sysdeps/mach/hurd/tls.h: Likewise.
75692         [BZ #13067]
75693         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
75695         [BZ #13090]
75696         * configure.in: Fix use of AC_INIT.
75698         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
75700 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
75702         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
75703         __set_errno.
75704         * malloc/hooks.c: Likewise.
75706         [BZ #11929]
75707         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
75708         variables statically.
75709         (narenas): Initialize.
75710         (list_lock): Initialize.
75711         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
75712         initializtion of main_arena and list_lock.  Small cleanups.
75713         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
75714         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
75715         Add initializers to main_arena and mp_.
75716         (malloc_state): Remove pagesize member.  Change all users to use
75717         GLRO(dl_pagesize).
75719         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
75720         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
75721         is always initialized.
75723         * malloc/malloc.c: Removed unused configurations and dead code.
75724         * malloc/arena.c: Likewise.
75725         * malloc/hooks.c: Likewise.
75726         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
75728         * include/tls.h: Removed.  USE___THREAD must always be defined.
75729         * bits/libc-tsd.h: Don't handle !USE___THREAD.
75730         * elf/dl-libc.c: Likewise.
75731         * elf/dl-tsd.c: Likewise.
75732         * include/errno.h: Likewise.
75733         * include/netdb.h: Likewise.
75734         * include/resolv.h: Likewise.
75735         * inet/herrno-loc.c: Likewise.
75736         * inet/herrno.c: Likewise.
75737         * malloc/arena.c: Likewise.
75738         * malloc/hooks.c: Likewise.
75739         * malloc/malloc.c: Likewise.
75740         * resolv/res-state.c: Likewise.
75741         * resolv/res_libc.c: Likewise.
75742         * sysdeps/i386/dl-machine.h: Likewise.
75743         * sysdeps/ia64/dl-machine.h: Likewise.
75744         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
75745         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
75746         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
75747         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
75748         * sysdeps/sh/dl-machine.h: Likewise.
75749         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
75750         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
75751         * sysdeps/unix/i386/sysdep.S: Likewise.
75752         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
75753         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
75754         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
75755         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
75756         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
75757         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
75758         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
75759         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
75760         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
75761         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
75762         * sysdeps/unix/x86_64/sysdep.S: Likewise.
75763         * sysdeps/x86_64/dl-machine.h: Likewise.
75764         * tls.make.c: Likewise.
75766         * configure.in: Remove --with-__thread option.  Make tests for
75767         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
75768         tls_model attribute fail if no support is available.  Remove
75769         USE_IN_LIBIO.
75770         * Makeconfig: Adjust for dropped configure option.  All features are
75771         now mandatory.
75772         * Makerules: Likewise.
75773         * Versions.def: Likewise.
75774         * argp/argp-fmtstream.c: Likewise.
75775         * argp/argp-fmtstream.h: Likewise.
75776         * argp/argp-help.c: Likewise.
75777         * assert/assert.c: Likewise.
75778         * config.h.in: Likewise.
75779         * config.make.in: Likewise.
75780         * configure: Likewise.
75781         * configure.in: Likewise.
75782         * csu/Versions: Likewise.
75783         * csu/init.c: Likewise.
75784         * elf/tst-audit2.c: Likewise.
75785         * elf/tst-tls10.c: Likewise.
75786         * elf/tst-tls10.h: Likewise.
75787         * elf/tst-tls11.c: Likewise.
75788         * elf/tst-tls12.c: Likewise.
75789         * elf/tst-tls14.c: Likewise.
75790         * elf/tst-tlsmod11.c: Likewise.
75791         * elf/tst-tlsmod12.c: Likewise.
75792         * elf/tst-tlsmod13.c: Likewise.
75793         * elf/tst-tlsmod13a.c: Likewise.
75794         * elf/tst-tlsmod14a.c: Likewise.
75795         * elf/tst-tlsmod15b.c: Likewise.
75796         * elf/tst-tlsmod16a.c: Likewise.
75797         * elf/tst-tlsmod16b.c: Likewise.
75798         * elf/tst-tlsmod7.c: Likewise.
75799         * elf/tst-tlsmod8.c: Likewise.
75800         * elf/tst-tlsmod9.c: Likewise.
75801         * gmon/gmon.c: Likewise.
75802         * grp/fgetgrent_r.c: Likewise.
75803         * grp/putgrent.c: Likewise.
75804         * hurd/fopenport.c: Likewise.
75805         * include/libc-symbols.h: Likewise.
75806         * include/tls.h: Likewise.
75807         * intl/gettextP.h: Likewise.
75808         * intl/loadinfo.h: Likewise.
75809         * locale/global-locale.c: Likewise.
75810         * locale/localeinfo.h: Likewise.
75811         * mach/devstream.c: Likewise.
75812         * malloc/arena.c: Likewise.
75813         * malloc/set-freeres.c: Likewise.
75814         * misc/err.c: Likewise.
75815         * misc/getttyent.c: Likewise.
75816         * misc/mntent_r.c: Likewise.
75817         * posix/getopt.c: Likewise.
75818         * posix/wordexp.c: Likewise.
75819         * pwd/fgetpwent_r.c: Likewise.
75820         * resolv/Versions: Likewise.
75821         * resolv/res_hconf.c: Likewise.
75822         * shadow/fgetspent_r.c: Likewise.
75823         * shadow/putspent.c: Likewise.
75824         * stdio-common/printf_fphex.c: Likewise.
75825         * stdio-common/tmpfile.c: Likewise.
75826         * stdlib/abort.c: Likewise.
75827         * stdlib/fmtmsg.c: Likewise.
75828         * sunrpc/auth_unix.c: Likewise.
75829         * sunrpc/clnt_perr.c: Likewise.
75830         * sunrpc/clnt_tcp.c: Likewise.
75831         * sunrpc/clnt_udp.c: Likewise.
75832         * sunrpc/clnt_unix.c: Likewise.
75833         * sunrpc/openchild.c: Likewise.
75834         * sunrpc/svc_simple.c: Likewise.
75835         * sunrpc/svc_tcp.c: Likewise.
75836         * sunrpc/svc_udp.c: Likewise.
75837         * sunrpc/svc_unix.c: Likewise.
75838         * sunrpc/xdr.c: Likewise.
75839         * sunrpc/xdr_array.c: Likewise.
75840         * sunrpc/xdr_rec.c: Likewise.
75841         * sunrpc/xdr_ref.c: Likewise.
75842         * sunrpc/xdr_stdio.c: Likewise.
75844 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
75846         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
75848 2011-07-03  Andreas Jaeger  <aj@suse.de>
75850         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
75851         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
75852         regenerate with gen-libm-tests.pl.
75854 2010-05-12  Petr Baudis  <pasky@suse.cz>
75856         [BZ #11589]
75857         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
75858         around j0() zero points by switching to j1().
75859         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
75860         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
75861         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
75862         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
75864 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
75866         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
75867         instead of 0.
75868         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
75869         instead of 0.
75870         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
75871         Patch in part by Pavel Roskin <proski@gnu.org>.
75873         [BZ #13138]
75874         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
75875         realloc.
75876         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
75877         Free memory block if necessary.
75879         [BZ #12847]
75880         * libio/genops.c (INTDEF): For string streams the _lock pointer can
75881         be NULL.  Don't lock in this case.
75883 2011-09-09  Roland McGrath  <roland@hack.frob.com>
75885         * elf/elf.h (ELFOSABI_GNU): New macro.
75886         (ELFOSABI_LINUX): Define to that.
75888 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
75890         * string/strncat.c (strncat): Undef the symbol in case it has been
75891         defined in bits/string.h.
75893 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
75895         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
75897         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
75898         link map.
75900 2011-08-17  Andreas Jaeger  <aj@suse.de>
75902         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
75904 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
75905             Ian Lance Taylor  <iant@google.com>
75907         * math/libm-test.inc (lround_test): New testcase.
75908         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
75910 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
75912         * Makefile: Remove support for automatic cvs check-ins.
75913         * Makerules: Likewise.
75914         * config.make.in: Likewise.
75915         * configure.in: Likewise.
75916         * intl/Makefile: Likewise.
75917         * locale/Makefile: Likewise.
75918         * po/Makefile: Likewise.
75919         * posix/Makefile: Likewise.
75920         * sysdeps/gnu/Makefile: Likewise.
75921         * sysdeps/mach/hurd/Makefile: Likewise.
75922         * sysdeps/sparc/sparc32/Makefile: Likewise.
75924         [BZ #13118]
75925         * posix/Makefile (bug-regex32-ENV): Define.
75926         Patch by John Stanley <jpsinthemix@verizon.net>.
75928         * misc/Makefile (headers): Add bits/select2.h.
75929         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
75930         * misc/bits/select2.h: New file.
75931         * include/bits/select2.h: New file.
75932         * debug/Makefile (routines): Add fdelt_chk.
75933         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
75934         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
75935         FD_ISSET.
75936         * debug/fdelt_chk.c: New file.
75938         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
75939         * wcsmbs/test-wmemcmp.c: Likewise.
75940         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
75941         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
75943 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75945         * string/Makefile (strop-tests): Add memcmp.
75946         * string/test-wmemcmp.c: New file.
75947         * string/test-memcmp.c: Add wmemcmp support.
75949 2011-09-08  Roland McGrath  <roland@hack.frob.com>
75951         [BZ #13153]
75952         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
75953         2011-07-19 change.
75955         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
75956         garbage value in a __mach_port_mod_refs call in the cases of the
75957         task-self and thread-self ports.
75959 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75961         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
75963 2011-09-08  Andreas Schwab  <schwab@redhat.com>
75965         * elf/dl-load.c (lose): Check for non-null L.
75967 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
75969         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
75971         * elf/dl-libc.c (dlerror_run): Pass back error code from
75972         dl_catch_error.
75974         [BZ #13123]
75975         * elf/dl-load.c (lose): Free l_origin if it is valid.
75977         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
75978         names.
75979         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
75980         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
75981         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
75982         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
75983         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
75984         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
75986 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75988         * sysdeps/powerpc/fpu/e_hypot.c: New file.
75989         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
75990         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
75991         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
75992         * sysdeps/powerpc/fpu/k_cosf.c: New file.
75993         * sysdeps/powerpc/fpu/k_sinf.c: New file.
75994         * sysdeps/powerpc/fpu/s_cosf.c: New file.
75995         * sysdeps/powerpc/fpu/s_sinf.c: New file.
75996         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
75997         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
75999 2011-08-15  Alan Modra  <amodra@gmail.com>
76001         [BZ #13092]
76002         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
76003         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
76004         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
76005         ppc_mcount to static-only-routines.
76006         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
76007         __mcount_internal.
76008         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
76009         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
76011 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
76013         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
76014         for finite and infinity parameters.
76016 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
76018         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
76019         and add nop instructions for throughput optimization.
76020         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
76022 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
76024         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
76025         aligned copy for power7 with vector-scalar instructions.
76026         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
76028 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
76030         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
76031         AVX check.
76033 2011-09-07  Andreas Schwab  <schwab@redhat.com>
76035         [BZ #13144]
76036         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
76037         last change.
76039 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
76041         * sysdeps/unix/sysv/linux/x86_64/init-first.c
76042         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
76043         syscall wrapper around clock_gettime in __vdso_clock_gettime.
76044         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
76045         clock_gettime.
76047 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
76049         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
76050         Forgot to demangle the pointer.
76052         * sysdeps/i386/sysdep.h: Define atom_text_section.
76053         * sysdeps/x86_64/sysdep.h: Likewise.
76054         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
76055         section with atom_text_section.
76056         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
76057         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
76058         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
76059         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
76060         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
76062         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
76063         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
76064         already be defined.  Change to take two parameters and don't assign
76065         result to variable.  Adjust all users.
76066         Define INTERNAL_GETTIME if not already defined.
76067         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
76068         call.
76069         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
76070         HAVE_CLOCK_GETTIME_VSYSCALL.
76071         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
76073         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
76074         gettimeofday vsyscall, just use time.
76076 2011-09-06  Andreas Schwab  <schwab@redhat.com>
76078         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
76079         <errno.h>.
76081 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
76083         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
76084         syscall on x86-64.
76085         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
76086         syscall.
76087         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
76088         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
76089         syscall if possible.
76091 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
76093         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
76094         e_ident.  Don't pass to find_mapsXX.
76095         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
76097 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
76099         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
76100         strchr-sse2-no-bsf strrchr-sse2-no-bsf
76101         * sysdeps/x86_64/multiarch/strchr.S: Update.
76102         Check bit_slow_BSF bit.
76103         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
76104         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
76105         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
76107 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
76109         [BZ #13134]
76110         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
76111         before glibc 2.15.
76112         (tryshell): Define.
76113         (__spawni): Change last parameter to be flag.  Test
76114         SPAWN_XFLAGS_USE_PATH flag to use path or not.
76115         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
76116         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
76117         * posix/spawni.c: Likewise.
76118         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
76119         * posix/spawnp.c: Likewise.  Change normal version to use
76120         SPAWN_XFLAGS_USE_PATH.
76121         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
76122         SPAWN_XFLAGS_TRY_SHELL.
76124         [BZ #13150]
76125         * posix/glob.h: Remove gcc 1.x support.
76127         [BZ #13068]
76128         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
76130 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
76132         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
76133         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
76134         strrchr-sse2-bsf
76135         * sysdeps/i386/i686/multiarch/strchr.S: New file.
76136         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
76137         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
76138         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
76139         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
76140         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
76142 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76144         * sysdeps/x86_64/wcscmp.S: New file.
76146         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
76147         wcscmp-c wcscmp-sse2
76148         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
76149         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
76150         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
76151         * wcsmbs/wcscmp.c: Allow renaming.
76153 2011-09-05  David S. Miller  <davem@davemloft.net>
76155         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
76156         stack slot, rather than the struct return pointer slot.
76157         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
76158         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
76159         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
76160         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
76162 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
76164         * po/ja.po: Update from translation team.
76166         [BZ #13144]
76167         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
76168         kernel in 64-bit binaries.
76170 2011-09-01  David S. Miller  <davem@davemloft.net>
76172         * elf/elf.h (HWCAP_SPARC_*): Move to..
76173         * sysdeps/sparc/sysdep.h: this new file and add new values.
76174         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
76175         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
76176         _DL_HWCAP_COUNT to 24.
76177         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
76178         entries.
76179         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
76180         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
76181         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
76182         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
76183         instead of magic constants.
76184         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
76186 2011-08-31  David S. Miller  <davem@davemloft.net>
76188         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
76189         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
76190         Reimplement to do errno handling inline.
76191         (SYSCALL_ERROR_HANDLER): New macro.
76192         (__SYSCALL_STRING): Do not do errno handling in asm.
76193         (__CLONE_SYSCALL_STRING): Delete.
76194         (__INTERNAL_SYSCALL_STRING): Delete.
76195         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
76196         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
76197         (PSEUDO): Reimplement to do errno handling inline.
76198         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
76199         (SYSCALL_ERROR_HANDLER): New macro.
76200         (__SYSCALL_STRING): Do not do errno handling in asm.
76201         (__CLONE_SYSCALL_STRING): Delete.
76202         (__INTERNAL_SYSCALL_STRING): Delete.
76203         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
76204         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
76205         i386.
76206         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
76207         (inline_syscall*): Add 'err' argument.
76208         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
76209         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
76210         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
76211         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
76213         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
76214         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
76216 2011-08-30  Andreas Schwab  <schwab@redhat.com>
76218         * elf/rtld.c (dl_main): Relocate objects in dependency order.
76220 2011-08-29  Jiri Olsa <jolsa@redhat.com>
76222         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
76223         directive.
76225 2011-08-24  David S. Miller  <davem@davemloft.net>
76227         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
76229 2011-08-24  Andreas Schwab  <schwab@redhat.com>
76231         * elf/Makefile: Add rules to build and run unload8 test.
76232         * elf/unload8.c: New file.
76233         * elf/unload8mod1.c: New file.
76234         * elf/unload8mod1x.c: New file.
76235         * elf/unload8mod2.c: New file.
76236         * elf/unload8mod3.c: New file.
76238         * elf/dl-close.c (_dl_close_worker): Reset private search list if
76239         it wasn't used.
76241 2011-08-23  David S. Miller  <davem@davemloft.net>
76243         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
76244         subtract stack bias.
76245         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
76246         %sp not %fp in calculations.
76247         (_JMPBUF_UNWINDS_ADJ): Likewise.
76249         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
76250         (aio_suspend): Call it to force an exception region around the
76251         AIO_MISC_WAIT() invocation.
76253 2011-08-23  Andreas Schwab  <schwab@redhat.com>
76255         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
76256         backslash.
76258 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
76260         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
76261         protection macro.
76262         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
76263         and <dl-machine.h>.
76264         (Elf64_FuncDesc): Remove.
76266 2011-08-22  David S. Miller  <davem@davemloft.net>
76268         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
76269         sigaltstack check, add missing cfi directives.
76270         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
76271         missing cfi directives, and sigaltstack handling.
76273 2011-08-16  Andreas Schwab  <schwab@redhat.com>
76275         [BZ #11724]
76276         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
76277         object is seen twice.
76278         * elf/dl-fini.c (_dl_sort_fini): Likewise.
76280         * elf/Makefile (distribute): Add tst-initorder2.c.
76281         (tests): Add tst-initorder2.
76282         (modules-names): Add tst-initorder2a tst-initorder2b
76283         tst-initorder2c tst-initorder2d.  Add rules to build them.
76284         ($(objpfx)tst-initorder2.out): New rule.
76285         * elf/tst-initorder2.c: New file.
76286         * elf/tst-initorder2.exp: New file.
76288 2011-08-22  Andreas Schwab  <schwab@redhat.com>
76290         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
76292         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
76293         dependencies back to end of function.
76295         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
76296         $(elfobjdir)/ld.so.
76298 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
76300         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
76301         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
76302         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
76303         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
76304         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
76305         of __vdso_gettimeofday.
76306         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
76307         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
76308         attribute_hidden.
76309         (_libc_vdso_platform_setup): Remove initialization of
76310         __vdso_gettimeofday and __vdso_time.
76312 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
76314         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
76315         and fgetc_unlocked.
76316         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
76317         getc_unlocked.
76319         * elf/dl-open.c (add_to_global): Report additions to the global scope
76320         for LD_DEBUG=scopes.
76321         (dl_open_worker): Also print scope of newly loaded dependencies.
76322         (_dl_show_scope): Indicate if there is no scope.
76324         [BZ #13114]
76325         * stdio-common/Makefile (tests): Add bug24.
76326         * stdio-common/bug24.c: New file.
76328 2011-08-19  Andreas Jaeger  <aj@suse.de>
76330         [BZ #13114]
76331         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
76332         non-existant file when using close-on-exec mode.
76334 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
76336         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
76337         the very first instruction.
76339         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
76340         the CFI state in the end.
76341         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
76342         inclusion of dl-trampoline.h.
76343         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
76345 2011-08-19  Andreas Schwab  <schwab@redhat.com>
76347         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
76348         expectations for long double.
76350         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
76351         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
76353 2011-08-14  David S. Miller  <davem@davemloft.net>
76355         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
76356         artificual limit depends upon the system page size.
76358 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
76360         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
76361         * resolv/Makefile: Define CFLAGS-libresolv.
76363 2011-08-17  Andreas Schwab  <schwab@redhat.com>
76365         * nss/makedb.c (compute_tables): Make variables used in nested
76366         function static.
76368 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
76370         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
76371         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
76372         if buffer was too small.
76374         * elf/pldd.c (main): Attach to all threads in the process.
76375         Rewrite /proc handling to use *at functions.
76377 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
76379         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
76380         specifies first scope to show.
76381         (dl_open_worker): Update callers.  Move printing scope of new
76382         object to before the relocation.
76383         * elf/rtld.c (dl_main): Update _dl_show_scope call.
76384         * sysdeps/generic/ldsodefs.h: Update declaration.
76386         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
76387         string for the scope number.
76389 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
76391         * nscd/servicescache.c (cache_addserv): Make sure written is always
76392         initialized.
76394 2011-08-14  Roland McGrath  <roland@hack.frob.com>
76396         * sysdeps/i386/i486/bits/atomic.h
76397         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
76398         statement expression, so as to suppress "set but not used" warning.
76399         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
76401         * string/strncat.c (STRNCAT): Use prototype definition.
76403         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
76404         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
76405         -Iprograms here.
76406         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
76407         (localedef-modules): Add localedef.
76408         (locale-modules): Add locale.
76410         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
76411         * elf/rtld.c (dl_main): Invert order of assignment in last change,
76412         to avoid a warning.
76414 2011-08-14  David S. Miller  <davem@davemloft.net>
76416         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
76417         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
76419 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
76421         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
76422         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
76423         * elf/rtld.c (dl_main): Set l_name of vDSO.
76424         Call _dl_show_scope when DL_DEBUG_SCOPES.
76425         (process_dl_debug): Recognize scopes flag and also set it for all.
76426         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
76427         Declare _dl_show_scope.
76429         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
76430         (do_dlopen): Pass caller_dlopen to dl_open.
76431         (__libc_dlopen_mode): Initialize caller_dlopen.
76433         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
76434         of libc.  Make tolower call locale-independent.  Optimize a bit by
76435         using isdigit instead of isalnum.
76436         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
76438 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
76440         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
76441         was a dependency or dynamically loaded.
76443 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
76445         * intl/l10nflist.c: Allow architecture-specific pop function.
76446         * sysdeps/x86_64/l10nflist.c: New file.
76448         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
76449         classification.
76451 2011-08-10  Andreas Schwab  <schwab@redhat.com>
76453         * include/dirent.h: Add libc_hidden_proto for scandirat and
76454         scandirat64.  Don't declare __scandirat64.
76455         * dirent/scandirat.c: Add libc_hidden_def.
76456         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
76457         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
76459 2011-08-10  David S. Miller  <davem@davemloft.net>
76461         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
76462         enum.
76463         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
76464         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
76465         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
76467 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
76469         * Versions.def [libc]: Add GLIBC_2.15.
76470         * dirent/Makefile (routines): Add scandirat and scandirat64.
76471         * dirent/Versions [libc]: Export scandirat and scandirat64 for
76472         GLIBC_2.15.
76473         * dirent/dirent.h: Declare scandirat and scandirat64.
76474         * dirent/scandirat.c: New file.
76475         * dirent/scandirat64.c: New file.
76476         * sysdeps/wordsize-64/scandirat.c: New file.
76477         * sysdeps/wordsize-64/scandirat64.c: New file.
76478         * dirent/opendir.c: Define opendirat.
76479         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
76480         using scandirat.
76481         * dirent/scandir64.c: Adjust for scandir.c change.
76482         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
76483         __scandirat64, and __scandir_cancel_handler.
76484         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
76485         additional parameter and use openat instead of open (outside of ld.so).
76486         Add new __opendir as wrapper around __opendirat.
76487         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
76488         here without requiring old scandirat implementation.
76490 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
76492         * dirent/scandir.c (cancel_handler): Renamed to
76493         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
76494         defined.  Adjust users.
76495         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
76496         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
76498 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
76500         * string/test-string.h (IMPL): Use __STRING to expand name and then
76501         stringify it.
76503         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
76504         of cleanups.
76506 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76508         * string/Makefile: Update.
76509         (strop-tests): Append strncat.
76510         * string/test-wcscmp.c: New file.
76511         New comprehensive test for wcscmp.
76512         * string/test-strcmp.c: Update.
76513         (WIDE): New define.
76515 2011-07-22  Andreas Schwab  <schwab@redhat.com>
76517         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
76518         line.
76520 2011-07-26  Andreas Schwab  <schwab@redhat.com>
76522         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
76523         encoding to ACE if AI_IDN.
76525 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
76527         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
76528         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
76530 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
76532         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
76533         Fix overflow bug in strncat.
76534         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
76536         * string/test-strncat.c: Update.
76537         Add new tests for checking overflow bugs.
76539 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
76541         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
76542         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
76543         * sysdeps/i386/i686/multiarch/strcat.S: New file.
76544         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
76545         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
76546         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
76547         * sysdeps/i386/i686/multiarch/strncat.S: New file.
76548         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
76549         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
76551         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
76552         (USE_AS_STRCAT): Define.
76553         Add strcat and strncat support.
76554         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
76556 2011-07-25  Andreas Schwab  <schwab@redhat.com>
76558         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
76559         __n bigger than INT_MAX+1.
76560         (__strncmp_g): Likewise.
76562 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
76564         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
76565         * libio/stido.h: Likewise.
76567         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
76568         (AF_NFC): Define.
76569         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
76570         (AF_NFC): Define.
76572         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
76573         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
76574         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
76575         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
76576         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
76578         [BZ #13021]
76579         * scripts/test-installation.pl: Don't expect libnss_test1 to be
76580         installed.
76582         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
76583         typo.
76584         (_dl_x86_64_save_sse): Likewise.
76586 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
76588         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
76589         OSXSAVE.
76590         (_dl_x86_64_save_sse): Likewise.
76592         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
76594         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
76596 2011-07-21  Andreas Schwab  <schwab@redhat.com>
76598         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
76599         change.
76600         (_dl_x86_64_save_sse): Use correct AVX check.
76602 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76604         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
76605         bug in strncpy/strncat.
76606         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
76608 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
76610         * string/tester.c (test_strcat): Add tests for different alignments
76611         of source and destination.
76612         (test_strncat): Likewise.
76614 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
76616         [BZ #12852]
76617         * posix/glob.c (glob): Check passed in values before using them in
76618         expressions to avoid some overflows.
76619         (glob_in_dir): Likewise.
76621         [BZ #13007]
76622         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
76623         check for AVX enablement so that we don't crash with old kernels and
76624         new hardware.
76625         * elf/tst-audit4.c: Add same checks here.
76626         * elf/tst-audit6.c: Likewise.
76628         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
76630 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
76632         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
76634 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
76636         * po/cs.po: Update from translation team.
76637         * po/bg.po: Likewise.
76639 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
76641         * misc/sys/cdefs.h: Add support for const attribute.
76642         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
76643         to gnu_dev_{major,minor,makedev} functions.
76645 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
76647         * intl/dcigettext.c (get_output_charset): Add missing bracket.
76649 2011-07-20  Andreas Schwab  <schwab@redhat.com>
76651         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
76652         strlen results.
76654 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
76656         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
76657         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
76658         register in order to avoid conflicts with the soft frame pointer
76659         being held in r11 when necessary.
76660         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
76661         (INTERNAL_VSYSCALL_NCS): Likewise.
76663 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
76665         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
76666         * elf/dl-fini.c (_dl_fini): Adjust caller.
76667         * elf/dl-close.c (_dl_close_worker): Likewise.
76668         * sysdeps/generic/ldsodefs.h: Adjust declaration.
76670 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
76672         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
76673         "aux_cache->nlibs < 0".
76675         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
76676         in the reload-count case.
76678 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
76680         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
76681         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
76682         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
76683         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
76684         * sysdeps/x86_64/multiarch/strcat.S: New file.
76685         * sysdeps/x86_64/multiarch/strncat.S: New file.
76686         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
76687         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
76688         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
76689         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
76690         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
76691         (USE_AS_STRCAT): Define.
76692         Add strcat and strncat support.
76693         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
76694         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
76695         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
76696         * string/strncat.c: Update.
76697         (USE_AS_STRNCAT): Define.
76698         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
76699         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
76700         and i7.
76701         * sysdeps/x86_64/multiarch/init-arch.h
76702         (bit_Prefer_PMINUB_for_stringop): New.
76703         (index_Prefer_PMINUB_for_stringop): Likewise.
76704         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
76705         bit_Prefer_PMINUB_for_stringop.
76707 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
76709         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
76710         buffer64.
76711         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
76712         of casting of buffer.
76713         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
76714         buffer32 and buffer64.
76715         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
76716         writes instead of casting of buffer.
76717         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
76718         buffer32.
76719         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
76720         casting of buffer.
76722 2011-07-19  Andreas Schwab  <schwab@redhat.com>
76724         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
76726 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
76728         * nscd/nscd.c (termination_handler): Don't do anything for a database
76729         if it has not yet been initialized.
76731 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
76733         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
76735 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
76737         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
76739 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
76741         * po/nl.po: Update from translation team.
76742         * po/sv.po: Likewise.
76744 2011-07-16  Roland McGrath  <roland@hack.frob.com>
76746         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
76747         now disallowed by GCC.
76749         * configure.in (use-default-link): Default to yes if a test -shared
76750         link meets our qualifications.
76751         * configure: Regenerated.
76753         * config.make.in (output-format): New variable.
76754         * configure.in: Check for ld --print-output-format support.
76755         * configure: Regenerated.
76756         * Makerules ($(common-objpfx)format.lds)
76757         [$(output-format) != unknown]: Just use $(output-format),
76758         instead of the linker-script munging.
76760 2011-07-14  Roland McGrath  <roland@hack.frob.com>
76762         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
76763         of $(common-objpfx)shlib.lds.
76764         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
76766         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
76767         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
76769         * configure.in (-z relro check): Adjust test code to add a large
76770         writable data section after it.
76771         * configure: Regenerated.
76773 2011-07-11  Roland McGrath  <roland@hack.frob.com>
76775         * configure.in (-z relro check): Fix test code to make the variable
76776         truly const.
76777         * configure: Regenerated.
76779 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
76781         * nscd/nscd.h (struct traced_file): Define.
76782         (struct database_dyn): Remove inotify_descr, reset_res, and filename
76783         elements.  Add traced_files.
76784         (inotify_fd): Declare.
76785         (register_traced_file): Declare.
76786         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
76787         (inotify_fd): Export.
76788         (resolv_conf_descr): Remove.
76789         (nscd_init): Move inotify descriptor creation to main.
76790         Don't register files for notification here.
76791         (register_traced_file): New function.
76792         (invalidate_cache): Don't use reset_res to determine whether to call
76793         res_init, go through the list of registered files.
76794         (main_loop_poll): The inotify descriptors are now stored in the
76795         structures for the traced files.
76796         (main_loop_epoll): Likewise.
76797         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
76798         to __nss_disable_nscd.
76799         * nscd/cache.c (prune_cache): There is no single inotify descriptor
76800         for a database anymore.  Check the records for all the registered
76801         files instead.
76802         * nss/Makefile (libnss_files-routines): Add files-init.
76803         (libnss_db-routines): Add db-init.
76804         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
76805         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
76806         * nss/nss_db/db-init.c: New file.
76807         * nss/nss_files/files-init.c: New file.
76808         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
76809         __nss_lookup_function.
76810         (__nss_lookup_function): Call nss_load_library.
76811         (nss_load_all_libraries): New function.
76812         (__nss_disable_nscd): Take parameter with callback function for files
76813         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
76814         used for the cached services.
76815         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
76816         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
76817         options for features to all the files in nscd.
76819         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
76821 2011-07-10  Roland McGrath  <roland@hack.frob.com>
76823         * csu/elf-init.c (__libc_csu_init): Comment typo.
76825 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
76827         * po/pl.po: Update from translation team.
76828         * po/ja.po: Likewise.
76829         * po/ru.po: Likewise.
76830         * po/ko.po: Likewise.
76831         * po/fr.po: Likewise.
76833 2011-07-09  Roland McGrath  <roland@hack.frob.com>
76835         * configure.in (.ctors/.dtors header and trailer check):
76836         Use an empirical test on a built program.
76837         * configure: Regenerated.
76839         * configure.in (-z relro check): Use an empirical test on a built DSO.
76840         Detect, but do not require, on ia64.
76841         * configure: Regenerated.
76843         * configure.in (READELF): Find it with AC_CHECK_TOOL.
76844         Update tests that use readelf to use $READELF instead.
76845         * configure: Regenerated.
76847 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
76849         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
76850         if the result is not used.
76852 2011-07-05  Andreas Jaeger  <aj@suse.de>
76854         [BZ#9696]
76855         * stdlib/tst-strtod.c: Add testcase.
76857 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
76859         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
76860         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
76861         The latter has a higher limit.  Take additional parameter to pass to
76862         the new function.
76863         (__pathconf): Pass file to __statfs_link_max.
76864         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
76865         __statfs_link_max.
76866         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
76867         __statfs_link_max.
76869         [BZ #12868]
76870         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
76871         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
76872         Handle Lustre.
76873         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
76874         (__statfs_filesize_max): Likewise.
76875         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
76877 2011-07-05  Andreas Jaeger  <aj@suse.de>
76879         * resolv/res_comp.c (dn_skipname): Remove unused variable.
76881 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
76883         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
76884         `status' variable.
76885         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
76886         Likewise.
76888 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
76890         * Makefile (strop-tests): Add strncat.
76891         * string/test-strncat.c: New file.
76893 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
76895         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
76897 2011-06-21  Andreas Jaeger  <aj@suse.de>
76899         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
76900         Copy rule from iconvdata/Makefile.
76902 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
76904         [BZ #12922]
76905         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
76906         but no long options are defined, just return 'W'.
76908 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
76910         [BZ #9696]
76911         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
76913 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
76915         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
76916         netgroups to read.
76917         (innetgr): Likewise.
76919 2011-07-05  Roland McGrath  <roland@hack.frob.com>
76921         * config.make.in (install_root): Default to $(DESTDIR).
76923 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
76925         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
76927 2011-07-02  Roland McGrath  <roland@hack.frob.com>
76929         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
76931         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
76932         containing directory rather than embedding absolute directory names.
76934         * scripts/check-local-headers.sh: Rewritten using awk.
76935         Match by word, not by line.  Print error messages for matches.
76936         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
76938         * Makerules [shlib-lds-flags empty]:
76939         ($(common-objpfx)libc_pic.opts): New target.
76940         ($(common-objpfx)libc_pic.os.clean): New target.
76941         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
76943         * config.make.in (OBJCOPY): New variable.
76944         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
76945         * configure: Regenerated.
76947         * config.make.in (use-default-link): New variable.
76948         * configure.in (use_default_link): Grok --with-default-link to set it.
76949         * configure: Regenerated.
76950         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
76951         (shlib-lds, shlib-lds-flags): Define to empty.
76953         * Makerules (shlib-lds): New variable.
76954         (shlib-lds-flags): New variable.
76955         (build-shlib, build-moduile, build-module-asneeded): Use it.
76956         ($(common-objpfx)libc.so): Use $(shlib-lds).
76957         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
76958         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
76960         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
76961         DT_FLAGS/DT_FLAGS_1 with zero flags.
76963         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
76964         linker script munging.
76966 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
76968         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
76969         as 128-bit value.
76970         * crypt/sha512.c (sha512_process_block): Perform total addition using
76971         128-bit if possible.
76972         (__sha512_finish_ctx): Likewise.
76973         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
76974         as 64-bit value.
76975         * crypt/sha256.c (SWAP64): Define.
76976         (sha256_process_block): Perform total addition using 64-bit if
76977         possible.
76978         (__sha256_finish_ctx): Likewise.
76980 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
76982         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
76983         * nscd/initgrcache.c (addinitgroupsX): Likewise.
76984         * nscd/hstcache.c (cache_addhst): Likewise.
76985         * nscd/grpcache.c (cache_addgr): Likewise.
76986         * nscd/aicache.c (addhstaiX): Likewise.
76987         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
76989 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
76991         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
76992         * nscd/initgrcache.c (addinitgroupsX): Likewise.
76993         * nscd/hstcache.c (cache_addhst): Likewise.
76994         * nscd/grpcache.c (cache_addgr): Likewise.
76995         * nscd/aicache.c (addhstaiX): Likewise.
76997 2011-07-01  Andreas Schwab  <schwab@redhat.com>
76999         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
77000         domain only when needed.
77002 2011-06-30  Andreas Schwab  <schwab@redhat.com>
77004         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
77005         is always restored.
77007 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
77009         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
77010         are re-adding the entry.
77011         * nscd/servicescache.c (cache_addserv): Likewise.
77013 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
77015         * sysdeps/generic/dl-irel.h: fix protection against multiple
77016         inclusions.
77017         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
77019 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
77021         [BZ #12935]
77022         * malloc/memusage.sh: Fix quoting in message.
77023         * debug/xtrace.sh: Likewise.
77025         * configure.in: Remove support for --experimental-malloc option, make
77026         it the default.
77027         * config.make.in: Likewise.
77028         * malloc/Makefile: Likewise.
77030 2011-06-27  Andreas Schwab  <schwab@redhat.com>
77032         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
77033         two-byte characters.
77035 2011-06-27  Roland McGrath  <roland@hack.frob.com>
77037         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
77038         AC_CACHE_CHECK invocation.
77039         * configure: Regenerated.
77041         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
77043 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
77045         [BZ #12350]
77046         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
77047         bit from old_res_options.
77049         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
77051         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
77052         value type for setfct.
77054 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
77056         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
77057         __gettimeofday instead of gettimeofday.
77059 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
77061         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
77063 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
77065         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
77067         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
77068         info.
77070 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
77072         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
77073         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
77074         strcpy-sse2-unaligned strncpy-sse2-unaligned
77075         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
77076         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
77077         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
77078         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
77079         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
77080         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
77081         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
77082         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
77083         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
77084         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
77085         (STRCPY): Support SSE2 and SSSE3 versions.
77087 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
77089         [BZ #12874]
77090         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
77091         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
77092         kernels which artificially limit size of requests.
77094 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
77096         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
77097         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
77098         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
77099         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
77100         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
77101         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
77102         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
77103         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
77104         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
77105         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
77106         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
77107         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
77108         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
77109         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
77110         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
77111         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
77112         Enable unaligned load optimization for Intel Core i3, i5 and i7
77113         processors.
77114         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
77115         Define.
77116         (index_Fast_Unaligned_Load): Define.
77117         (HAS_FAST_UNALIGNED_LOAD): Define.
77119 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
77121         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
77123 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
77125         [BZ #12907]
77126         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
77127         until it is clear that the information is realy needed.
77128         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
77130 2011-06-22  Andreas Schwab  <schwab@redhat.com>
77132         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
77134 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
77136         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
77137         /sys/devices/system/cpu/online if it is usable.
77139         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
77140         reading the information from the /proc filesystem to once a second.
77142 2011-06-21  Andreas Jaeger  <aj@suse.de>
77144         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
77145         NULL after inclusion of kernel headers.
77147 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
77149         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
77150         calls to internal_setent.
77152         [BZ #12885]
77153         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
77154         addresses using gethostbyname4_r ignore IPv4 addresses.
77156         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
77157         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
77159         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
77161 2011-06-20  David S. Miller  <davem@davemloft.net>
77163         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
77164         inclusions.
77165         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
77167         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
77168         (elf_irel): Use it.
77169         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
77170         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
77171         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
77172         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
77173         * sysdeps/x86_64/dl-irel.h: Likewise.
77175         * elf/dl-runtime.c: Use elf_ifunc_invoke.
77176         * elf/dl-sym.c: Likewise.
77178 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
77180         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
77181         need to dereference resplen2.
77183 2011-06-14  Andreas Schwab  <schwab@redhat.com>
77185         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
77187 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
77189         * Makeconfig: Define vardbdir and inst_vardbdir.
77190         * nss/Makefile: Add rules to install db-Makefile.
77192         * nss/nss_db/db-XXX.c: Cleanup.
77194         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
77195         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
77196         GLIBC_PRIVATE.
77197         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
77198         * nss/makedb.c: Implement -g option to specify that value strings
77199         are generated and should not be added to table iterated over for
77200         get*ent calls.
77201         * nss/nss_db/db-initgroups.c: New file.
77203         * nss/getent.c: Add support for initgroups lookups through getgrouplist
77204         interface.
77206         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
77207         (internal_getgrouplist): Adjust to name change.
77208         Update use_initgroups_entry if this is not the first call.
77209         * nss/databases.def: Add initgroups entry.
77211         * nss/makedb.c (compute_tables): Check result of multiple hash table
77212         sizes to minimize maximum chain length.
77214 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
77216         * Versions.def: Add entry for libnss_db.
77217         * shlib-versions: Likewise.
77218         * nss/Makefile: Add rules to build libnss_db.
77219         * nss/Versions: Add libnss_db information.  Organize libnss_files
77220         entries better.
77221         * nss/db-Makefile: Add gshadow support.  Change rules for the new
77222         makedb progra.  Some minor improvements to generate smaller files.
77223         * nss/nss_db/nss_db.h: Move NSS database header data structures to
77224         here from...
77225         * nss/makedb.c: ...here.
77226         Improve database format to be smaller and require less memory at
77227         runtime.
77228         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
77229         db anymore.
77230         * nss/nss_db/db-netgrp.c: Likewise.
77231         * nss/nss_db/db-open.c: Likewise.
77232         * nss/nss_files/flies-XXX.x: Adjust comments.
77233         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
77234         * nss/nss_files/files-grp.c: Likewise.
77235         * nss/nss_files/files-hosts.c: Likewise.
77236         * nss/nss_files/files-network.c: Likewise.
77237         * nss/nss_files/files-proto.c: Likewise.
77238         * nss/nss_files/files-pwd.c: Likewise.
77239         * nss/nss_files/files-rpc.c: Likewise.
77240         * nss/nss_files/files-service.c: Likewise.
77241         * nss/nss_files/files-sgrp.c: Likewise.
77242         * nss/nss_files/files-spwd.c: Likewise.
77243         * nss/nss_db/db-alias.c: Removed.
77244         * nss/nss_db/dummy-db.h: Removed.
77246 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
77248         * nss/makedb.c: Rewritten to not use database library.
77249         * nss/Makefile: Update to build new makedb program.
77251 2011-06-14  Andreas Jaeger  <aj@suse.de>
77253         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
77254         memset declaration.
77256 2011-06-10  Andreas Schwab  <schwab@redhat.com>
77258         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
77259         tmpbuf.
77261 2011-06-10  Roland McGrath  <roland@hack.frob.com>
77263         * Makerules (shlib.lds): Fail if the linker script comes out empty.
77264         * elf/Makefile ($(objpfx)ld.so): Likewise.
77266         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
77267         Don't list ld.so twice in dependencies.
77269         * posix/bug-regex31.c: Include <stdlib.h>.
77271         * nscd/hstcache.c (cache_addhst): Remove unused variable.
77273         * nis/nss_compat/compat-spwd.c
77274         (getspent_next_nss_netgr): Remove unused variable.
77275         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
77277         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
77278         nonmembers" output to use the right array.
77280         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
77282         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
77284         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
77285         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
77286         * catgets/gencat.c (read_input_file): Likewise.
77287         * locale/programs/locarchive.c (enlarge_archive): Likewise.
77289         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
77290         variable definition inside #if's controlling its use.
77292         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
77294         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
77296         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
77298         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
77299         unreachable code.
77301         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
77303         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
77304         * configure: Regenerated.
77306         * Makerules: Revert last change.
77307         * elf/Makefile: Likewise.
77309 2011-06-09  Roland McGrath  <roland@hack.frob.com>
77311         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
77312         * elf/Makefile ($(objpfx)librtld.os): Likewise.
77313         (reloc-link): Likewise.
77315 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
77317         * elf/Makefile: Add rules to build pldd.
77318         * elf/pldd.c: New file.
77319         * elf/pldd-xx.c: New file.
77321 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
77323         * version.h: Update for 2.15 development version.
77325 2011-06-07  David S. Miller  <davem@davemloft.net>
77327         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
77328         ifuncs.
77329         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
77330         elf_machine_lazy_rel): Likewise.
77331         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
77332         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
77333         elf_machine_lazy_rel): Likewise.
77334         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
77335         dl_hwcap via passed in argument.
77336         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
77337         Likewise.
77339 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77341         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
77343 2011-06-06  Roland McGrath  <roland@hack.frob.com>
77345         [BZ #12849]
77346         * manual/fdl-1.1.texi: New file, verbatim from:
77347         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
77348         * manual/lgpl-2.1.texi: New file, verbatim from:
77349         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
77350         * manual/Makefile (licenses): New variable, list those new file names.
77351         (texis): Use it.
77352         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
77354         * manual/fdl.texi: File removed.
77355         * manual/lesser.texi: File removed.
77356         * manual/libc.texinfo (Copying, Documentation License):
77357         Use new @include file names, put @appendix directive before @include.
77359 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
77361         [BZ #12841]
77362         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
77363         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
77364         (mq_open): Add __NTH.
77366 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
77368         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
77369         Assume Intel Core i3/i5/i7 processor if AVX is available.
77371 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
77373         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
77374         typo.
77376 2011-05-31  Andreas Schwab  <schwab@redhat.com>
77378         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
77379         memory.  Use alloca_account.  Fix memory leak when retrying.
77381 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
77383         * version.h (RELEASE): Bump for 2.14 release.
77384         * include/features.h (__GLIBC_MINOR__): Bump to 14.
77386         * config.make.in (RANLIB): Remove entry.
77388 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
77390         * po/Makefile (po-sed-cmd): Add ksh to extensions.
77391         (libc.pot): Work around missing support for .ksh extension in xgettext.
77393         [BZ #12684]
77394         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
77395         if both request failed.
77396         (send_dg): In case of server errors clear resplen or *resplen2.
77398         [BZ #12454]
77399         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
77400         when there are multiple maps.
77401         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
77402         (_dl_fini): Remove test here.
77404         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
77406 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
77408         [BZ #12350]
77409         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
77410         bit from old_res_options.
77411         (gaih_inet): Likewise.
77413         [BZ #11099]
77414         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
77415         as signed.
77417         * resolv/res_init.c (res_setoptions): Make the code more compact.
77419         [BZ #11558]
77420         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
77421         set RES_USEVC.
77423         [BZ #11634]
77424         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
77426         * malloc/malloc.h: Mark malloc hook variables as deprecated.
77428         [BZ #11781]
77429         * malloc/malloc.h: Declare malloc hook variables as volatile.
77431         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
77432         in last patch.
77434         [BZ #11799]
77435         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
77436         raise in the comment.
77437         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
77438         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
77439         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
77441 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
77443         [BZ #12811]
77444         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
77445         grow the buffers more if it already has to be sufficient.
77446         (build_wcs_upper_buffer): Likewise.
77447         * posix/regexec.c (check_matching): Likewise.
77448         (clean_state_log_if_needed): Likewise.
77449         (extend_buffers): Don't enlarge buffers beyond size of the input
77450         buffer.
77451         Patches mostly by Emil Wojak <emil@wojak.eu>.
77452         * posix/bug-regex32.c: New file.
77453         * posix/Makefile (tests): Add bug-regex32.
77455         * locale/findlocale.c (_nl_find_locale): Return right away if
77456         _nl_explode_name failed.
77457         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
77459         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
77461         * debug/xtrace.sh: Unify messages.
77462         * malloc/memusage.sh: Likewise.
77464         [BZ #12813]
77465         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
77466         time symbol from vDSO.  Substitute with vsyscall if not available.
77467         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
77468         __vdso_time.
77470         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
77471         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
77472         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
77473         Add sendmmsg and internal_sendmmsg.
77474         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
77475         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
77476         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
77478         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
77479         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
77480         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
77482 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
77484         [BZ #12813]
77485         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
77486         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
77487         available.
77488         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
77489         __vdso_getcpu.
77491         [BZ #12814]
77492         * iconvdata/Makefile (tests): Add bug-iconv9.
77493         * iconvdata/bug-iconv9.c: New file.
77495 2011-05-27  Andreas Schwab  <schwab@redhat.com>
77497         [BZ #12814]
77498         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
77500 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
77502         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
77503         (struct user_regs_struct): Change intcs field back to cs.
77505 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
77507         * po/ja.po: Update from translation team.
77509 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
77511         [BZ #12795]
77512         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
77513         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
77515 2011-05-20  Andreas Schwab  <schwab@redhat.com>
77517         * stdlib/longlong.h: Update from GCC.
77519 2011-05-23  Andreas Schwab  <schwab@redhat.com>
77521         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
77522         parameter name.
77523         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
77524         Add parameter name.
77525         (__sysconf): Pass it down.
77527 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
77529         [BZ #12671]
77530         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
77531         some situations.
77532         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
77533         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
77534         add in in __libc_use_alloca calls.  Adjust callers.
77535         (glob): Use malloc in some situations.
77537         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
77538         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
77539         pltexit.
77541 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
77543         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
77544         and CLOCK_BOOTTIME_ALARM.
77546         [BZ #12782]
77547         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
77548         is returned.
77550         * string/_strerror.c (__strerror_r): Print negative errors as signed
77551         numbers.
77553         [BZ #12777]
77554         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
77555         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
77556         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
77558         * configure.in: Fix typo in redirection and correct removal of test
77559         files in two cases.
77561         [BZ #12788]
77562         * locale/setlocale.c (new_composite_name): Fix test to check for
77563         identical name of all categories.
77565         [BZ #12792]
77566         * libio/filedoalloc.c (local_isatty): New function.
77567         (_IO_file_doallocate): Use local_isatty.
77568         * stdio-common/perror.c (perror): In case a new stream is used
77569         forward the stream error.
77570         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
77571         error flag.
77573 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
77575         [BZ #11884]
77576         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
77577         alloca.
77578         * include/alloca.h (extend_alloca_account): Define.
77580         [BZ #11857]
77581         * posix/regex.h: Fix comments with documentation of user-accessible
77582         fields after compilation and describe correct free'ing of pattern
77583         after re_compile_pattern.
77584         Patch by Reuben Thomas <rrt@sc3d.org>.
77586 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
77588         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
77589         and -mno-altivec to prevent the compiler from using Altivec and/or
77590         VSX instructions when the corresponding registers are not available.
77592 2011-05-19  Andreas Schwab  <schwab@redhat.com>
77594         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
77596 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
77598         * libio/freopen.c (freopen): Use __dup2, not dup2.
77599         * libio/freopen64.c (freopen64): Likewise.
77601 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
77603         [BZ #12775]
77604         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
77605         * math/Makefile (tests): Add test-powl.
77606         (CFLAGS-test-powl.c): Define.
77607         * math/test-powl.c: New file.
77609 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
77611         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
77613 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
77615         [BZ #11837]
77616         * iconvdata/gb18030.c: Update to GB18020-2005.
77618 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
77620         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
77621         RE_SYNTAX_POSIX_AWK): Update to match recent development.
77622         Patch by Aharon Robbins <arnold@skeeve.com>.
77624         [BZ #11892]
77625         * stdlib/putenv.c (putenv): Don't always create copy of the variable
77626         on the stack.
77628         [BZ #11895]
77629         * misc/pselect.c (__pselect): Handle timeout value errors hidden
77630         through underflows.
77632         [BZ #12766]
77633         * misc/error.c (error_at_line): Ensure file_name and old_file_name
77634         point to strings before performing equality test for error_one_per_line
77635         mode.
77637         [BZ #11697]
77638         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
77640         [BZ #11820]
77641         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
77642         (struct user_fpregs_struct): Avoid __uint*_t types.
77644         [BZ #6420]
77645         * malloc/mtrace.c (tr_where): Add additional parameter to point to
77646         symbol info.  Use it instead of calling _dl_addr locally.
77647         (lock_and_info): New function.
77648         (tr_freehook): Call lock_and_info and pass symbol info as additional
77649         parameter to tr_where.
77650         (tr_mallochook): Likewise.
77651         (tr_reallochook): Likewise.
77652         (tr_memalignhook): Likewise.
77654         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
77655         used and couldn't be at all thread-safe.
77657 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
77659         * libio/freopen.c (freopen): Don't close old file descriptor
77660         before the new one is opened.  Instead dup the new file descriptor
77661         to the old one after the new stream is created.
77662         * libio/freopen64.c (freopen64): Likewise.
77663         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
77664         * libio/fileops.c (_IO_new_file_close_it): Handle new
77665         _IO_FLAGS2_NOCLOSE flag.
77666         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
77667         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
77668         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
77669         _IO_FLAGS2_NOCLOSE flag.
77670         * include/unistd.h: Add hidden_proto for dup3.
77671         Define __have_dup3.
77672         * io/dup3.c: Define hidden symbol.
77673         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
77675         [BZ #7101]
77676         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
77677         when an incomplete long option is used.
77678         * posix/tst-getopt_long1.c: New file.
77679         * posix/Makefile (tests): Add tst-getopt_long1.
77681         [BZ #10138]
77682         * scripts/config.guess: Update from autoconf-2.68.
77683         * scripts/config.sub: Likewise.
77685         [BZ #10157]
77686         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
77687         tests into ...
77688         (has_cpuclock): ...this.  New function.
77689         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
77690         macro here based on has_cpuclock code.
77692         [BZ #10149]
77693         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
77694         First byte (not low byte) is now always NUL.
77695         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
77697         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
77698         Use non-cancelable interfaces.
77700         [BZ #9809]
77701         * locale/iso-639.def: Add entry for Sorani.
77703         [BZ #11901]
77704         * include/stdlib.h: Move include protection to the right place.
77705         Define abort_msg_s.  Declare __abort_msg with it.
77706         * stdlib/abort.c (__abort_msg): Adjust type.
77707         * assert/assert.c (__assert_fail_base): New function.  Majority
77708         of code from __assert_fail.  Allocate memory for __abort_msg with
77709         mmap.
77710         (__assert_fail): Now call __assert_fail_base.
77711         * assert/assert-perr.c: Remove bulk of implementation.  Use
77712         __assert_fail_base.
77713         * include/assert.hL Declare __assert_fail_base.
77714         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
77715         mmap.
77716         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
77718 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
77720         [BZ #11952]
77721         [BZ #12453]
77722         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
77723         until all modules are registered in the DTV.
77724         * elf/Makefile: Add rules to build and run tst-tls19.
77725         * elf/tst-tls19.c: New file.
77726         * elf/tst-tls19mod1.c: New file.
77727         * elf/tst-tls19mod2.c: New file.
77728         * elf/tst-tls19mod3.c: New file.
77729         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
77731         [BZ #12083]
77732         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
77733         correctly.
77735         [BZ #12601]
77736         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
77737         two-byte sequence errors.
77738         * iconvdata/Makefile (tests): Add bug-iconv8.
77739         * iconvdata/bug-iconv8.c: New file.
77741         [BZ #12626]
77742         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
77743         buf2 definition.
77745         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
77747         [BZ #12432]
77748         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
77749         (dummy_getcfa): New function.
77750         (init): Get _Unwind_GetCFA address, use dummy if not found.
77751         (backtrace_helper): In recursion check, also check whether CFA changes.
77752         (__backtrace): Completely initialize arg.
77754         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
77755         storing incomplete byte sequence in state object.  Avoid testing for
77756         guaranteed too small input if we know there is enough data available.
77758 2011-05-11  Andreas Schwab  <schwab@redhat.com>
77760         * Makeconfig (+link-pie): Indent.
77761         * Rules (binaries-pie): Define if $(have-fpie) and
77762         $(build-shared).
77763         (binaries-shared): Also filter out $(binaries-pie).
77764         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
77765         * nscd/Makefile (others-pie): Add nscd.
77766         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
77767         ($(objpfx)nscd): Remove command override.
77768         * login/Makefile (others-pie): Add pt_chown.
77769         ($(objpfx)pt_chown): Remove command override.
77770         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
77771         remove command overrides.
77773 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
77775         * libio/tst_putwc.c: Fix error messages.
77777         [BZ #12724]
77778         * libio/fileops.c (_IO_new_file_close_it): Always flush when
77779         currently writing and seek to current position when not.
77780         * libio/Makefile (tests): Add bug-fclose1.
77781         * libio/bug-fclose1.c: New file.
77783 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
77785         [BZ #12511]
77786         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
77787         don't set DF_1_NODELETE here.
77788         (do_lookup_x): When entering new entry test for copy relocation
77789         and if necessary set DF_1_NODELETE flag.
77790         * elf/tst-unique4.cc: New file.
77791         * elf/tst-unique4.h: New file.
77792         * elf/tst-unique4lib.cc: New file.
77793         * elf/Makefile: Add rules to build and run tst-unique4.
77794         Patch by Piotr Bury <pbury@goahead.com>.
77796 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
77798         [BZ #12052]
77799         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
77801         [BZ #12625]
77802         * misc/mntent_r.c (addmntent): Flush the stream after the output
77804         [BZ #12393]
77805         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
77806         (is_trusted_path_normalize): Skip initial colon.  Append slash
77807         to empty buffer.  Duplicate is_trusted_path code but allow
77808         constructed patch to be prefix.
77809         (is_dst): Allow $ORIGIN followed by /.
77810         (_dl_dst_substitute): Correct clearing of check_for_trusted.
77811         Correct testing of result of is_trusted_path_normalize
77812         (decompose_rpath): Fix warning.
77814 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
77816         [BZ #11257]
77817         * grp/initgroups.c (internal_getgrouplist): When we found the service
77818         list through the initgroups entry in nsswitch.conf do not always
77819         continue on a successful lookup.  Don't always use the
77820         __nss_group_database value if it is set.
77821         * nss/nsswitch.conf (initgroups): Change action for successful db
77822         lookup to continue for compatibility.
77824 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
77826         [BZ #11532]
77827         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
77828         and CP774 modules.
77829         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
77830         and CP774 modules.
77831         * iconvdata/tst-tables.sh: Likewise.
77832         * iconvdata/cp770.c: New file.
77833         * iconvdata/cp771.c: New file.
77834         * iconvdata/cp772.c: New file.
77835         * iconvdata/cp773.c: New file.
77836         * iconvdata/cp774.c: New file.
77837         * iconvdata/testdata/CP770: New file.
77838         * iconvdata/testdata/CP770..UTF8: New file.
77839         * iconvdata/testdata/CP771: New file.
77840         * iconvdata/testdata/CP771..UTF8: New file.
77841         * iconvdata/testdata/CP772: New file.
77842         * iconvdata/testdata/CP772..UTF8: New file.
77843         * iconvdata/testdata/CP773: New file.
77844         * iconvdata/testdata/CP773..UTF8: New file.
77845         * iconvdata/testdata/CP774: New file.
77846         * iconvdata/testdata/CP774..UTF8: New file.
77848         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
77849         END CHARMAP line.
77850         * iconvdata/gen-8bit-gap.sh: Likewise.
77851         * iconvdata/gen-8bit.sh: Likewise.
77853         * locale/iso-639.def: Add ary entry.
77855         [BZ #11258]
77856         * locale/C-translit.h.in: Add U20A1 transliteration.
77858         [BZ #12178]
77859         * locale/iso-639.def: Add wae entry.
77860         Patch by Kevin Bortis <bortis@translate-wae.ch>.
77862         [BZ #12545]
77863         * locale/programs/localedef.c (construct_output_path): Use ssize_t
77864         for n.
77866         [BZ #12711]
77867         * locale/C-translit.h.in: Add entry for U20B9.
77868         Patch by pravin.d.s@gmail.com.
77870 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
77872         [BZ #12713]
77873         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
77874         ENAMETOOLONG use generic getcwd.
77875         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
77876         in rtld.  Use *stat64.
77877         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
77878         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
77879         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
77880         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
77881         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
77882         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
77883         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
77884         __fstatat64 macros.
77885         * include/dirent.h: Add libc_hidden_proto for rewinddir.
77886         * dirent/rewinddir.c: Add libc_hidden_def.
77887         * sysdeps/mach/hurd/rewinddir.c: Likewise.
77888         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
77890         * include/dirent.h (__alloc_dir): Add flags parameter.
77891         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
77892         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
77893         __alloc_dir.
77894         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
77895         from fdopendir if O_CLOEXEC is already set.
77897 2011-03-15  Alan Modra  <amodra@gmail.com>
77899         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
77900         l_tls_firstbyte_offset non-zero.  Save padding offset in
77901         l_tls_firstbyte_offset for later use.
77902         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
77903         freeing static tls block.
77905 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
77907         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
77908         where #ifdef was intended.  The intent is to prevent ARG_MAX from
77909         being defined by the kernel headers.
77911 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
77913         [BZ #12734]
77914         * resolv/resolv.h: Define RES_NOTLDQUERY.
77915         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
77916         no-tld-query and set RES_NOTLDQUERY.
77917         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
77918         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
77919         modern BIND to search name as TLD unless forbidden.
77921 2011-05-07  Petr Baudis  <pasky@suse.cz>
77922             Ulrich Drepper  <drepper@gmail.com>
77924         [BZ #12393]
77925         * elf/dl-load.c (fillin_rpath): Move trusted path check...
77926         (is_trusted_path): ...to here.
77927         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
77928         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
77929         using is_trusted_path_normalize() in setuid scripts.
77931 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
77933         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
77934         __BEGIN/__END_DECLS.
77936 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
77938         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
77939         NSS_STATUS_NOTFOUND if no record was found.
77941 2011-05-05  Andreas Schwab  <schwab@redhat.com>
77943         * sunrpc/Makefile (headers): Add rpc/netdb.h.
77944         (headers-not-in-tirpc): Remove rpc/netdb.h
77945         * resolv/netdb.h: Revert last change.
77947 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
77949         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
77950         circular dependency between libgcc.a and libc.a.
77952 2011-05-05  Andreas Schwab  <schwab@redhat.com>
77954         * resolv/netdb.h: Don't include <rpc/netdb.h>.
77955         * nis/Makefile: Don't install rpcsvc/*.
77956         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
77957         instead of <rpc/types.h>.
77958         (MAXHOSTNAMELEN): Define.
77960 2011-05-03  Andreas Schwab  <schwab@redhat.com>
77962         * elf/ldconfig.c (add_dir): Don't crash on empty path.
77964 2011-04-28  Maciej Babinski  <mbabinski@google.com>
77966         [BZ #12714]
77967         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
77968         gethostbyname4_r when IPv6 results are possible.
77970 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
77972         [BZ #12723]
77973         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
77974         _PC_PIPE_BUF handling.
77976 2011-04-30  Bruno Haible  <bruno@clisp.org>
77978         [BZ #12717]
77979         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
77980         * resolv/netdb.h (getnameinfo): Change type of flags parameter
77981         to 'int'.
77982         * inet/getnameinfo.c (getnameinfo): Likewise.
77984 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
77986         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
77987         to groups setting in database lookup.
77988         * nss/nsswitch.conf: Add initgroups entry.
77990 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
77992         [BZ #12685]
77993         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
77994         mode string.
77995         Patch by Eric Blake <eblake@redhat.com>.
77997 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
77999         * sunrpc/Makefile (need-export-routines): Add svc_run.
78000         (routines): Remove svc_run.
78001         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
78002         * sunrpc/clnt_perr.c (clnt_perrno): Export.
78003         * sunrpc/svc_run.c (svc_run): Likewise.
78004         * sunrpc/svc_udp.c (svcudp_create): Likewise.
78006 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
78008         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
78009         problem in reallocation in last patch.
78011 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
78013         * sunrpc/Makefile: Move inclusion of Rules.
78015 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
78017         * nss/nss_files/files-initgroups.c: New file.
78018         * nss/Makefile (libnss_files-routines): Add files-initgroups.
78019         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
78020         _nss_files_initgroups_dyn.
78022 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
78024         * elf/elf.h (R_ARM_IRELATIVE): Define.
78026 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
78028         * po/ru.po: Update from translation team.
78030 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
78032         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
78033         dependencies.
78035 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
78037         [BZ #12653]
78038         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
78039         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
78040         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
78041         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
78042         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
78044 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
78046         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
78047         differing bytes.
78048         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
78049         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
78050         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
78052 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
78054         [BZ #12420]
78055         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
78056         storing it.
78057         * stdlib/bug-getcontext.c: New file.
78058         * stdlib/Makefile: Add rules to build and run bug-getcontext.
78060 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
78062         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
78063         instructions into .machine "z9-109".
78064         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
78065         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
78067 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
78069         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
78070         between environment variables and auxiliary vector.
78072 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
78074         * Makefile: Add rules to build linkobj/libc.so.
78075         * include/libc-symbols.h: Define libc_hidden_nolink.
78076         * include/rpc/auth.h: Mark functions which are to be hidden.
78077         * include/rpc/auth_des.h: Likewise.
78078         * include/rpc/auth_unix.h: Likewise.
78079         * include/rpc/clnt.h: Likewise.
78080         * include/rpc/des_crypt.h: Likewise.
78081         * include/rpc/key_prot.h: Likewise.
78082         * include/rpc/pmap_clnt.h: Likewise.
78083         * include/rpc/pmap_prot.h: Likewise.
78084         * include/rpc/pmap_rmt.h: Likewise.
78085         * include/rpc/rpc_msg.h: Likewise.
78086         * include/rpc/svc.h: Likewise.
78087         * include/rpc/svc_auth.h: Likewise.
78088         * include/rpc/xdr.h: Likewise.
78089         * nis/Makefile: Link all DSOs against linkobj/libc.so.
78090         * nss/Makefile: Likewise.
78091         * sunrpc/Makefile: Don't install headers.  Build library with normal
78092         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
78093         * sunrpc/auth_des.c: Hide exported symbols by default, export some
78094         for the compat linking library.  Remove use of INTDEF/INTUSE.
78095         * sunrpc/auth_none.c: Likewise.
78096         * sunrpc/auth_unix.c: Likewise.
78097         * sunrpc/authdes_prot.c: Likewise.
78098         * sunrpc/authuxprot.c: Likewise.
78099         * sunrpc/clnt_gen.c: Likewise.
78100         * sunrpc/clnt_perr.c: Likewise.
78101         * sunrpc/clnt_raw.c: Likewise.
78102         * sunrpc/clnt_simp.c: Likewise.
78103         * sunrpc/clnt_tcp.c: Likewise.
78104         * sunrpc/clnt_udp.c: Likewise.
78105         * sunrpc/clnt_unix.c: Likewise.
78106         * sunrpc/des_crypt.c: Likewise.
78107         * sunrpc/des_soft.c: Likewise.
78108         * sunrpc/get_myaddr.c: Likewise.
78109         * sunrpc/key_call.c: Likewise.
78110         * sunrpc/key_prot.c: Likewise.
78111         * sunrpc/netname.c: Likewise.
78112         * sunrpc/pm_getmaps.c: Likewise.
78113         * sunrpc/pm_getport.c: Likewise.
78114         * sunrpc/pmap_clnt.c: Likewise.
78115         * sunrpc/pmap_prot.c: Likewise.
78116         * sunrpc/pmap_prot2.c: Likewise.
78117         * sunrpc/pmap_rmt.c: Likewise.
78118         * sunrpc/publickey.c: Likewise.
78119         * sunrpc/rpc_cmsg.c: Likewise.
78120         * sunrpc/rpc_common.c: Likewise.
78121         * sunrpc/rpc_dtable.c: Likewise.
78122         * sunrpc/rpc_prot.c: Likewise.
78123         * sunrpc/rpc_thread.c: Likewise.
78124         * sunrpc/rtime.c: Likewise.
78125         * sunrpc/svc.c: Likewise.
78126         * sunrpc/svc_auth.c: Likewise.
78127         * sunrpc/svc_authux.c: Likewise.
78128         * sunrpc/svc_raw.c: Likewise.
78129         * sunrpc/svc_run.c: Likewise.
78130         * sunrpc/svc_simple.c: Likewise.
78131         * sunrpc/svc_tcp.c: Likewise.
78132         * sunrpc/svc_udp.c: Likewise.
78133         * sunrpc/svc_unix.c: Likewise.
78134         * sunrpc/svcauth_des.c: Likewise.
78135         * sunrpc/xcrypt.c: Likewise.
78136         * sunrpc/xdr.c: Likewise.
78137         * sunrpc/xdr_array.c: Likewise.
78138         * sunrpc/xdr_float.c: Likewise.
78139         * sunrpc/xdr_intXX_t.c: Likewise.
78140         * sunrpc/xdr_mem.c: Likewise.
78141         * sunrpc/xdr_rec.c: Likewise.
78142         * sunrpc/xdr_ref.c: Likewise.
78143         * sunrpc/xdr_sizeof.c: Likewise.
78144         * sunrpc/xdr_stdio.c: Likewise.
78146 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
78148         [BZ #12650]
78149         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
78150         * sysdeps/ia64/dl-tls.h: Likewise.
78151         * sysdeps/powerpc/dl-tls.h: Likewise.
78152         * sysdeps/s390/dl-tls.h: Likewise.
78153         * sysdeps/sh/dl-tls.h: Likewise.
78154         * sysdeps/sparc/dl-tls.h: Likewise.
78155         * sysdeps/x86_64/dl-tls.h: Likewise.
78156         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
78158 2011-03-14  Andreas Schwab  <schwab@redhat.com>
78160         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
78161         rpath element also skip the following colon.
78162         (expand_dynamic_string_token): Add is_path parameter and pass
78163         down to DL_DST_REQUIRED and _dl_dst_substitute.
78164         (decompose_rpath): Call expand_dynamic_string_token with
78165         non-zero is_path.  Ignore empty rpaths.
78166         (_dl_map_object_from_fd): Call expand_dynamic_string_token
78167         with zero is_path.
78169 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
78171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
78172         Make cancelable.
78174 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
78176         [BZ #12655]
78177         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
78178         Patch by Filipe David Manana <fdmanana@apache.org>.
78180 2011-04-07  Andreas Schwab  <schwab@redhat.com>
78182         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
78183         Maintain aligned stack.
78184         (CHECK_RSP): Remove unused macro.
78186 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
78188         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
78189         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
78191 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
78193         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
78195         * include/features.h: Mention __USE_XOPEN2K8 in comment.
78197 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
78199         [BZ #12518]
78200         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
78201         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
78202         * sysdeps/x86_64/memmove.c: New file.
78203         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
78204         (memcpy): Renamed to ...
78205         (__new_memcpy): This.
78206         (memcpy): Provide GLIBC_2_14 memcpy.
78207         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
78208         (memcpy): Provide GLIBC_2_2_5 memcpy.
78210 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
78212         [BZ #12631]
78213         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
78215 2011-03-30  Andreas Schwab  <schwab@redhat.com>
78217         * misc/syncfs.c: New file.
78218         * misc/Makefile (routines): Add syncfs.
78219         * posix/unistd.h: Declare syncfs.
78220         * sysdeps/unix/syscalls.list: Add syncfs.
78222 2011-04-01  Andreas Schwab  <schwab@redhat.com>
78224         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
78225         open_by_handle_at.
78226         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
78227         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
78228         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
78229         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
78230         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
78231         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
78232         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
78234 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
78236         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
78237         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
78238         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
78239         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
78240         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
78241         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
78242         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
78244         * io/Makefile: Compile fallocate.c, fallocate64.c, and
78245         sync_file_range.c with -fexceptions.
78246         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
78247         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
78248         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
78249         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
78250         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
78251         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
78252         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
78253         sync_file_range as cancellation point
78254         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
78255         now a wrapper around __call_sync_file_range with cancellation handling.
78256         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
78257         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
78258         function name to __call_sync_file_range.
78259         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
78260         Add call_sync_file_range.
78262 2011-04-01  Andreas Schwab  <schwab@redhat.com>
78264         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
78265         bits/timex.h.
78267 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
78269         * iconv/iconv.h: Fix typo in comment.
78270         * io/fcntl.h: Likewise.
78271         * libio/stdio.h: Likewise.
78272         * posix/spawn.h: Likewise.
78273         * posix/unistd.h: Likewise.
78274         * stdlib/stdlib.h: Likewise.
78275         * time/time.h: Likewise.
78276         * wcsmbs/wchar.h: Likewise.
78278         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
78279         open_by_handle): Add.
78280         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
78281         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
78282         Augment a few comments.
78283         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
78284         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
78285         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
78286         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
78287         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
78288         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
78289         open_by_handle.
78291         * io/fcntl.h (AT_EMPTY_PATH): Define.
78293 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
78295         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
78296         * sysdeps/unix/sysv/linux/bits/time.h: New file.
78297         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
78298         to...
78299         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
78300         * Versions.def: Add GLIBC_2.14.
78301         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
78302         Export.
78304 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
78306         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
78307         round counter.
78308         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
78310 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
78312         [BZ #12597]
78313         * string/test-strncmp.c (do_page_test): New function.
78314         (check2): Likewise.
78315         (test_main): Call check2.
78316         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
78318 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
78320         [BZ #12587]
78321         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
78322         Handle cache information in CPU leaf 4.
78323         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
78325 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
78327         [BZ #12583]
78328         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
78329         character representation.
78330         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
78332 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
78334         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
78335         END(__isnan) to END(__isnanf) to match function entry point/label
78336         EALIGN(__isnanf,...).
78338 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
78340         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
78342 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
78344         [BZ #12510]
78345         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
78346         copy from the symbol referenced in the relocation to initialize the
78347         used variable.
78348         Patch by Piotr Bury <pbury@goahead.com>.
78349         * elf/Makefile: Add rules to build and tst-unique3.
78350         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
78351         * elf/tst-unique3.cc: New file.
78352         * elf/tst-unique3.h: New file.
78353         * elf/tst-unique3lib.cc: New file.
78354         * elf/tst-unique3lib2.cc: New file.
78356         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
78358 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
78360         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
78361         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
78362         to _start.
78364 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
78366         * elf/dl-load.c (_dl_map_object): If we are looking for the first
78367         to-be-loaded object along a path to loader is ld.so.
78369 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
78370             Ulrich Drepper  <drepper@gmail.com>
78372         * sysdeps/x86_64/memset.S: After aligning destination, code
78373         branches to different locations depending on the value of
78374         misalignment, when multiarch is enabled. Fix this.
78376 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
78378         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
78379         Set _x86_64_preferred_memory_instruction for AMD processsors.
78380         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
78381         Set bit_Prefer_SSE_for_memop for AMD processors.
78383 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
78385         * libio/fmemopen.c (fmemopen): Optimize a bit.
78387 2011-03-03  Andreas Schwab  <schwab@redhat.com>
78389         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
78391 2011-03-03  Roland McGrath  <roland@redhat.com>
78393         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
78395 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
78397         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
78398         __bzero_ultra1 instead of __memset_ultra1.
78400 2011-02-23  Andreas Schwab  <schwab@redhat.com>
78401             Ulrich Drepper  <drepper@gmail.com>
78403         [BZ #12509]
78404         * include/link.h (struct link_map): Add l_orig_initfini.
78405         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
78406         returning unsuccessfully.
78407         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
78408         close of a file loaded at startup, restore the original l_initfini
78409         list.
78410         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
78411         list, store the pointer.
78412         * elf/Makefile ($(objpfx)noload-mem): New rule.
78413         (noload-ENV): Define.
78414         (tests): Add $(objpfx)noload-mem.
78415         * elf/noload.c: Include <memcheck.h>.
78416         (main): Call mtrace.  Close all opened handles.
78418 2011-02-17  Andreas Schwab  <schwab@redhat.com>
78420         [BZ #12454]
78421         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
78422         dependencies are missing.
78424 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78426         Fix __if_freereq crash: Unlike the generic version which uses free,
78427         Hurd needs munmap.
78428         * sysdeps/mach/hurd/ifreq.h: New file.
78430 2011-01-27  Petr Baudis  <pasky@suse.cz>
78431             Ulrich Drepper  <drepper@gmail.com>
78433         [BZ 12445]#
78434         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
78435         to extend_alloca().
78436         * stdio-common/bug23.c: New file.
78437         * stdio-common/Makefile (tests): Add bug23.
78439 2010-09-28  Andreas Schwab  <schwab@redhat.com>
78440             Ulrich Drepper  <drepper@gmail.com>
78442         [BZ #12489]
78443         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
78444         before performing relro protection.  At old place add assertion
78445         to make sure nothing changed.
78447 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
78448             Glauber de Oliveira Costa  <glommer@gmail.com>
78450         * elf/elf.h: Add new ARM TLS relocs.
78452 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
78454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
78455         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
78456         cast from r3.
78457         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
78458         'tests' variable.
78459         * sysdeps/wordsize-64/tst-writev.c: New file.
78461 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
78463         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
78464         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
78465         insns in _dl_start to prevent a TOC reference before relocs are
78466         resolved.
78468 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
78470         [BZ #12469]
78471         * Makeconfig: Remove RANLIB definition.
78472         * Makerules: Don't use RANLIB.
78473         * aclocal.m4: Remove ranlib test.
78474         * configure.in: No need to check for ranlib.
78475         * elf/rtld-Rules: Don't use RANLIB.
78477 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78479         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
78480         protection macro.
78481         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
78482         inclusion protection macro.
78484         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
78485         SIGRTMIN and SIGRTMAX and print information in that case only when
78486         SIGRTMIN is defined.
78488 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
78490         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
78491         arginfo fn returning -1.
78493         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
78494         and thousands string is zero terminated.
78496 2011-02-03  Andreas Schwab  <schwab@redhat.com>
78498         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
78499         sysdeps/unix/sysv/linux/bits/socket.h.
78501 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78503         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
78504         (__CPU_COUNT): Remove old macros.
78505         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
78506         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
78507         (__CPU_ALLOC, __CPU_FREE): Add macros.
78508         (__sched_cpualloc, __sched_cpufree): Add declarations.
78510 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
78512         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
78513         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
78514         * nscd/aicache.c (addhstaiX): Return timeout of added value.
78515         (readdhstai): Return value of addhstaiX call.
78516         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
78517         (addgrbyX): Return value returned by cache_addgr.
78518         (readdgrbyname): Return value returned by addgrbyX.
78519         (readdgrbygid): Likewise.
78520         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
78521         (addpwbyX): Return value returned by cache_addpw.
78522         (readdpwbyname): Return value returned by addhstbyX.
78523         (readdpwbyuid): Likewise.
78524         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
78525         (addservbyX): Return value returned by cache_addserv.
78526         (readdservbyname): Return value returned by addservbyX:
78527         (readdservbyport): Likewise.
78528         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
78529         (addhstbyX): Return value returned by cache_addhst.
78530         (readdhstbyname): Return value returned by addhstbyX.
78531         (readdhstbyaddr): Likewise.
78532         (readdhstbynamev6): Likewise.
78533         (readdhstbyaddrv6): Likewise.
78534         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
78535         (readdinitgroups): Return value returned by addinitgroupsX.
78536         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
78537         (prune_cache): Keep track of timeout value of re-added entries.
78538         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
78539         * nscd/nscd.h: Adjust prototypes of readd* functions.
78541 2011-02-04  Roland McGrath  <roland@redhat.com>
78543         * nis/nis_server.c (nis_servstate): Use the right name for 0.
78544         (nis_stats): Likewise.
78545         * nis/nis_modify.c (nis_modify): Likewise.
78546         * nis/nis_remove.c (nis_remove): Likewise.
78547         * nis/nis_add.c (nis_add): Likewise.
78549         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
78551         * posix/fnmatch_loop.c: Add some consts.
78553         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
78555 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
78557         [BZ #12460]
78558         * config.make.in (config-cflags-novzeroupper): Define.
78559         * configure.in: Substitute libc_cv_cc_novzeroupper.
78560         * elf/Makefile (AVX-CFLAGS): Define.
78561         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
78562         (CFLAGS-tst-auditmod4a.c): Likewise.
78563         (CFLAGS-tst-auditmod4b.c): Likewise.
78564         (CFLAGS-tst-auditmod6b.c): Likewise.
78565         (CFLAGS-tst-auditmod6c.c): Likewise.
78566         (CFLAGS-tst-auditmod7b.c): Likewise.
78567         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
78569 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
78571         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
78572         function to the callback.
78573         Patch partly by Jiri Olsa <jolsa@redhat.com>.
78575 2011-02-02  Andreas Schwab  <schwab@redhat.com>
78577         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
78578         of errno.
78580 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
78582         [BZ #11724]
78583         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
78584         of constructors.
78585         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
78586         of destructors.
78587         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
78589         [BZ #11724]
78590         * elf/Makefile: Add rules to build and run new test.
78591         * elf/tst-initorder.c: New file.
78592         * elf/tst-initorder.exp: New file.
78593         * elf/tst-initordera1.c: New file.
78594         * elf/tst-initordera2.c: New file.
78595         * elf/tst-initordera3.c: New file.
78596         * elf/tst-initordera4.c: New file.
78597         * elf/tst-initorderb1.c: New file.
78598         * elf/tst-initorderb2.c: New file.
78599         * elf/tst-order-a1.c: New file.
78600         * elf/tst-order-a2.c: New file.
78601         * elf/tst-order-a3.c: New file.
78602         * elf/tst-order-a4.c: New file.
78603         * elf/tst-order-b1.c: New file.
78604         * elf/tst-order-b2.c: New file.
78605         * elf/tst-order-main.c: New file.
78606         New test case by George Gensure <werkt0@gmail.com>.
78608 2010-10-01  Andreas Schwab  <schwab@redhat.com>
78610         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
78611         decoding ACE if AI_CANONIDN.
78613 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
78615         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
78617 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
78619         * version.h (RELEASE): Bump for 2.13 release.
78620         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
78622         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
78624         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
78625         MADV_NOHUGEPAGE.
78626         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
78627         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
78628         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
78629         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
78630         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
78631         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
78633         * posix/getconf.c: Update copyright year.
78634         * catgets/gencat.c: Likewise.
78635         * csu/version.c: Likewise.
78636         * debug/catchsegv.sh: Likewise.
78637         * debug/xtrace.sh: Likewise.
78638         * elf/ldconfig.c: Likewise.
78639         * elf/ldd.bash.in: Likewise.
78640         * elf/sprof.c (print_version): Likewise.
78641         * iconv/iconv_prog.c: Likewise.
78642         * iconv/iconvconfig.c: Likewise.
78643         * locale/programs/locale.c: Likewise.
78644         * locale/programs/localedef.c: Likewise.
78645         * malloc/memusage.sh: Likewise.
78646         * malloc/mtrace.pl: Likewise.
78647         * nscd/nscd.c (print_version): Likewise.
78648         * nss/getent.c: Likewise.
78650         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
78651         PF_CAIF, and PF_ALG.
78652         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
78654 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
78656         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
78657         (modules-names): Use them.
78658         (ifunc-test-modules, ifunc-pie-tests): Define.
78659         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
78660         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
78661         (test-extras): Likewise.
78662         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
78663         $(compile-command.c).
78664         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
78665         (all-built-dso): Define.
78666         (check-textrel.out, check-execstack.out): Depend on it.
78668         * configure.in: Don't override --enable-multi-arch.
78670 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
78672         [BZ #6812]
78673         * nscd/hstcache.c (tryagain): Define.
78674         (cache_addhst): Return tryagain not notfound for temporary errors.
78675         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
78676         failed.
78678 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
78680         [BZ #10563]
78681         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
78682         to make the syscall.
78683         * sysdeps/unix/sysv/linux/setgroups.c: New file.
78685         [BZ #12378]
78686         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
78687         and fall back to matching as normal character if the string ends before
78688         the matching ']' is found.  This is what POSIX requires.
78689         * posix/testfnm.c: Adjust test result.
78690         * posix/globtest.sh: Adjust test result.  Add new test.
78691         * posix/tst-fnmatch.input: Likewise.
78692         * posix/tst-fnmatch2.c: Add new test.
78694 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
78696         * elf/Makefile (check-execstack): Revert last change.  Depend on
78697         check-execstack.h.
78698         (check-execstack.h): New target.
78699         (generated): Add check-execstack.h.
78700         * elf/check-execstack.c: Include "check-execstack.h".
78701         (main): Revert last change.
78702         (handle_file): Return zero if GNU_STACK is absent and
78703         DEFAULT_STACK_PERMS doesn't include PF_X.
78705 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
78707         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
78708         in child fails because the descriptor is already closed.
78709         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
78710         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
78711         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
78713         [BZ #12397]
78714         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
78715         syscall.
78717         [BZ #10484]
78718         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
78719         temporary buffer used to handle multi lookups locally.
78720         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
78722 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
78724         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
78725         loader is ld.so.
78727 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
78729         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
78730         alignment for SSE2.
78732 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
78734         [BZ #12394]
78735         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
78736         characters.  When rounding increased number of integer digits recompute
78737         number of groups.
78738         * stdio-common/tst-grouping.c: New file.
78739         * stdio-common/Makefile: Add rules to build and run tst-grouping.
78741 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
78743         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
78744         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
78746         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
78747         void.
78748         * bits/select.h: Likewise.
78750 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
78752         * po/ja.po: Update from translation team.
78754 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
78756         [BZ #11155]
78757         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
78758         implementation just like for lxstat, fxstatat, et al.
78760 2010-12-27  Jim Meyering  <meyering@redhat.com>
78762         [BZ #12348]
78763         * posix/regexec.c (build_trtable): Return failure indication upon
78764         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
78766 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
78768         [BZ #12201]
78769         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
78770         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
78771         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
78772         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
78774         [BZ #12207]
78775         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
78777         [BZ #12204]
78778         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
78779         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
78781 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
78783         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
78784         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
78785         script has SORT_BY_INIT_PRIORITY.
78786         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
78787         NO_CTORS_DTORS_SECTIONS is defined.
78788         * elf/soinit.c: Likewise.
78789         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
78790         NO_CTORS_DTORS_SECTIONS is defined.
78791         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
78792         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
78793         * sysdeps/sh/init-first.c: Likewise.
78794         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
78796 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
78798         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
78799         always use the slow path.
78801 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
78803         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
78804         similar rule which adds the sysdep directories to the header search in
78805         order to pick up the correct platform stackinfo.h.
78806         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
78807         perform test if it is, otherwise return successfully without testing.
78808         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
78809         DEFAULT_STACK_PERMS define in stackinfo.h.
78810         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
78811         defined in stackinfo.h.
78812         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
78813         DEFAULT_STACK_PERMS defined in stackinfo.h.
78814         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
78815         * sysdeps/ia64/stackinfo.h: Likewise.
78816         * sysdeps/s390/stackinfo.h: Likewise.
78817         * sysdeps/sh/stackinfo.h: Likewise.
78818         * sysdeps/sparc/stackinfo.h: Likewise.
78819         * sysdeps/x86_64/stackinfo.h: Likewise.
78820         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
78821         PF_X for powerpc64.  Retain PF_X for powerpc32.
78823 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
78825         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
78826         accurately.
78827         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
78828         GETDENTS_64BIT_ALIGNED.
78830 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
78832         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
78834 2010-12-10  Andreas Schwab  <schwab@redhat.com>
78836         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
78837         _GNU_SOURCE.
78839         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
78840         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
78841         Remove __restrict.
78842         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
78843         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
78845 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
78847         [BZ #11655]
78848         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
78849         are initialized.
78851 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
78853         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
78855 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
78857         * po/it.po: Update from translation team.
78859 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
78861         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
78862         unused codes.
78864 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
78866         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
78868 2010-11-24  Andreas Schwab  <schwab@redhat.com>
78870         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
78871         specially.
78872         (gaih_getanswer_slice): Likewise.
78874 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
78876         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
78878 2010-05-31  Petr Baudis  <pasky@suse.cz>
78880         [BZ #11149]
78881         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
78882         silently even in the chroot mode.
78884 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
78886         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
78887         last patch a bit.  Pretty printing
78889 2010-05-31  Petr Baudis <pasky@suse.cz>
78891         [BZ #10085]
78892         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
78893         initialization of skip_initgroups_dyn.
78895 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
78897         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
78898         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
78900 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
78902         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
78904 2010-11-11  Andreas Schwab  <schwab@redhat.com>
78906         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
78907         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
78908         (tst-fnmatch-ENV): Set MALLOC_TRACE.
78909         ($(objpfx)tst-fnmatch-mem): New rule.
78910         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
78911         * posix/tst-fnmatch.c (main): Call mtrace.
78913 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
78915         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
78916         Support Intel processor model 6 and model 0x2c.
78918 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
78920         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
78921           signed comparison.
78923 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
78925         [BZ #12205]
78926         * string/test-strncasecmp.c (check_result): New function.
78927         (do_one_test): Use it.
78928         (check1): New function.
78929         (test_main): Use it.
78930         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
78931         Support strcasecmp and strncasecmp.
78933 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
78935         [BZ #12194]
78936         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
78937         * sysdeps/x86_64/bits/byteswap.h: Likewise.
78939 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
78941         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
78942         IFUNC support.
78943         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
78944         memset-x86-64.
78945         * sysdeps/x86_64/multiarch/bzero.S: New file.
78946         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
78947         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
78948         * sysdeps/x86_64/multiarch/memset.S: New file.
78949         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
78950         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
78951         Set bit_Prefer_SSE_for_memop for Intel processors.
78952         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
78953         Define.
78954         (index_Prefer_SSE_for_memop): Define.
78955         (HAS_PREFER_SSE_FOR_MEMOP): Define.
78957 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
78959         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
78960         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
78962 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
78964         [BZ #12191]
78965         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
78966         (__x86_64_raw_data_cache_size_half): Likewise.
78967         (__x86_64_raw_shared_cache_size): Likewise.
78968         (__x86_64_raw_shared_cache_size_half): Likewise.
78970         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
78971         (__x86_64_raw_data_cache_size_half): Likewise.
78972         (__x86_64_raw_shared_cache_size): Likewise.
78973         (__x86_64_raw_shared_cache_size_half): Likewise.
78974         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
78975         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
78976         and __x86_64_raw_shared_cache_size_half.  Round
78977         __x86_64_data_cache_size_half, __x86_64_data_cache_size
78978         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
78979         to multiple of 256 bytes.
78981 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
78983         [BZ #12167]
78984         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
78985         of inacessible symlinks.  Verify result of symlink before returning it.
78986         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
78987         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
78989 2010-10-28  Erich Ritz  <erichritz@gmail.com>
78991         * math/math.h (isinf): Fix typo in comment.
78993 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
78995         * po/da.po: Update from translation team.
78997 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
78999         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
79000         is added to the list.
79002 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
79003             Ulrich Drepper  <drepper@gmail.com>
79005         * elf/dl-object.c (_dl_new_object): Don't append the new object to
79006         the global list here.  Move code to...
79007         (_dl_add_to_namespace_list): ...here.  New function.
79008         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
79009         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
79010         * elf/dl-load.c (lose): Don't remove the element from the list.
79011         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
79012         (_dl_map_object): Likewise.
79014 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
79016         [BZ #12159]
79017         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
79018         into all bytes of SSE register.
79019         Patch by Richard Li <richardpku@gmail.com>.
79021 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
79023         [BZ #12140]
79024         * malloc/malloc.c (_int_free): Fill correct number of bytes when
79025         perturbing.
79027 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
79029         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
79030         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
79031         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
79032         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
79033         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
79034         submachine.
79035         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
79037 2010-10-22  Andreas Schwab  <schwab@redhat.com>
79039         * include/dlfcn.h (__RTLD_SECURE): Define.
79040         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
79041         mode & __RTLD_SECURE instead.
79042         (open_path): Rename preloaded parameter to secure.
79043         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
79044         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
79045         * elf/dl-deps.c (openaux): Likewise.
79046         * elf/rtld.c (struct map_args): Remove is_preloaded.
79047         (map_doit): Don't use it.
79048         (dl_main): Likewise.
79049         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
79050         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
79052 2010-09-09  Andreas Schwab  <schwab@redhat.com>
79054         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
79055         (sysd-rules-targets): Remove duplicates.
79056         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
79057         rtld-%.$o dependency.
79059 2010-10-18  Andreas Schwab  <schwab@redhat.com>
79061         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
79062         _dl_map_object do it.
79064 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
79066         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
79067         fast fma builtins, define the macros in the C99 standard.
79068         (FP_FAST_FMAF): Likewise.
79069         (FP_FAST_FMAL): Likewise.
79070         * sysdeps/x86_64/bits/mathdef.h: Likewise.
79072         * bits/mathdef.h: Update copyright year.
79073         * sysdeps/powerpc/bits/mathdef.h: Likewise.
79075 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
79077         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
79078         builtins, define the macros in the C99 standard.
79079         (FP_FAST_FMAF): Likewise.
79080         (FP_FAST_FMAL): Likewise.
79081         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
79082         multiply/add.
79083         (FP_FAST_FMAF): Likewise.
79085 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
79087         [BZ #3268]
79088         * math/libm-test.inc (fma_test): Some new testcases.
79089         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
79090         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
79091         y and infinite z.  Do multiplication by C already in long double.
79092         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
79093         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
79094         y and infinite z.  Do bitwise or of inexact bit into u.d.
79095         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
79096         * sysdeps/i386/fpu/s_fmaf.S: Removed.
79097         * sysdeps/i386/fpu/s_fma.S: Removed.
79098         * sysdeps/i386/fpu/s_fmal.S: Removed.
79100 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
79102         [BZ #3268]
79103         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
79104         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
79105         computation is not scheduled after fetestexcept.  Fix value
79106         of minimum denormal long double.
79108 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
79110         [BZ #3268]
79111         * math/libm-test.inc (fma_test): Add some more tests.
79112         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
79113         correctly.
79115 2010-10-15  Andreas Schwab  <schwab@redhat.com>
79117         * scripts/data/localplt-s390-linux-gnu.data: New file.
79118         * scripts/data/localplt-s390x-linux-gnu.data: New file.
79120 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
79122         [BZ #3268]
79123         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
79124         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
79125         instead of dbl-64.
79126         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
79127         inlines.
79128         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
79129         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
79130         if one of x and y is very large and the other is subnormal.
79131         * sysdeps/s390/fpu/s_fmaf.c: New file.
79132         * sysdeps/s390/fpu/s_fma.c: New file.
79133         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
79134         * sysdeps/powerpc/fpu/s_fma.S: New file.
79135         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
79136         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
79137         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
79139 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
79141         [BZ #3268]
79142         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
79143         fma tests.
79144         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
79145         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
79146         * sysdeps/i386/i686/multiarch/s_fma.c: Include
79147         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
79148         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
79149         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
79150         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
79152 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
79154         [BZ #12078]
79155         * posix/regcomp.c (parse_branch): One more memory leak plugged.
79156         * posix/bug-regex31.input: Add test case.
79158 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
79160         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
79161         * posix/bug-regex31.input: New file.
79163         [BZ #12078]
79164         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
79165         (parse_sub_exp): Fix last change, use postorder.
79167         * posix/bug-regex31.c: New file.
79168         * posix/Makefile: Add rules to build and run bug-regex31.
79170         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
79172         [BZ #12078]
79173         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
79175         [BZ #12108]
79176         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
79177         to have entries in sys_siglist.
79179         [BZ #12093]
79180         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
79181         be NULL.
79183 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
79185         [BZ #3268]
79186         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
79187         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
79188         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
79189         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
79190         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
79191         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
79192         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
79193         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
79194         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
79195         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
79196         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
79197         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
79198         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
79199         * math/ftestexcept.c (fetestexcept): Likewise.
79200         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
79201         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
79202         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
79203         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
79204         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
79205         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
79206         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
79208 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
79210         [BZ #12107]
79211         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
79212         newline.
79214 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
79216         * string/bug-strstr1.c: New file.
79217         * string/Makefile: Add rules to build and run bug-strstr1.
79219 2010-10-05  Eric Blake  <eblake@redhat.com>
79221         [BZ #12092]
79222         * string/str-two-way.h (two_way_long_needle): Always clear memory
79223         when skipping input due to the shift table.
79225 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
79227         [BZ #12005]
79228         * malloc/mcheck.c: Handle large requests.
79230         [BZ #12077]
79231         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
79232         for strncmp and strncasecmp.
79233         * string/stratcliff.c: Add tests for strcmp and strncmp.
79234         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
79236 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
79238         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
79239         __set_fpscr.
79241 2010-09-30  Andreas Jaeger  <aj@suse.de>
79243         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
79244         (CGROUP_SUPER_MAGIC): Define.
79245         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
79246         Handle btrfs and cgroup file systems.
79247         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
79248         Likewise.
79250 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
79252         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
79253         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
79255 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
79257         [BZ #12067]
79258         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
79259         trying to locate the ELF header.
79261 2010-09-27  Andreas Schwab  <schwab@redhat.com>
79263         [BZ #11611]
79264         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
79265         Mask out sign-bit copies when constructing f_fsid.
79267 2010-09-24  Petr Baudis <pasky@suse.cz>
79269         * debug/stack_chk_fail_local.c: Add missing licence exception.
79270         * debug/warning-nop.c: Likewise.
79272 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
79274         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
79275         implementing getdents64 using getdents syscall, set d_type if
79276         __ASSUME_GETDENTS32_D_TYPE.
79278 2010-09-16  Andreas Schwab  <schwab@redhat.com>
79280         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
79281         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
79283 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
79285         [BZ #12037]
79286         * posix/unistd.h: Undo change of feature selection for ftruncate from
79287         2010-01-11.
79289 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
79291         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
79292         detection.
79294 2010-09-20  Andreas Schwab  <schwab@redhat.com>
79296         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
79297         fanotify_mark.
79298         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
79300 2010-09-14  Andreas Schwab  <schwab@redhat.com>
79302         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
79303         variables after CHECK_SP call.
79304         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
79306 2010-09-13  Andreas Schwab  <schwab@redhat.com>
79307             Ulrich Drepper  <drepper@redhat.com>
79309         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
79310         re-relocationg ld.so.
79311         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
79312         _dl_init_paths call.
79313         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
79314         here anymore.
79316 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
79318         * resolv/res_init.c (__res_vinit): Count the default server we added.
79320 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
79321             Ulrich Drepper  <drepper@redhat.com>
79323         [BZ #11968]
79324         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
79325         (____longjmp_chk): Use %ebx for saving value across system call.
79326         Add unwind info.
79328 2010-09-06  Andreas Schwab  <schwab@redhat.com>
79330         * manual/Makefile: Don't mix pattern rules with normal rules.
79332 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
79334         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
79335         operation.
79336         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
79337         * libio/iofopncook.c (_IO_cookie_init): Likewise.
79338         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
79339         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
79340         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
79341         Likewise.
79343 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
79345         [BZ #11979]
79346         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
79347         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
79349 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
79351         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
79352         * sysdeps/x86_64/addmul_1.S: Likewise.
79353         * sysdeps/x86_64/lshift.S: Likewise.
79354         * sysdeps/x86_64/mul_1.S: Likewise.
79355         * sysdeps/x86_64/rshift.S: Likewise.
79356         * sysdeps/x86_64/sub_n.S: Likewise.
79357         * sysdeps/x86_64/submul_1.S: Likewise.
79359 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79361         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
79362         Define __sched_param instead of SCHED_* and sched_param when
79363         <bits/sched.h> is included with __need_schedparam defined.
79364         * bits/sched.h [__need_schedparam]
79365         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
79366         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
79367         (__defined_schedparam): Define to 1.
79368         (__sched_param): New structure, identical to sched_param.
79369         (__need_schedparam): Undefine.
79371 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
79373         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
79374         (epoll_create1): Declare.
79376         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
79378 2010-08-31  Andreas Schwab  <schwab@redhat.com>
79380         [BZ #7066]
79381         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
79382         shifting retval into place.
79384 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
79386         * nis/rpcsvc/nis.h: Update copyright notice.
79387         * nis/rpcsvc/nis.x: Likewise.
79388         * nis/rpcsvc/nis_callback.h: Likewise.
79389         * nis/rpcsvc/nis_callback.x: Likewise.
79390         * nis/rpcsvc/nis_object.x: Likewise.
79391         * nis/rpcsvc/nis_tags.h: Likewise.
79392         * nis/rpcsvc/yp.h: Likewise.
79393         * nis/rpcsvc/yp.x: Likewise.
79394         * nis/rpcsvc/ypupd.h: Likewise.
79395         * nis/yp_xdr.c: Likewise.
79396         * nis/ypupdate_xdr.c: Likewise.
79398         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
79399         mainly the body of pmap_getport.  Add parameters to specify timeouts.
79400         (pmap_getport): Use __libc_rpc_getport.
79401         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
79402         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
79403         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
79405 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
79407         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
79408         fanotify_mark.
79410 2010-08-27  Roland McGrath  <roland@redhat.com>
79412         * sysdeps/i386/i686/multiarch/Makefile
79413         (CFLAGS-varshift.c): New variable.
79415 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
79417         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
79418         * sysdeps/i386/i686/multiarch/varshift.c: New file.
79420         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
79422         * sysdeps/x86_64/strlen.S: Minimal code improvement.
79424 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
79426         * sysdeps/x86_64/strlen.S: Unroll the loop.
79427         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
79428         strlen-sse2 strlen-sse2-bsf.
79429         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
79430         __strlen_no_bsf if bit_Slow_BSF is set.
79431         (__strlen_sse42): Removed.
79432         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
79433         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
79435 2010-08-25  Roland McGrath  <roland@redhat.com>
79437         * sysdeps/x86_64/multiarch/varshift.S: File removed.
79438         * sysdeps/x86_64/multiarch/varshift.c: New file.
79439         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
79440         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
79441         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
79442         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
79444 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
79446         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
79447         strlen-sse2 strlen-sse2-bsf.
79448         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
79449         __strlen_sse2_bsf if bit_Slow_BSF is unset.
79450         (__strlen_sse2): Removed.
79451         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
79452         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
79453         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
79454         bit_Slow_BSF for Atom.
79455         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
79456         (index_Slow_BSF): Define.
79457         (HAS_SLOW_BSF): Define.
79459 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
79461         [BZ #10851]
79462         * resolv/res_init.c (__res_vinit): When no server address at all
79463         is given default to loopback.
79465 2010-08-24  Roland McGrath  <roland@redhat.com>
79467         * configure.in: Remove config-name.h generation.
79468         * configure: Regenerated.
79469         * config-name.in: File removed.
79470         * scripts/config-uname.sh: New file.
79471         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
79472         ($(objdir)config-name.h): New target.
79474         * sunrpc/rpc_parse.h: Avoid nested comment.
79476 2010-08-24  Richard Henderson  <rth@redhat.com>
79477             Ulrich Drepper  <drepper@redhat.com>
79478             H.J. Lu  <hongjiu.lu@intel.com>
79480         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
79481         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
79482         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
79483         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
79484         _mm_alignr_epi8 with _mm_loadu_si128.
79485         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
79486         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
79487         (__m128i_shift_right): Removed.
79488         * sysdeps/i386/i686/multiarch/varshift.h: New file.
79489         * sysdeps/i386/i686/multiarch/varshift.S: New file.
79490         * sysdeps/x86_64/multiarch/varshift.h: New file.
79491         * sysdeps/x86_64/multiarch/varshift.S: New file.
79493 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
79495         * configure.in: Move assembler checks to before sysdep dir checking.
79497 2010-08-20  Petr Baudis  <pasky@suse.cz>
79499         * LICENSES: Sync the sunrpc license.
79501 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
79503         * sunrpc/auth_des.c: Update copyright notice once again.
79504         * sunrpc/auth_none.c: Likewise.
79505         * sunrpc/auth_unix.c: Likewise.
79506         * sunrpc/authdes_prot.c: Likewise.
79507         * sunrpc/authuxprot.c: Likewise.
79508         * sunrpc/bindrsvprt.c: Likewise.
79509         * sunrpc/clnt_gen.c: Likewise.
79510         * sunrpc/clnt_perr.c: Likewise.
79511         * sunrpc/clnt_raw.c: Likewise.
79512         * sunrpc/clnt_simp.c: Likewise.
79513         * sunrpc/clnt_tcp.c: Likewise.
79514         * sunrpc/clnt_udp.c: Likewise.
79515         * sunrpc/clnt_unix.c: Likewise.
79516         * sunrpc/des_crypt.c: Likewise.
79517         * sunrpc/des_soft.c: Likewise.
79518         * sunrpc/get_myaddr.c: Likewise.
79519         * sunrpc/getrpcport.c: Likewise.
79520         * sunrpc/key_call.c: Likewise.
79521         * sunrpc/key_prot.c: Likewise.
79522         * sunrpc/openchild.c: Likewise.
79523         * sunrpc/pm_getmaps.c: Likewise.
79524         * sunrpc/pm_getport.c: Likewise.
79525         * sunrpc/pmap_clnt.c: Likewise.
79526         * sunrpc/pmap_prot.c: Likewise.
79527         * sunrpc/pmap_prot2.c: Likewise.
79528         * sunrpc/pmap_rmt.c: Likewise.
79529         * sunrpc/rpc/auth.h: Likewise.
79530         * sunrpc/rpc/auth_unix.h: Likewise.
79531         * sunrpc/rpc/clnt.h: Likewise.
79532         * sunrpc/rpc/des_crypt.h: Likewise.
79533         * sunrpc/rpc/key_prot.h: Likewise.
79534         * sunrpc/rpc/netdb.h: Likewise.
79535         * sunrpc/rpc/pmap_clnt.h: Likewise.
79536         * sunrpc/rpc/pmap_prot.h: Likewise.
79537         * sunrpc/rpc/pmap_rmt.h: Likewise.
79538         * sunrpc/rpc/rpc.h: Likewise.
79539         * sunrpc/rpc/rpc_des.h: Likewise.
79540         * sunrpc/rpc/rpc_msg.h: Likewise.
79541         * sunrpc/rpc/svc.h: Likewise.
79542         * sunrpc/rpc/svc_auth.h: Likewise.
79543         * sunrpc/rpc/types.h: Likewise.
79544         * sunrpc/rpc/xdr.h: Likewise.
79545         * sunrpc/rpc_clntout.c: Likewise.
79546         * sunrpc/rpc_cmsg.c: Likewise.
79547         * sunrpc/rpc_common.c: Likewise.
79548         * sunrpc/rpc_cout.c: Likewise.
79549         * sunrpc/rpc_dtable.c: Likewise.
79550         * sunrpc/rpc_hout.c: Likewise.
79551         * sunrpc/rpc_main.c: Likewise.
79552         * sunrpc/rpc_parse.c: Likewise.
79553         * sunrpc/rpc_parse.h: Likewise.
79554         * sunrpc/rpc_prot.c: Likewise.
79555         * sunrpc/rpc_sample.c: Likewise.
79556         * sunrpc/rpc_scan.c: Likewise.
79557         * sunrpc/rpc_scan.h: Likewise.
79558         * sunrpc/rpc_svcout.c: Likewise.
79559         * sunrpc/rpc_tblout.c: Likewise.
79560         * sunrpc/rpc_util.c: Likewise.
79561         * sunrpc/rpc_util.h: Likewise.
79562         * sunrpc/rpcinfo.c: Likewise.
79563         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
79564         * sunrpc/rpcsvc/key_prot.x: Likewise.
79565         * sunrpc/rpcsvc/klm_prot.x: Likewise.
79566         * sunrpc/rpcsvc/mount.x: Likewise.
79567         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
79568         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
79569         * sunrpc/rpcsvc/rex.x: Likewise.
79570         * sunrpc/rpcsvc/rstat.x: Likewise.
79571         * sunrpc/rpcsvc/rusers.x: Likewise.
79572         * sunrpc/rpcsvc/sm_inter.x: Likewise.
79573         * sunrpc/rpcsvc/spray.x: Likewise.
79574         * sunrpc/rpcsvc/yppasswd.x: Likewise.
79575         * sunrpc/rtime.c: Likewise.
79576         * sunrpc/svc.c: Likewise.
79577         * sunrpc/svc_auth.c: Likewise.
79578         * sunrpc/svc_authux.c: Likewise.
79579         * sunrpc/svc_raw.c: Likewise.
79580         * sunrpc/svc_run.c: Likewise.
79581         * sunrpc/svc_simple.c: Likewise.
79582         * sunrpc/svc_tcp.c: Likewise.
79583         * sunrpc/svc_udp.c: Likewise.
79584         * sunrpc/svc_unix.c: Likewise.
79585         * sunrpc/svcauth_des.c: Likewise.
79586         * sunrpc/xcrypt.c: Likewise.
79587         * sunrpc/xdr.c: Likewise.
79588         * sunrpc/xdr_array.c: Likewise.
79589         * sunrpc/xdr_float.c: Likewise.
79590         * sunrpc/xdr_mem.c: Likewise.
79591         * sunrpc/xdr_rec.c: Likewise.
79592         * sunrpc/xdr_ref.c: Likewise.
79593         * sunrpc/xdr_sizeof.c: Likewise.
79594         * sunrpc/xdr_stdio.c: Likewise.
79596         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
79597         handling.
79599 2010-08-19  Andreas Schwab  <schwab@redhat.com>
79601         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
79603 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
79605         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
79606         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
79607         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
79608         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
79609         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
79610         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
79611         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
79612         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
79613         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
79614         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
79615         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
79616         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
79617         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
79618         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
79620 2010-07-26  Anton Blanchard  <anton@samba.org>
79622         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
79623         * malloc/arena.c (heap_trim): Likewise.
79625 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
79627         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
79628         here.  Not...
79629         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
79630         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
79632 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
79634         * sysdeps/i386/elf/Makefile: New file.
79636 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
79638         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
79639         from fanotify_init.
79640         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
79641         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
79643 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
79645         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
79646         of strncasecmp_l.
79647         * sysdeps/multiarch/strcmp.S: Likewise.
79649 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
79651         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
79652         strncase_l-nonascii.
79653         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
79654         Add strncase_l-ssse3.
79655         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
79656         * sysdeps/x86_64/strcmp.S: Likewise.
79657         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
79658         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
79659         * sysdeps/x86_64/strncase.S: New file.
79660         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
79661         * sysdeps/x86_64/strncase_l.S: New file.
79662         * string/Makefile (strop-tests): Add strncasecmp.
79663         * string/test-strncasecmp.c: New file.
79665         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
79666         warning.
79668         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
79669         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
79671 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
79673         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
79675 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
79677         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
79678         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
79679         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
79681 2010-05-01  Alan Modra  <amodra@gmail.com>
79683         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
79684         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
79685         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
79686         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
79687         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
79688         tidying.  Don't tail-call __sigjmp_save for static lib.
79689         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
79690         save location.
79691         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
79692         (CALL_MCOUNT): Add eh info, and nop after bl.
79693         (TAIL_CALL_SYSCALL_ERROR): New macro.
79694         (PSEUDO_RET): Use it.
79695         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
79696         Correct save location of integer regs and cr.
79697         (_dl_profile_resolve): Correct cr save location.  Delete nops
79698         after bl when SHARED.  Reduce cfi size a little by better
79699         placement of cfi directives.
79700         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
79701         make a stack frame.  Instead use parm save area as a temp.
79702         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
79703         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
79704         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
79705         Don't make a stack frame for parent, use parm save area.
79706         Increase child stack frame to 112 bytes.  Don't save unused reg,
79707         and adjust reg usage.  Set up cfi on error recovery and
79708         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
79709         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
79710         (__makecontext): Add dummy nop after jump to exit.
79711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
79712         Use correct parm save area and cr save, reduce stack frame.
79713         Correct cfi for possible PSEUDO_RET frame setup.
79714         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
79715         Branch to local label emitted by PSEUDO_RET rather than
79716         __syscall_error.
79718 2010-08-12  Andreas Schwab  <schwab@redhat.com>
79720         [BZ #11904]
79721         * locale/programs/locale.c (print_assignment): New function.
79722         (show_locale_vars): Use it.
79724 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
79726         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
79727         field.
79728         (struct statfs64): Likewise.
79729         (_STATFS_F_FLAGS): Define.
79730         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
79731         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
79732         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
79733         (ST_VALID): Define locally.
79734         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
79735         __statvfs_getflags, use the provided value.
79736         * sysdeps/unix/sysv/linux/kernel-features.h: Define
79737         __ASSUME_STATFS_F_FLAGS.
79739         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
79741         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
79742         Add sys/fanotify.h.
79743         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
79744         fanotify_mask for GLIBC_2.13.
79745         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
79746         fanotify_init and fanotify_mark.
79747         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
79748         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
79750         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
79751         Add prlimit.
79752         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
79753         prlimit64 for GLIBC_2.13.
79754         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
79755         prlimit64.
79756         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
79757         syscall.
79758         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
79759         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
79760         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
79761         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
79762         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
79763         add prlimit alias.
79764         * sysdeps/unix/sysv/linux/prlimit.c: New file.
79766         [BZ #11903]
79767         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
79768         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
79770         * nss/Makefile: Add rules to build and run tst-nss-test1.
79771         * shlib-versions: Add entry for libnss_test1.
79772         * nss/nss_test1.c: New file.
79773         * nss/tst-nss-test1.c: New file.
79775         * nss/nsswitch.c (__nss_database_custom): Define new variable.
79776         (__nss_configure_lookup): Set appropriate entry in
79777         __nss_configure_lookup to true.
79778         * nss/nsswitch.h: Define enum with indeces of databases in
79779         databases and __nss_database_custom arrays.  Declare
79780         __nss_database_custom.
79781         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
79782         to avoid using nscd when custom rules are installed.
79783         * nss/getXXbyYY_r.c: Likewise.
79784         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
79786         * nss/nss_files/files-parse.c: Whitespace fixes.
79788 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
79790         [BZ #11883]
79791         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
79792         * posix/fnmatch_loop.c: Likewise.
79794 2010-07-17  Andi Kleen  <ak@linux.intel.com>
79796         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
79797         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
79798         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
79799         * Versions.def [GLIBC_2.13]: Add.
79801 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
79803         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
79804         Also fail if tpwd after pwuid call is NULL.
79806 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79808         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
79809         when converting to ms.
79811 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79813         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
79814         EOPNOTSUPP errors with ENOTTY.
79815         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
79816         EOPNOTSUPP errors with ENOTTY.
79818 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
79820         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
79821         Add strcasecmp_l-ssse3.
79822         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
79823         strcasecmp.
79824         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
79825         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
79826         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
79828 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
79830         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
79832         * string/Makefile (strop-tests): Add strcasecmp.
79833         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
79834         strcasecmp_l-nonascii.
79835         (gen-as-const-headers): Add locale-defines.sym.
79836         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
79837         * sysdeps/x86_64/strcasecmp.S: New file.
79838         * sysdeps/x86_64/strcasecmp_l.S: New file.
79839         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
79840         * sysdeps/x86_64/locale-defines.sym: New file.
79841         * string/test-strcasecmp.c: New file.
79843         * string/test-strcasestr.c: Test both ends of the range of characters.
79844         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
79846 2010-07-29  Roland McGrath  <roland@redhat.com>
79848         [BZ #11856]
79849         * manual/locale.texi (Yes-or-No Questions): Fix example code.
79851 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
79853         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
79854         for ld.so.
79856 2010-07-27  Andreas Schwab  <schwab@redhat.com>
79858         * manual/memory.texi (Malloc Tunable Parameters): Document
79859         M_PERTURB.
79861 2010-07-26  Roland McGrath  <roland@redhat.com>
79863         [BZ #11840]
79864         * configure.in (-fgnu89-inline check): Set and substitute
79865         gnu89_inline, not libc_cv_gnu89_inline.
79866         * configure: Regenerated.
79867         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
79869 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
79871         * string/test-strnlen.c: New file.
79872         * string/Makefile (strop-tests): Add strnlen.
79873         * string/tester.c (test_strnlen): Add a few more test cases.
79874         * string/tst-strlen.c: Better error reporting.
79876         * sysdeps/x86_64/strnlen.S: New file.
79878 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
79880         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
79881         lower-latency instructions.
79883 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
79885         * string/test-strcasestr.c: New file.
79886         * string/test-strstr.c: New file.
79887         * string/Makefile (strop-tests): Add strstr and strcasestr.
79888         * string/str-two-way.h: Don't undefine MAX.
79889         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
79891 2010-07-21  Andreas Schwab  <schwab@redhat.com>
79893         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
79894         strcasestr-nonascii.
79895         (CFLAGS-strcasestr-nonascii.c): Define.
79896         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
79897         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
79898         Remove unused attribute.
79900 2010-07-20  Roland McGrath  <roland@redhat.com>
79902         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
79903         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
79904         ld.so.cache was broken.  With it, there is no way to disable dsocaps
79905         like LD_HWCAP_MASK can disable hwcaps.
79907 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
79909         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
79911 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
79913         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
79914         call in strcasestr.
79915         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
79916         __strcasestr_sse42_nonascii.
79917         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
79918         strcasestr-nonascii.c.
79919         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
79921 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
79923         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
79924         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
79925         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
79926         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
79928 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
79930         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
79931         fcntl.
79933 2010-07-06  Andreas Schwab  <schwab@redhat.com>
79935         [BZ #11577]
79936         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
79937         dl_signal_cerror.
79939 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
79941         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
79942         _PC_PIPE_BUF using F_GETPIPE_SZ.
79944 2010-07-05  Roland McGrath  <roland@redhat.com>
79946         * manual/arith.texi (Rounding Functions): Fix rint description
79947         implicit in round description.
79949 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
79951         * elf/Makefile: Fix linking for a few tests to make recent linker
79952         happy.
79954 2010-06-30  Andreas Schwab  <schwab@redhat.com>
79956         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
79957         $(common-objpfx)libc_nonshared.a.
79959 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
79961         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
79962         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
79963         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
79964         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
79965         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
79966         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
79967         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
79968         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
79969         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
79970         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
79971         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
79972         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
79973         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
79974         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
79975         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
79976         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
79977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
79978         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
79979         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
79980         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
79981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
79982         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
79983         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
79984         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
79985         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
79986         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
79987         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
79988         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
79989         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
79990         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
79991         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
79992         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
79993         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
79994         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
79995         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
79996         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
79997         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
79998         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
79999         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
80000         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
80001         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
80002         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
80003         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
80004         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
80005         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
80006         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
80007         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
80008         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
80010 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
80012         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
80013         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
80014         * string/memmove.c (memmove): Renamed to ...
80015         (MEMMOVE): ...this.  Default to memmove.
80016         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
80017         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
80018         (END_CHK): Define.
80019         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
80020         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
80021         mempcpy-ssse3-back memmove-ssse3-back.
80022         * sysdeps/x86_64/multiarch/bcopy.S: New file .
80023         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
80024         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
80025         * sysdeps/x86_64/multiarch/memcpy.S: New file.
80026         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
80027         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
80028         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
80029         * sysdeps/x86_64/multiarch/memmove.c: New file.
80030         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
80031         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
80032         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
80033         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
80034         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
80035         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
80036         Define.
80037         (index_Fast_Copy_Backward): Define.
80038         (HAS_ARCH_FEATURE): Define.
80039         (HAS_FAST_REP_STRING): Define.
80040         (HAS_FAST_COPY_BACKWARD): Define.
80042 2010-06-21  Andreas Schwab  <schwab@redhat.com>
80044         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
80045         Restore proper fallback handling.
80047 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
80049         [BZ #11701]
80050         * posix/group_member.c (__group_member): Correct checking loop.
80052         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
80053         OOM in getpwuid_r correctly.  Return error number when the caller
80054         should return, otherwise -1.
80055         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
80056         call returning > 0 value.
80057         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
80059 2010-06-07  Andreas Schwab  <schwab@redhat.com>
80061         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
80062         libc_nonshared.a from targets in modules-names.
80064 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
80066         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
80067         requires it.
80069 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
80071         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
80072         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
80073         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
80074         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
80076 2010-06-02  Andreas Schwab  <schwab@redhat.com>
80078         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
80080 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
80082         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
80083         and F_GETPIPE_SZ.
80084         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
80085         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
80086         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
80087         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
80088         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
80089         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
80091 2010-06-14  Roland McGrath  <roland@redhat.com>
80093         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
80095 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
80097         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
80098         __REDIRECT followed by __THROW.
80099         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
80100         * posix/getopt.h (getopt): Likewise.
80102 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
80104         * hurd/lookup-at.c (__file_name_lookup_at): Accept
80105         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
80106         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
80107         in AT_FLAGS.
80108         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
80109         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
80111 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
80113         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
80115 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
80117         [BZ #11640]
80118         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
80119         Properly check family and model.
80121 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
80123         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
80125 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
80127         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
80129 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
80131         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
80132         symbol reference.
80134 2010-05-19  Andreas Schwab  <schwab@redhat.com>
80136         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
80137         symbol reference.
80139 2010-05-21  Andreas Schwab  <schwab@redhat.com>
80141         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
80142         and internal_recvmmsg.
80143         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
80144         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
80145         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
80146         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
80148         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
80149         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
80150         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
80152 2010-05-20  Andreas Schwab  <schwab@redhat.com>
80154         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
80156 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
80158         POWER7 optimizations.
80159         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
80160         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
80162 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
80164         * version.h: Update for 2.13 development version.
80166 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
80168         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
80169         exceptions.  Return 0.
80171 2010-05-07  Roland McGrath  <roland@redhat.com>
80173         * elf/ldconfig.c (main): Add a const.
80175 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
80177         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
80178         (args_options): Add no-idn option.
80179         (ahosts_keys_int): Add idn_flags to ai_flags.
80180         (parse_option): Handle 'i' option to clear idn_flags.
80182         * malloc/malloc.c (_int_free): Possible race in the most recently
80183         added check.  Only act on the data if no current modification
80184         happened.
80186 See ChangeLog.17 for earlier changes.